aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport
Commit message (Collapse)AuthorAgeFilesLines
* Fix method redefined warnings for + and - on TimeAndrew White2016-11-031-3/+4
| | | | | | | | | The power_assert gem has a workaround for a Ruby 2.3 bug[1] which causes method refined warnings with operator methods on Time. Work around the workaround by loading Active Support time extensions before loading the test-unit gem. [1]: https://bugs.ruby-lang.org/issues/11182
* Adjust tests for differences between Ruby 1.8 and 1.9Andrew White2016-11-034-18/+25
| | | | | Ruby 1.9 added Hash#select! and return a hash from Hash#select whereas Ruby 1.8 returned an array.
* Fix method redefinition warnings in i18n gemAndrew White2016-11-021-0/+4
| | | | | | The i18n gem adds its own copies of deep_merge, except and slice if they haven't been defined so require them early to prevent any method redefinition warnings from appearing.
* Fix AS::HWIA#select and #reject on Ruby 2.1.1+Andrew White2016-11-022-0/+44
| | | | | | In Ruby 2.1.1 and later select and reject return a new instance of Hash rather than the subclass so we need to override them to return an instance of the correct class.
* Fix warning about unset I18n.enforce_available_localesAndrew White2016-11-021-0/+3
|
* Fix warning with ambiguous *argsAndrew White2016-11-021-1/+1
|
* Fix AS::OrderHash#select and #reject on Ruby 2.1.1+Andrew White2016-11-022-0/+18
| | | | | | In Ruby 2.1.1 and later select and reject return a new instance of Hash rather than the subclass so we need to override them to return an instance of the correct class.
* Ruby 2.0 added LoadError#pathAndrew White2016-11-021-6/+8
|
* Fix File.exists? deprecation warnings in Active SupportAndrew White2016-11-021-1/+1
|
* bumping versionAaron Patterson2016-09-141-1/+1
|
* bumping versionAaron Patterson2016-08-111-1/+1
|
* bumping versionAaron Patterson2016-08-101-1/+1
|
* Preparing for 3.2.22.2 releaseRafael Mendonça França2016-02-291-1/+1
|
* bumping versionAaron Patterson2016-01-251-1/+1
|
* use secure string comparisons for basic auth username / passwordAaron Patterson2016-01-221-0/+27
| | | | | | | | | | | | this will avoid timing attacks against applications that use basic auth. Conflicts: activesupport/lib/active_support/security_utils.rb Conflicts: actionpack/lib/action_controller/metal/http_authentication.rb CVE-2015-7576
* Preparing for 3.2.22 releaseRafael Mendonça França2015-06-162-1/+10
|
* enforce a depth limit on XML documentsAaron Patterson2015-06-163-10/+15
| | | | | | | | | | XML documents that are too deep can cause an stack overflow, which in turn will cause a potential DoS attack. CVE-2015-3227 Conflicts: activesupport/lib/active_support/xml_mini.rb
* Fix ruby 2.2 comparable warningsJoey Geiger2015-01-291-0/+1
| | | | | Check for correct value type in activerecord/fixtures.rb Check that zone can respond to expected values to make the comparison.
* Remove hard dependency on test-unitRafael Mendonça França2015-01-073-3/+11
| | | | | Instead show a error message asking users to add the gem to their Gemfile if test-unit could not be loaded.
* fix whitespace to match surrounding codeAman Gupta2015-01-021-1/+1
|
* use self.method syntax to resolve circular argument issuesAman Gupta2015-01-021-1/+1
|
* Fix `singleton_class?`Vipul A M2015-01-021-3/+5
| | | | | | | | Due to changes from http://bugs.ruby-lang.org/projects/ruby-trunk/repository/revisions/39628 current `singleton_class?` implementation fails. Changed based on reference from http://bugs.ruby-lang.org/issues/7609 Conflicts: activesupport/lib/active_support/core_ext/class/attribute.rb
* fix yaml compat on ruby 2.2Aman Gupta2015-01-021-1/+3
|
* try using newer test-unit gemAman Gupta2015-01-021-1/+1
|
* added dependency of test-unit into activesupportSHIBATA Hiroshi2015-01-021-0/+1
|
* Check `respond_to` before delegation due to: ↵Aaron Patterson2014-12-221-1/+7
| | | | https://github.com/ruby/ruby/commit/d781caaf313b8649948c107bba277e5ad7307314
* fix ruby 2.2 warning: circular argument referenceAman Gupta2014-12-221-1/+1
|
* bumping version for relesaseAaron Patterson2014-11-161-1/+1
|
* bumping version to 3.2.20Aaron Patterson2014-10-291-1/+1
|
* Preparing for 3.2.19 releaseRafael Mendonça França2014-07-022-1/+11
|
* Make sure Active Support configurations are applied correctlyRafael Mendonça França2014-06-261-0/+7
| | | | | | | Before this patch configuration set using config.active_support would not be set. Closes #15364
* Revert "Merge pull request #15794 from vishalzambre/patch-1"Guillermo Iguaran2014-06-181-1/+1
| | | | | | | This reverts commit 6d800a909e24465ca6f3fa5206222fa7d78967f6, reversing changes made to 6a051299f98ee43864326c6c0a4f7d169d22b3f8. We don't apply non-security fixes to 3-2-stable branch!!!
* File.exists? is a deprecated name, use File.exist?Vishal Zambre2014-06-181-1/+1
| | | File.exists? is a deprecated name, use File.exist?
* Preparing for 3.2.18 releaseRafael Mendonça França2014-05-062-1/+16
|
* Preparing for 3.2.17 releaseRafael Mendonça França2014-02-181-1/+1
|
* updating the changelogAaron Patterson2013-12-021-1/+1
|
* updating changelogsAaron Patterson2013-10-161-1/+1
|
* bumping to 3.2.15Aaron Patterson2013-10-151-1/+1
|
* Merge branch '3-2-15' into 3-2-secAaron Patterson2013-10-151-2/+2
|\ | | | | | | | | | | | | | | | | | | | | * 3-2-15: bumping to rc3 Revert "Merge pull request #12413 from arthurnn/inverse_of_on_build" Revert "Merge pull request #12443 from arthurnn/add_inverse_of_add_target" bumping to rc2 Merge pull request #12443 from arthurnn/add_inverse_of_add_target bumping version to 3.2.15.rc1 Fix STI scopes using benolee's suggestion. Fixes #11939
| * bumping to rc3Aaron Patterson2013-10-111-1/+1
| |
| * bumping to rc2Aaron Patterson2013-10-041-1/+1
| |
| * bumping version to 3.2.15.rc1Aaron Patterson2013-10-031-2/+2
| |
* | Remove the use of String#% when formatting durations in log messagesMichael Koziarski2013-09-301-0/+4
|/ | | | | This avoids potential format string vulnerabilities where user-provided data is interpolated into the log message before String#% is called.
* Use Ruby 1.8 hash syntaxRafael Mendonça França2013-09-281-2/+2
|
* Merge pull request #12196 from h-lame/fix-activesupport-cache-filestore-cleanupRafael Mendonça França2013-09-123-1/+18
| | | | | | | Fix FileStore#cleanup to no longer rely on missing each_key method Conflicts: activesupport/CHANGELOG.md activesupport/test/caching_test.rb
* Fix 1.8.7 incompatible respond_to_missingEugene Kalenkovich2013-08-181-2/+8
|
* Move changelog entry to the top [ci skip]Rafael Mendonça França2013-07-301-5/+8
|
* Merge branch '3-2-14' into 3-2-stableRafael Mendonça França2013-07-222-2/+2
|\
| * Preparing for 3.2.14 releaseRafael Mendonça França2013-07-221-1/+1
| |
| * Update CHANGELOG entryRafael Mendonça França2013-07-221-6/+1
| |