Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | | | | Deprecate memoizable. | José Valim | 2011-06-15 | 2 | -7/+21 | |
| | | | | | ||||||
* | | | | | Failing test to show problem when last argument of a memoized method is true | Brian Underwood | 2011-06-15 | 1 | -0/+14 | |
| |/ / / |/| | | | | | | | | | | | Signed-off-by: Damien Mathieu <42@dmathieu.com> | |||||
* | | | | Rename Time#whole_* to Time#all_* [thanks Pratik!] | David Heinemeier Hansson | 2011-06-13 | 1 | -10/+10 | |
| | | | | ||||||
* | | | | Added Time#whole_day/week/quarter/year as a way of generating ranges ↵ | David Heinemeier Hansson | 2011-06-13 | 1 | -0/+20 | |
| | | | | | | | | | | | | | | | | (example: Event.where(created_at: Time.now.whole_week)) [DHH] | |||||
* | | | | Added instance_accessor: false as an option to Class#cattr_accessor and ↵ | David Heinemeier Hansson | 2011-06-13 | 1 | -2/+9 | |
| | | | | | | | | | | | | | | | | friends [DHH] | |||||
* | | | | Define ActiveSupport#to_param as to_str - closes #1663 | Andrew White | 2011-06-12 | 1 | -1/+7 | |
|/ / / | ||||||
* | | | Allow a Date to be frozen more than once without an error in Ruby 1.8.x | Bradley Buda | 2011-06-08 | 1 | -0/+6 | |
| | | | ||||||
* | | | remove warning: assigned but unused variable | Santiago Pastorino | 2011-06-08 | 1 | -1/+1 | |
| | | | ||||||
* | | | Ensure that the strings returned by SafeBuffer#gsub and friends aren't ↵ | Michael Koziarski | 2011-06-07 | 1 | -0/+12 | |
|/ / | | | | | | | | | | | | | | | | | | | considered html_safe? Also make sure that the versions of those methods which modify a string in place such as gsub! can't be called on safe buffers at all. Conflicts: activesupport/test/safe_buffer_test.rb | |||||
* | | Raise NameError instead of ArgumentError in ActiveSupport::Dependencies | Andrew White | 2011-06-01 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | ActiveSupport::Dependencies now raises NameError if it finds an existing constant in load_missing_constant. This better reflects the nature of the error which is usually caused by calling constantize on a nested constant. Closes #1423 | |||||
* | | Merge pull request #1346 from arunagw/jdom_file_from_xml_fix | Aaron Patterson | 2011-05-27 | 1 | -14/+14 | |
|\ \ | | | | | | | Jdom file from xml fix | |||||
| * | | Adding tests for file_from_xml for XmlMini_JDOM #jruby | Arun Agrawal | 2011-05-27 | 1 | -14/+14 | |
| | | | ||||||
* | | | Fixes minor ruby 1.8 inconsistency | Andrew Radev | 2011-05-27 | 1 | -0/+23 | |
|/ / | | | | | | | | | ActiveSupport::OrderedHash did not behave identically to Hash when given a block with a splat. | |||||
* / | Removed deprecated methods and related tests from ActiveSupport | Josh Kalderimis | 2011-05-25 | 5 | -367/+0 | |
|/ | ||||||
* | Not loading file if PLATFORM not available. | Arun Agrawal | 2011-05-24 | 1 | -83/+82 | |
| | ||||||
* | Removed ActiveSupport::SecureRandom in favour of SecureRandom from the ↵ | Jon Leighton | 2011-05-23 | 1 | -19/+0 | |
| | | | | standard library. (It has been deprecated in the 3-1-stable branch.) | |||||
* | Replace references to ActiveSupport::SecureRandom with just SecureRandom, ↵ | Jon Leighton | 2011-05-23 | 3 | -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 Kalderimis | 2011-05-23 | 1 | -3/+43 | |
| | | | | added by ruby-debug and should be left as is. Missing tests added. | |||||
* | Fix failing tests. | José Valim | 2011-05-22 | 2 | -1/+4 | |
| | ||||||
* | test fix jdom_engine_test | Vishnu Atrai | 2011-05-22 | 1 | -0/+1 | |
| | ||||||
* | make sure missing method does not fail with arguments | dmathieu | 2011-05-22 | 1 | -0/+6 | |
| | ||||||
* | don't raise NoMethodError the tried method doesn't exists | dmathieu | 2011-05-21 | 1 | -1/+1 | |
| | ||||||
* | Merge pull request #1191 from arunagw/removal_extra | José Valim | 2011-05-21 | 4 | -4/+0 | |
|\ | | | | | Removal require again from tests. | |||||
| * | Removal require again from tests. | Arun Agrawal | 2011-05-22 | 4 | -4/+0 | |
| | | ||||||
* | | Fix AS::Duration#duplicable? on 1.8 | thedarkone | 2011-05-21 | 1 | -1/+2 | |
|/ | ||||||
* | Check for Module.new.dup as well in ↵ | Prakash Murthy | 2011-05-21 | 1 | -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 test | Raghunadh | 2011-05-21 | 1 | -1/+1 | |
| | ||||||
* | Merge pull request #1109 from dlee/optimize_indifferent_access | José Valim | 2011-05-18 | 1 | -1/+2 | |
|\ | | | | | Use dup to preserve previous behavior | |||||
| * | Test that HWIA.with_indifferent_access does not return self | David Lee | 2011-05-17 | 1 | -0/+1 | |
| | | ||||||
| * | Use dup to preserve previous behavior | David Lee | 2011-05-17 | 1 | -1/+1 | |
| | | ||||||
* | | Fix misspelling of 'lambda'. Closes #987 | Ben Orenstein | 2011-05-18 | 1 | -4/+4 | |
|/ | ||||||
* | Optimize parts of HashWithIndifferentAccess | David Lee | 2011-05-17 | 1 | -0/+5 | |
| | ||||||
* | Deprecate attr_accessor_with_default. | José Valim | 2011-05-16 | 1 | -4/+12 | |
| | ||||||
* | Add missing requires | Santiago Pastorino | 2011-05-11 | 1 | -0/+1 | |
| | ||||||
* | make sure log file is written in binary mode. fixes #497 | Aaron Patterson | 2011-05-10 | 1 | -0/+39 | |
| | ||||||
* | Lighthouse ticket # 6334; added tests to verify that spaces in key are ↵ | prakashmurthy | 2011-05-08 | 1 | -0/+10 | |
| | | | | dasherized. | |||||
* | indifferent access should recurse Hash subclasses | David Lee | 2011-05-08 | 2 | -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 Gehard | 2011-05-07 | 2 | -2/+2 | |
| | | | | before the rename but was never getting run. | |||||
* | Revert "Merge pull request #275 from pk-amooma/master" | José Valim | 2011-05-07 | 1 | -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é Valim | 2011-05-07 | 1 | -8/+0 | |
| | ||||||
* | ordinalize negative numbers patch | Jason | 2011-05-07 | 1 | -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_subsec | José Valim | 2011-05-07 | 1 | -0/+7 | |
|\ | | | | | Fix marshal round-tripping of fractional seconds (Time#subsec). | |||||
| * | Fix marshal round-tripping of fractional seconds (Time#subsec). | Jason Weathered | 2011-04-17 | 1 | -0/+7 | |
| | | ||||||
* | | Merge pull request #275 from pk-amooma/master | José Valim | 2011-05-07 | 1 | -0/+12 | |
|\ \ | | | | | | | properly escape "'" to "'" for XML | |||||
| * | | test "Escapes special HTML/XML characters" do ... | Philipp Kempgen | 2011-04-26 | 1 | -0/+12 | |
| | | | ||||||
* | | | Merge remote branch 'rolftimmermans/desc_tracker' | José Valim | 2011-05-07 | 6 | -27/+55 | |
|\ \ \ | ||||||
| * \ \ | Merge remote-tracking branch 'upstream/master' into desc_tracker | Rolf Timmermans | 2011-03-27 | 1 | -4/+4 | |
| |\ \ \ | ||||||
| * | | | | Refactored AS::DescendantsTracker test cases so they can be tested without ↵ | Rolf Timmermans | 2011-03-13 | 3 | -27/+52 | |
| | | | | | | | | | | | | | | | | | | | | AS::Dependencies. | |||||
| * | | | | Missing dependency in MultiByte test. | Rolf Timmermans | 2011-03-13 | 1 | -0/+1 | |
| | | | | | ||||||
| * | | | | Add missing dependency string inflection test. | Rolf Timmermans | 2011-03-13 | 1 | -0/+1 | |
| | | | | |