aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/test
Commit message (Collapse)AuthorAgeFilesLines
...
* Removed ActiveSupport::SecureRandom in favour of SecureRandom from the ↵Jon Leighton2011-05-231-19/+0
| | | | standard library. (It has been deprecated in the 3-1-stable branch.)
* Replace references to ActiveSupport::SecureRandom with just SecureRandom, ↵Jon Leighton2011-05-233-7/+7
| | | | and require 'securerandom' from the stdlib when active support is required.
* Removed the AS core_ext/kernel/debugger breakpoint method as this method is ↵Josh Kalderimis2011-05-231-3/+43
| | | | added by ruby-debug and should be left as is. Missing tests added.
* Fix failing tests.José Valim2011-05-222-1/+4
|
* test fix jdom_engine_test Vishnu Atrai2011-05-221-0/+1
|
* make sure missing method does not fail with argumentsdmathieu2011-05-221-0/+6
|
* don't raise NoMethodError the tried method doesn't existsdmathieu2011-05-211-1/+1
|
* Merge pull request #1191 from arunagw/removal_extraJosé Valim2011-05-214-4/+0
|\ | | | | Removal require again from tests.
| * Removal require again from tests.Arun Agrawal2011-05-224-4/+0
| |
* | Fix AS::Duration#duplicable? on 1.8thedarkone2011-05-211-1/+2
|/
* Check for Module.new.dup as well in ↵Prakash Murthy2011-05-211-1/+1
| | | | https://github.com/rails/rails/blob/master/activesupport/lib/active_support/core_ext/object/duplicable.rb
* fixed failing tests of ActiveSupport for deprecation testRaghunadh2011-05-211-1/+1
|
* Merge pull request #1109 from dlee/optimize_indifferent_accessJosé Valim2011-05-181-1/+2
|\ | | | | Use dup to preserve previous behavior
| * Test that HWIA.with_indifferent_access does not return selfDavid Lee2011-05-171-0/+1
| |
| * Use dup to preserve previous behaviorDavid Lee2011-05-171-1/+1
| |
* | Fix misspelling of 'lambda'. Closes #987Ben Orenstein2011-05-181-4/+4
|/
* Optimize parts of HashWithIndifferentAccessDavid Lee2011-05-171-0/+5
|
* Deprecate attr_accessor_with_default.José Valim2011-05-161-4/+12
|
* Add missing requiresSantiago Pastorino2011-05-111-0/+1
|
* make sure log file is written in binary mode. fixes #497Aaron Patterson2011-05-101-0/+39
|
* Lighthouse ticket # 6334; added tests to verify that spaces in key are ↵prakashmurthy2011-05-081-0/+10
| | | | dasherized.
* indifferent access should recurse Hash subclassesDavid Lee2011-05-082-3/+17
| | | | | | | | | | | | | | This commit makes Hash subclasses convert to HWIA by default for nested objects of subclasses of Hash, but allows certain subclasses to prevent nested conversion by introducing Hash#nested_under_indifferent_access that subclasses can overwrite. ActiveSupport::OrderedHash is one such subclass that overwrites +nested_under_indifferent_access+, since implicitly converting it to HWIA would remove the ordering of keys and values in Ruby 1.8. This change is necessary because commit ce9456e broke nested indifferent access conversion for all subclasses of Hash.
* Rename duplicate tests. There is now one failing test that was failing ↵Mike Gehard2011-05-072-2/+2
| | | | before the rename but was never getting run.
* Revert "Merge pull request #275 from pk-amooma/master"José Valim2011-05-071-12/+0
| | | | | | | Several AP tests fail after this change. This reverts commit aaf01cd53718c8aa5b69ac056b997e6dd9893777, reversing changes made to 9cc18c52faeebaad6a76bd62cdca1c6b9f96afed.
* xml_mini_test.rb now runs.José Valim2011-05-071-8/+0
|
* ordinalize negative numbers patchJason2011-05-071-0/+30
| | | | | | | Applied patch by Amir Manji https://github.com/rails/rails/issues/437#issuecomment-1116045 Signed-off-by: Jason <jasonmichaelroth@gmail.com>
* Merge pull request #286 from jasoncodes/marshal_subsecJosé Valim2011-05-071-0/+7
|\ | | | | Fix marshal round-tripping of fractional seconds (Time#subsec).
| * Fix marshal round-tripping of fractional seconds (Time#subsec).Jason Weathered2011-04-171-0/+7
| |
* | Merge pull request #275 from pk-amooma/masterJosé Valim2011-05-071-0/+12
|\ \ | | | | | | properly escape "'" to "'" for XML
| * | test "Escapes special HTML/XML characters" do ...Philipp Kempgen2011-04-261-0/+12
| | |
* | | Merge remote branch 'rolftimmermans/desc_tracker'José Valim2011-05-076-27/+55
|\ \ \
| * \ \ Merge remote-tracking branch 'upstream/master' into desc_trackerRolf Timmermans2011-03-271-4/+4
| |\ \ \
| * | | | Refactored AS::DescendantsTracker test cases so they can be tested without ↵Rolf Timmermans2011-03-133-27/+52
| | | | | | | | | | | | | | | | | | | | AS::Dependencies.
| * | | | Missing dependency in MultiByte test.Rolf Timmermans2011-03-131-0/+1
| | | | |
| * | | | Add missing dependency string inflection test.Rolf Timmermans2011-03-131-0/+1
| | | | |
| * | | | Missing dependency for duration test.Rolf Timmermans2011-03-131-0/+1
| | | | |
* | | | | Merge pull request #248 from bigfix/enumerable_as_jsonJosé Valim2011-05-071-9/+24
|\ \ \ \ \ | | | | | | | | | | | | Enumerable should pass encoding options to children in #as_json/#to_json
| * | | | | Enumerable should pass encoding options to children in #as_json/#to_json.John Firebaugh2011-04-011-9/+24
| | |/ / / | |/| | |
* | | | | Merge pull request #349 from bradley178/masterJosé Valim2011-05-071-2/+8
|\ \ \ \ \ | | | | | | | | | | | | Hash.from_xml chokes on empty CDATA
| * | | | | Fix bug with empty CDATA not being handled in Hash.from_xmlBradley Harris2011-04-291-2/+2
| | | | | |
| * | | | | Added test for empty CDATA bug in from_xmlBradley Harris2011-04-291-2/+8
| | | | | |
* | | | | | Move variables to underscore format, update protected instance variables list.José Valim2011-05-061-0/+7
|/ / / / /
* | | | | Merged pull request #219 from panthomakos/memcache.José Valim2011-04-281-0/+38
|\ \ \ \ \ | | | | | | | | | | | | Character encoding issues with MemCacheStore in 1.9.2
| * | | | | Fixed special character encoding issue with MemCacheStore in Ruby 1.9.2.Pan Thomakos2011-03-111-0/+38
| | | | | |
* | | | | | Merged pull request #328 from MSNexploder/fix_clear_inflector.José Valim2011-04-281-12/+30
|\ \ \ \ \ \ | | | | | | | | | | | | | | proper reset all inflector scopes
| * | | | | | proper reset all inflector scopesStefan Huber2011-04-251-12/+30
| | | | | | |
* | | | | | | fixing Array#from to return consistent resultsJared McFarland2011-04-261-1/+1
|/ / / / / /
* | | | | | File watcher won't make the cut for 3.1. Maybe on 3.2.José Valim2011-04-231-233/+0
| | | | | |
* | | | | | AS Json parse_error makes a return for backwards compatibility, although it ↵Josh Kalderimis2011-04-191-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | will return MultiJson::DecodeError
* | | | | | removed AS backends and instead rely on MultiJson for json decodingJosh Kalderimis2011-04-181-7/+4
| | | | | |