rails--rails/activesupport
Andrew White 2d95956e8b Return all mappings for a timezone id in `country_zones`
Some timezones like `Europe/London` have multiple mappings in
`ActiveSupport::TimeZone::MAPPING` so return all of them instead
of the first one found by using `Hash#value`. e.g:

  # Before
  ActiveSupport::TimeZone.country_zones("GB") # => ["Edinburgh"]

  # After
  ActiveSupport::TimeZone.country_zones("GB") # => ["Edinburgh", "London"]

Fixes #31668.
2018-02-19 10:37:35 +00:00
..
bin
lib Return all mappings for a timezone id in `country_zones` 2018-02-19 10:37:35 +00:00
test Return all mappings for a timezone id in `country_zones` 2018-02-19 10:37:35 +00:00
.gitignore Clean up and consolidate .gitignores 2018-02-17 14:26:19 -08:00
CHANGELOG.md Return all mappings for a timezone id in `country_zones` 2018-02-19 10:37:35 +00:00
MIT-LICENSE Bump license years for 2018 2017-12-31 22:36:55 +09:00
README.rdoc Fix typos and add a few suggestions 2017-11-28 19:27:43 +01:00
Rakefile Test against the pure-Ruby Redis driver 2018-01-17 01:30:03 -05:00
activesupport.gemspec Rails 6 requires Ruby 2.4.1+ 2018-02-17 15:34:57 -08:00

README.rdoc

= Active Support -- Utility classes and Ruby extensions from Rails

Active Support is a collection of utility classes and standard library
extensions that were found useful for the Rails framework. These additions
reside in this package so they can be loaded as needed in Ruby projects
outside of Rails.


== Download and installation

The latest version of Active Support can be installed with RubyGems:

  $ gem install activesupport

Source code can be downloaded as part of the Rails project on GitHub:

* https://github.com/rails/rails/tree/master/activesupport


== License

Active Support is released under the MIT license:

* https://opensource.org/licenses/MIT


== Support

API documentation is at:

* http://api.rubyonrails.org

Bug reports for the Ruby on Rails project can be filed here:

* https://github.com/rails/rails/issues

Feature requests should be discussed on the rails-core mailing list here:

* https://groups.google.com/forum/?fromgroups#!forum/rubyonrails-core