From 63c187dd41423806dbdc9ca892eacf5f499f6bad Mon Sep 17 00:00:00 2001 From: Martin Edenhofer Date: Tue, 29 Sep 2015 15:00:30 +0200 Subject: [PATCH] Applied rubocop. --- Gemfile | 6 +++--- config/environments/development.rb | 10 ++++++---- 2 files changed, 9 insertions(+), 7 deletions(-) diff --git a/Gemfile b/Gemfile index ed0d2ebb3..999424f09 100644 --- a/Gemfile +++ b/Gemfile @@ -78,10 +78,10 @@ group :development, :test do gem 'selenium-webdriver' # livereload on template changes (html, js, css) - gem 'guard', '>= 2.2.2', :require => false - gem 'guard-livereload', :require => false + gem 'guard', '>= 2.2.2', require: false + gem 'guard-livereload', require: false gem 'rack-livereload' - gem 'rb-fsevent', :require => false + gem 'rb-fsevent', require: false # code QA gem 'rubocop' diff --git a/config/environments/development.rb b/config/environments/development.rb index 4290f5269..6f018e1c5 100644 --- a/config/environments/development.rb +++ b/config/environments/development.rb @@ -32,10 +32,12 @@ Rails.application.configure do config.assets.debug = false # Automatically inject JavaScript needed for LiveReload - config.middleware.insert_after(ActionDispatch::Static, Rack::LiveReload, - :min_delay => 500, # default 1000 - :max_delay => 10_000, # default 60_000 - :live_reload_port => 35738 + config.middleware.insert_after( + ActionDispatch::Static, + Rack::LiveReload, + 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,