Applied rubocop.
This commit is contained in:
parent
db01723eed
commit
63c187dd41
2 changed files with 9 additions and 7 deletions
6
Gemfile
6
Gemfile
|
@ -78,10 +78,10 @@ group :development, :test do
|
||||||
gem 'selenium-webdriver'
|
gem 'selenium-webdriver'
|
||||||
|
|
||||||
# livereload on template changes (html, js, css)
|
# livereload on template changes (html, js, css)
|
||||||
gem 'guard', '>= 2.2.2', :require => false
|
gem 'guard', '>= 2.2.2', require: false
|
||||||
gem 'guard-livereload', :require => false
|
gem 'guard-livereload', require: false
|
||||||
gem 'rack-livereload'
|
gem 'rack-livereload'
|
||||||
gem 'rb-fsevent', :require => false
|
gem 'rb-fsevent', require: false
|
||||||
|
|
||||||
# code QA
|
# code QA
|
||||||
gem 'rubocop'
|
gem 'rubocop'
|
||||||
|
|
|
@ -32,10 +32,12 @@ Rails.application.configure do
|
||||||
config.assets.debug = false
|
config.assets.debug = false
|
||||||
|
|
||||||
# Automatically inject JavaScript needed for LiveReload
|
# Automatically inject JavaScript needed for LiveReload
|
||||||
config.middleware.insert_after(ActionDispatch::Static, Rack::LiveReload,
|
config.middleware.insert_after(
|
||||||
:min_delay => 500, # default 1000
|
ActionDispatch::Static,
|
||||||
:max_delay => 10_000, # default 60_000
|
Rack::LiveReload,
|
||||||
:live_reload_port => 35738
|
min_delay: 500, # default 1000
|
||||||
|
max_delay: 10_000, # default 60_000
|
||||||
|
live_reload_port: 35_738
|
||||||
)
|
)
|
||||||
|
|
||||||
# Asset digests allow you to set far-future HTTP expiration dates on all assets,
|
# Asset digests allow you to set far-future HTTP expiration dates on all assets,
|
||||||
|
|
Loading…
Reference in a new issue