diff options
author | Guillermo Iguaran <guilleiguaran@gmail.com> | 2012-06-28 23:54:12 -0500 |
---|---|---|
committer | Guillermo Iguaran <guilleiguaran@gmail.com> | 2012-06-30 11:04:31 -0500 |
commit | 166dbaa7526a96fdf046f093f25b0a134b277a68 (patch) | |
tree | 665afc57ce1ddde3439c1f0296f1ca51e0b2fe05 /actionpack/actionpack.gemspec | |
parent | 809bdf342638592b0dfd2f888c7c9a4ac093d8cf (diff) | |
download | rails-166dbaa7526a96fdf046f093f25b0a134b277a68.tar.gz rails-166dbaa7526a96fdf046f093f25b0a134b277a68.tar.bz2 rails-166dbaa7526a96fdf046f093f25b0a134b277a68.zip |
Remove ActiveModel dependency from ActionPack
ActiveModel is used in ActionPack for ActiveModel::Naming for a few,
mostly optional aspects of ActionPack related to automatically converting
an ActiveModel compliant object into a key for params and routing. It uses
only three methods of ActiveModel (ActiveModel::Naming.route_key,
ActiveModel::Naming.singular_route_key and ActiveModel::Naming.param_key).
Diffstat (limited to 'actionpack/actionpack.gemspec')
-rw-r--r-- | actionpack/actionpack.gemspec | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/actionpack.gemspec b/actionpack/actionpack.gemspec index 938f3d6dc2..6075e2f02b 100644 --- a/actionpack/actionpack.gemspec +++ b/actionpack/actionpack.gemspec @@ -18,7 +18,6 @@ Gem::Specification.new do |s| s.requirements << 'none' s.add_dependency('activesupport', version) - s.add_dependency('activemodel', version) s.add_dependency('rack-cache', '~> 1.2') s.add_dependency('builder', '~> 3.0.0') s.add_dependency('rack', '~> 1.4.1') @@ -26,5 +25,6 @@ Gem::Specification.new do |s| s.add_dependency('journey', '~> 1.0.1') s.add_dependency('erubis', '~> 2.7.0') + s.add_development_dependency('activemodel', version) s.add_development_dependency('tzinfo', '~> 0.3.33') end |