aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/actionpack.gemspec
diff options
context:
space:
mode:
authorGuillermo Iguaran <guilleiguaran@gmail.com>2012-06-28 23:54:12 -0500
committerGuillermo Iguaran <guilleiguaran@gmail.com>2012-06-30 11:04:31 -0500
commit166dbaa7526a96fdf046f093f25b0a134b277a68 (patch)
tree665afc57ce1ddde3439c1f0296f1ca51e0b2fe05 /actionpack/actionpack.gemspec
parent809bdf342638592b0dfd2f888c7c9a4ac093d8cf (diff)
downloadrails-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.gemspec2
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