2017-07-09 08:06:36 -04:00
# frozen_string_literal: true
2017-07-10 09:39:13 -04:00
2017-05-15 10:17:28 -04:00
version = File . read ( File . expand_path ( " ../RAILS_VERSION " , __dir__ ) ) . 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
2016-08-06 13:23:48 -04:00
s . name = " activesupport "
2010-03-04 22:41:39 -05:00
s . version = version
2016-08-06 13:23:48 -04:00
s . summary = " A toolkit of support libraries and Ruby core extensions extracted from the Rails framework. "
s . description = " A toolkit of support libraries and Ruby core extensions extracted from the Rails framework. Rich support for multibyte strings, internationalization, time zones, and testing. "
2010-04-01 16:46:04 -04:00
2018-12-19 15:09:34 -05:00
s . required_ruby_version = " >= 2.5.0 "
2009-08-31 20:20:44 -04:00
2016-08-06 13:23:48 -04:00
s . license = " MIT "
2012-11-08 14:51:18 -05:00
2016-08-06 13:23:48 -04:00
s . author = " David Heinemeier Hansson "
s . email = " david@loudthinking.com "
2019-03-09 07:08:03 -05:00
s . homepage = " https://rubyonrails.org "
2009-12-27 18:59:20 -05:00
2016-08-06 13:23:48 -04:00
s . files = Dir [ " CHANGELOG.md " , " MIT-LICENSE " , " README.rdoc " , " lib/**/* " ]
s . require_path = " lib "
2011-04-19 10:34:34 -04:00
2016-08-06 13:23:48 -04:00
s . rdoc_options . concat [ " --encoding " , " UTF-8 " ]
2012-01-03 11:18:05 -05:00
2017-06-27 06:06:28 -04:00
s . metadata = {
" source_code_uri " = > " https://github.com/rails/rails/tree/v #{ version } /activesupport " ,
" changelog_uri " = > " https://github.com/rails/rails/blob/v #{ version } /activesupport/CHANGELOG.md "
}
2019-01-08 16:19:22 -05:00
# NOTE: Please read our dependency guidelines before updating versions:
# https://edgeguides.rubyonrails.org/security.html#dependency-management-and-cves
2019-02-13 13:41:28 -05:00
s . add_dependency " i18n " , " >= 0.7 " , " < 2 "
s . add_dependency " tzinfo " , " ~> 1.1 "
s . add_dependency " minitest " , " ~> 5.1 "
2016-08-06 13:23:48 -04:00
s . add_dependency " concurrent-ruby " , " ~> 1.0 " , " >= 1.0.2 "
2019-04-11 16:43:45 -04:00
s . add_dependency " zeitwerk " , " ~> 2.1 " , " >= 2.1.2 "
2009-08-31 20:20:44 -04:00
end