Update rubocop to version 0.37.0
This commit is contained in:
parent
dae70895c5
commit
4566dc2e70
|
@ -168,11 +168,12 @@ GEM
|
|||
http-cookie (>= 1.0.2, < 2.0)
|
||||
mime-types (>= 1.16, < 3.0)
|
||||
netrc (~> 0.7)
|
||||
rubocop (0.36.0)
|
||||
parser (>= 2.3.0.0, < 3.0)
|
||||
rubocop (0.37.0)
|
||||
parser (>= 2.3.0.2, < 3.0)
|
||||
powerpack (~> 0.1)
|
||||
rainbow (>= 1.99.1, < 3.0)
|
||||
ruby-progressbar (~> 1.7)
|
||||
unicode-display_width (~> 0.3)
|
||||
ruby-progressbar (1.7.5)
|
||||
safe_yaml (1.0.4)
|
||||
sass (3.4.21)
|
||||
|
@ -212,6 +213,7 @@ GEM
|
|||
unf (0.1.4)
|
||||
unf_ext
|
||||
unf_ext (0.0.7.1)
|
||||
unicode-display_width (0.3.1)
|
||||
validates_formatting_of (0.9.0)
|
||||
activemodel
|
||||
warden (1.2.6)
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
# You can use `rake secret` to generate a secure secret key.
|
||||
|
||||
if Rails.env.production? && ENV['SECRET_TOKEN'].blank?
|
||||
fail 'The SECRET_TOKEN environment variable is not set.\n
|
||||
raise 'The SECRET_TOKEN environment variable is not set.\n
|
||||
To generate it, run "rake secret", then set it with "heroku config:set SECRET_TOKEN=the_token_you_generated"'
|
||||
end
|
||||
|
||||
|
|
|
@ -43,6 +43,6 @@ class AddDeviseToUsers < ActiveRecord::Migration
|
|||
def down
|
||||
# By default, we don't want to make any assumption about how to roll back a migration when your
|
||||
# model already existed. Please edit below which fields you would like to remove in this migration.
|
||||
fail ActiveRecord::IrreversibleMigration
|
||||
raise ActiveRecord::IrreversibleMigration
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue