Use protected_attributes to support legacy model protection

This commit is contained in:
Luke Barratt 2015-08-15 20:27:40 +01:00
parent 54e4c6a4bb
commit 344239502c
2 changed files with 6 additions and 0 deletions

View file

@ -39,6 +39,9 @@ gem 'neat', '~> 1.6.0'
gem 'haml', '~> 4.0.5' gem 'haml', '~> 4.0.5'
gem 'rails_autolink', '~> 1.1.5' gem 'rails_autolink', '~> 1.1.5'
# Legacy feature shims
gem 'protected_attributes', '~> 1.1.3'
group :assets do group :assets do
gem 'uglifier', '~> 2.5.0' gem 'uglifier', '~> 2.5.0'
end end

View file

@ -149,6 +149,8 @@ GEM
multi_json (~> 1.0) multi_json (~> 1.0)
websocket-driver (>= 0.2.0) websocket-driver (>= 0.2.0)
power_assert (0.2.4) power_assert (0.2.4)
protected_attributes (1.1.3)
activemodel (>= 4.0.1, < 5.0)
pry (0.9.12.6) pry (0.9.12.6)
coderay (~> 1.0) coderay (~> 1.0)
method_source (~> 0.8) method_source (~> 0.8)
@ -286,6 +288,7 @@ DEPENDENCIES
nokogiri (~> 1.6.1) nokogiri (~> 1.6.1)
oj (~> 2.5.5) oj (~> 2.5.5)
poltergeist (~> 1.6.0) poltergeist (~> 1.6.0)
protected_attributes (~> 1.1.3)
pry-byebug (~> 1.3.2) pry-byebug (~> 1.3.2)
puma (~> 2.11.1) puma (~> 2.11.1)
quiet_assets (~> 1.0.2) quiet_assets (~> 1.0.2)