Update rubocop to version 0.37.0

This commit is contained in:
Erik Michaels-Ober 2016-02-04 11:48:23 -08:00
parent dae70895c5
commit 4566dc2e70
3 changed files with 6 additions and 4 deletions

View File

@ -168,11 +168,12 @@ GEM
http-cookie (>= 1.0.2, < 2.0) http-cookie (>= 1.0.2, < 2.0)
mime-types (>= 1.16, < 3.0) mime-types (>= 1.16, < 3.0)
netrc (~> 0.7) netrc (~> 0.7)
rubocop (0.36.0) rubocop (0.37.0)
parser (>= 2.3.0.0, < 3.0) parser (>= 2.3.0.2, < 3.0)
powerpack (~> 0.1) powerpack (~> 0.1)
rainbow (>= 1.99.1, < 3.0) rainbow (>= 1.99.1, < 3.0)
ruby-progressbar (~> 1.7) ruby-progressbar (~> 1.7)
unicode-display_width (~> 0.3)
ruby-progressbar (1.7.5) ruby-progressbar (1.7.5)
safe_yaml (1.0.4) safe_yaml (1.0.4)
sass (3.4.21) sass (3.4.21)
@ -212,6 +213,7 @@ GEM
unf (0.1.4) unf (0.1.4)
unf_ext unf_ext
unf_ext (0.0.7.1) unf_ext (0.0.7.1)
unicode-display_width (0.3.1)
validates_formatting_of (0.9.0) validates_formatting_of (0.9.0)
activemodel activemodel
warden (1.2.6) warden (1.2.6)

View File

@ -8,7 +8,7 @@
# You can use `rake secret` to generate a secure secret key. # You can use `rake secret` to generate a secure secret key.
if Rails.env.production? && ENV['SECRET_TOKEN'].blank? 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"' To generate it, run "rake secret", then set it with "heroku config:set SECRET_TOKEN=the_token_you_generated"'
end end

View File

@ -43,6 +43,6 @@ class AddDeviseToUsers < ActiveRecord::Migration
def down def down
# By default, we don't want to make any assumption about how to roll back a migration when your # 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. # model already existed. Please edit below which fields you would like to remove in this migration.
fail ActiveRecord::IrreversibleMigration raise ActiveRecord::IrreversibleMigration
end end
end end