Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Remove trailing whitespace | Daniel Schierbeck | 2011-08-23 | 1 | -2/+2 |
| | |||||
* | properly escape html to avoid invalid utf8 causing XSS attacks | Aaron Patterson | 2011-08-16 | 1 | -0/+7 |
| | |||||
* | Added Array#prepend as an alias for Array#unshift and Array#append as an ↵ | David Heinemeier Hansson | 2011-08-15 | 1 | -0/+10 |
| | | | | alias for Array#<< [DHH] | ||||
* | Add a test for delegating a method ending in '=' as this is a special case. | Jon Leighton | 2011-08-15 | 1 | -0/+8 |
| | |||||
* | Split up the definitions in Module#delegate depending on :allow_nil, and ↵ | Jon Leighton | 2011-08-15 | 1 | -0/+12 |
| | | | | don't use exceptions for flow control in the :allow_nil => true case. | ||||
* | Fix the line number in the backtrace when Module#delegate raises | Jon Leighton | 2011-08-15 | 1 | -1/+13 |
| | |||||
* | Just do the method call directly in Module#delegate, if we can (we cannot ↵ | Jon Leighton | 2011-08-15 | 1 | -2/+20 |
| | | | | for method names ending in '='). Two reasons: 1) it's faster, see https://gist.github.com/1089783 and 2) more importantly, delegate should not allow you to accidentally call private or protected methods. | ||||
* | Backport Object#public_send to 1.8 so that we can implement Module#delegate ↵ | Jon Leighton | 2011-08-15 | 1 | -0/+117 |
| | | | | such that non-public methods raise | ||||
* | backporting IO#binread for 1.8 users | Aaron Patterson | 2011-08-08 | 1 | -0/+23 |
| | |||||
* | Removing extra requires from the test. Already loaded in abstract_unit. | Arun Agrawal | 2011-07-31 | 1 | -1/+0 |
| | |||||
* | Duplicable test is looking fine now. | Mitesh Jain | 2011-07-24 | 1 | -7/+12 |
| | |||||
* | Insure that Enumerable#index_by, group_by, ... return Enumerators | Marc-Andre Lafortune | 2011-07-23 | 1 | -1/+12 |
| | |||||
* | Make Enumerable#many? iterate only over what is necessary | Marc-Andre Lafortune | 2011-07-23 | 1 | -0/+7 |
| | |||||
* | Make Enumerable#many? not rely on #size | Marc-Andre Lafortune | 2011-07-23 | 1 | -1/+1 |
| | |||||
* | Test using generic Enumerables instead of arrays. | Marc-Andre Lafortune | 2011-07-23 | 1 | -24/+38 |
| | |||||
* | Make tests more precise | Marc-Andre Lafortune | 2011-07-23 | 1 | -14/+14 |
| | |||||
* | Changed the year of a date used in a test which fails when using 1.8.7 on a ↵ | Josh Kalderimis | 2011-07-19 | 1 | -1/+1 |
| | | | | 32bit machine (ArgumentError: time out of range) | ||||
* | need magic comments | Akira Matsuda | 2011-07-14 | 1 | -0/+2 |
| | |||||
* | treat fullwidth whitespace as a blank character | Akira Matsuda | 2011-07-14 | 1 | -1/+1 |
| | |||||
* | Fix xmlschema output with fraction_digits >0 | shtirlic | 2011-07-11 | 1 | -0/+7 |
| | | | | | Current implementation produce incorrect output when Time#usec returns integer < 100000, because to_s doesn't add leading zeros. | ||||
* | Merge pull request #1296 from c42engineering/issue636 | José Valim | 2011-07-11 | 1 | -0/+49 |
|\ | | | | | Resubmitting issue #636 as a pull request | ||||
| * | Issue #636 - Parsing an xml file with multiple records and extra attributes ↵ | Sidu Ponnappa | 2011-07-11 | 1 | -0/+49 |
| | | | | | | | | (besides type) fails | ||||
* | | Merge pull request #1463 from psanford/master | Santiago Pastorino | 2011-07-06 | 1 | -0/+1 |
|\ \ | | | | | | | Fix timezone handling in String.to_time | ||||
| * | | Make String.to_time respect timezones | Nate Mueller | 2011-06-02 | 1 | -0/+1 |
| | | | |||||
* | | | all numerics should be html_safe - Closes #1935 | Damien Mathieu | 2011-07-03 | 1 | -0/+4 |
| | | | |||||
* | | | Merge pull request #1690 from vijaydev/mattr_accessor_changes | José Valim | 2011-06-30 | 1 | -0/+7 |
|\ \ \ | | | | | | | | | Added instance_accessor: false to Module#mattr_accessor | ||||
| * | | | Added instance_accessor: false to Module#mattr_accessor | Vijay Dev | 2011-06-14 | 1 | -0/+7 |
| | | | | |||||
* | | | | Array.wrap should follow Kernel#Array semantics when the object's to_ary is ↵ | Jon Leighton | 2011-06-30 | 1 | -2/+3 |
| | | | | | | | | | | | | | | | | nil. In this case, the object should be wrapped. | ||||
* | | | | Add option to omit creating an instance reader method on class_attribute | James Miller | 2011-06-18 | 1 | -0/+6 |
|/ / / | |||||
* | | | 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 |
|/ / | |||||
* / | Removed deprecated methods and related tests from ActiveSupport | Josh Kalderimis | 2011-05-25 | 2 | -269/+0 |
|/ | |||||
* | 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. | ||||
* | 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 |
| | |||||
* | 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 | ||||
* | 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 |
| | |||||
* | 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 |
| | |||||
* | indifferent access should recurse Hash subclasses | David Lee | 2011-05-08 | 1 | -3/+12 |
| | | | | | | | | | | | | | | 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. | ||||
* | 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. | ||||
* | 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 |
| | | |