2012-11-08 14:51:18 -05:00
version = File . read ( File . expand_path ( '../../RAILS_VERSION' , __FILE__ ) ) . strip
2010-03-01 23:36:54 -05:00
2009-08-31 20:20:44 -04:00
Gem :: Specification . new do | s |
2010-02-03 20:59:39 -05:00
s . platform = Gem :: Platform :: RUBY
s . name = 'actionpack'
2010-03-04 22:41:39 -05:00
s . version = version
2010-02-03 20:59:39 -05:00
s . summary = 'Web-flow and rendering framework putting the VC in MVC (part of Rails).'
2010-03-02 13:32:09 -05:00
s . description = 'Web apps on Rails. Simple, battle-tested conventions for building and testing MVC web applications. Works with any Rack-compatible server.'
2012-11-08 14:51:18 -05:00
2015-04-13 23:11:56 -04:00
s . required_ruby_version = '>= 2.2.2'
2009-09-25 01:46:04 -04:00
2012-11-08 14:51:18 -05:00
s . license = 'MIT'
s . author = 'David Heinemeier Hansson'
s . email = 'david@loudthinking.com'
2016-03-10 01:34:49 -05:00
s . homepage = 'http://rubyonrails.org'
2009-08-31 20:20:44 -04:00
2013-03-18 16:18:36 -04:00
s . files = Dir [ 'CHANGELOG.md' , 'README.rdoc' , 'MIT-LICENSE' , 'lib/**/*' ]
2010-02-03 20:59:39 -05:00
s . require_path = 'lib'
2009-09-25 01:46:04 -04:00
s . requirements << 'none'
2009-08-31 20:20:44 -04:00
2012-11-08 14:51:18 -05:00
s . add_dependency 'activesupport' , version
2012-05-31 12:21:56 -04:00
2015-08-20 16:43:57 -04:00
s . add_dependency 'rack' , '~> 2.x'
2015-03-01 16:52:17 -05:00
s . add_dependency 'rack-test' , '~> 0.6.3'
2016-02-08 11:09:29 -05:00
s . add_dependency 'rails-html-sanitizer' , '~> 1.0' , '>= 1.0.2'
2014-11-25 16:42:17 -05:00
s . add_dependency 'rails-dom-testing' , '~> 1.0' , '>= 1.0.5'
2013-12-04 18:17:39 -05:00
s . add_dependency 'actionview' , version
2011-07-18 01:28:14 -04:00
2013-09-17 13:15:23 -04:00
s . add_development_dependency 'activemodel' , version
2009-08-31 20:20:44 -04:00
end