Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | | Fix unbalanced braces in Hash#typecast_xml_value internal comment | Alexey Vakhov | 2012-05-25 | 1 | -1/+1 | |
| | | | ||||||
| * | | Clean Date#beginning_of_month description | Alexey Vakhov | 2012-05-25 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | Unnecessary peace of text was injected at 507da04a149b44e20c5a0ba72a218fe1762b6baf by mistake. | |||||
| * | | Update examples of Array #in_groups and #in_groups_of | Alexey Vakhov | 2012-05-25 | 1 | -10/+13 | |
| | | | | | | | | | | | | | | | Examples should be not square to visually underline a difference between Array#in_groups and Array#in_groups_of. | |||||
| * | | Fix ActiveSupport Cache decrement method description | Alexey Vakhov | 2012-05-25 | 1 | -1/+1 | |
| | | | ||||||
* | | | Reorder deep_symbolize_keys methods | Mark McSpadden | 2012-05-25 | 1 | -7/+7 | |
| | | | ||||||
* | | | Fix Range#sum optimized version | Alexey Vakhov | 2012-05-25 | 2 | -2/+11 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | At 1bd4d1c67459a91415ee73a8f55d2309c0d62a87 was added Range#sum optimized version for arithmetic progressions. This improvment injected a defect with not integer range boundaries. The defect was fixed by e0adfa82c05f9c975005f102b4bcaebfcd17d241. The second commit really disabled optimization at all because in Ruby integer-valued numbers are instances of Fixnum and Bignum classes. We should #use is_a? (#kind_of?) method instead #instance_of? to check if value is numerical: 1.class # => Fixnum 1.instance_of?(Integer) # => false 1.is_a?(Integer) # => true -100_000_000_000.class # => Bignum -100_000_000_000.instance_of?(Integer) # => false -100_000_000_000.is_a?(Integer) # => true Moreover original implementation of Range#sum has a defect with reverse range boundaries. If the first boundary is less than the second range is empty. Current commit fixes and tests this case too. | |||||
* | | | Add missing requires for deep_dup and hash ext test | Carlos Antonio da Silva | 2012-05-24 | 2 | -0/+3 | |
| | | | ||||||
* | | | Use deep_dup in the deep_transform_keys tests. | Rafael Mendonça França | 2012-05-24 | 1 | -20/+98 | |
| | | | | | | | | | | | | | | | | | | | | | | | | Using only dup make some tests to not catch up an implementation error because the methods were changing the nested hashes. Related to: https://github.com/rails/rails/commit/541429fbe49b0671adb3842ab1818230d670ef9f#L1R96 | |||||
* | | | Merge pull request #6466 from markmcspadden/hash_deep_transform_keys | Rafael Mendonça França | 2012-05-23 | 3 | -19/+43 | |
|\ \ \ | |/ / |/| | | Add Hash#deep_transform_keys and Hash#deep_transform_keys! Also convert ... | |||||
| * | | Add Hash#deep_transform_keys and Hash#deep_transform_keys! Also convert ↵ | Mark McSpadden | 2012-05-23 | 3 | -19/+43 | |
| | | | | | | | | | | | | deep_*_keys to use deep_transform_keys. | |||||
* | | | Merge pull request #6462 from grosser/feature/licenses | José Valim | 2012-05-23 | 1 | -0/+1 | |
|\ \ \ | |/ / |/| | | Add license field to gemspecs, by Matt Griffin | |||||
| * | | Add license field to gemspecs, by Matt Griffin | Matt Griffin | 2012-05-23 | 1 | -0/+1 | |
| | | | ||||||
* | | | Adding deep versions of stringify_keys and symbolize_keys (plain and bang) ↵ | Lucas Húngaro | 2012-05-23 | 4 | -1/+145 | |
|/ / | | | | | | | for nested hashes | |||||
* | | Add Hash#transform_keys and Hash#transform_keys! and refactor *_keys methods ↵ | Mark McSpadden | 2012-05-23 | 3 | -18/+42 | |
| | | | | | | | | to use them. | |||||
* | | changed xml type datetime to dateTime, fixes #6328 | Angelo capilleri | 2012-05-23 | 4 | -8/+11 | |
| | | | | | | | | | | | | | | | | | | XmlMini define the xml 'datatime', but according to http://www.w3.org/TR/xmlschema-2/#dateTime could be better change this to 'dateTime' with upper case letter 'T. So 'DateTime' and 'Time' are redefined from 'datetime' to 'dateTime' add the changing to the changelog | |||||
* | | Fix the build | Santiago Pastorino | 2012-05-22 | 1 | -0/+1 | |
| | | ||||||
* | | require active_support/lazy_load_hooks where is needed | Santiago Pastorino | 2012-05-22 | 2 | -1/+1 | |
| | | ||||||
* | | refactor lazy_load_hooks load position | Jan Xie | 2012-05-22 | 2 | -1/+1 | |
| | | ||||||
* | | remove useless require | Jan Xie | 2012-05-22 | 1 | -1/+0 | |
| | | ||||||
* | | Merge pull request #5125 from winston/log_exception_when_cache_read_fails | Michael Koziarski | 2012-05-21 | 2 | -1/+11 | |
|\ \ | | | | | | | #read_entry in ActiveSupport::Cache::FileStore should log details of the exception when an exception is thrown | |||||
| * | | #read_entry in ActiveSupport::Cache::FileStore should log details of the ↵ | Winston | 2012-02-22 | 2 | -1/+11 | |
| | | | | | | | | | | | | exception when an exception is thrown. | |||||
* | | | Add instance_accessor option to class_attribute | Alexey Vakhov | 2012-05-22 | 3 | -2/+13 | |
| | | | ||||||
* | | | Improve docs for `try` by adding note on `BasicObject` | Piotr Sarnacki | 2012-05-20 | 1 | -0/+4 | |
| | | | | | | | | | | | | [ci skip] closes #5790 | |||||
* | | | Don't use assert_block method. It will be deprecated. | kennyj | 2012-05-20 | 1 | -1/+1 | |
| | | | ||||||
* | | | Fix warning: shadowing outer local variable - constant. | kennyj | 2012-05-19 | 1 | -3/+3 | |
| | | | ||||||
* | | | Add CHANGELOG entry for constantize - closes #6165. | Andrew White | 2012-05-19 | 1 | -0/+2 | |
| | | | ||||||
* | | | Handle case where ancestor is not the end of the chain | Andrew White | 2012-05-19 | 2 | -7/+14 | |
| | | | ||||||
* | | | Fix constantize so top level constants are looked up properly. | Marc-Andre Lafortune | 2012-05-19 | 2 | -1/+19 | |
| | | | ||||||
* | | | Make constantize look down the ancestor chain (excluding Object) | Marc-Andre Lafortune | 2012-05-19 | 2 | -1/+30 | |
| |/ |/| | ||||||
* | | Merge pull request #6376 from jgaskins/timestamp-microseconds | Jeremy Kemper | 2012-05-18 | 2 | -1/+4 | |
|\ \ | | | | | | | Increase numeric-timestamp precision to nanoseconds | |||||
| * | | Increase `AR#cache_key` precision to nanoseconds | Jamie Gaskins | 2012-05-19 | 2 | -1/+4 | |
| | | | ||||||
* | | | Merge pull request #6183 from nashby/fix-issue-6179 | Jeremy Kemper | 2012-05-18 | 5 | -40/+65 | |
|\ \ \ | | | | | | | | | wrap time ranges with timezones | |||||
| * | | | respect nsec in TimeWithZone | Vasiliy Ermolovich + Sergey Nartimov | 2012-05-18 | 5 | -40/+48 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | when we pass fractional usec to Time methods we should use Rational instead of Float because of accuracy problem Time.local(2011,6,12,23,59,59,999999.999).nsec # => 999999998 Time.local(2011,6,12,23,59,59,Rational(999999999, 1000)).nsec # => 999999999 | |||||
| * | | | wrap time ranges with timezones, closes #6179 | Vasiliy Ermolovich | 2012-05-17 | 2 | -3/+20 | |
| | | | | ||||||
* | | | | Fix warning: possibly useless use of % in void context | kennyj | 2012-05-19 | 1 | -1/+1 | |
| | | | | ||||||
* | | | | reverting decoupling of NumberHelper from safe_join and adding tests for ↵ | Andrew Mutz | 2012-05-18 | 1 | -0/+1 | |
| | | | | | | | | | | | | | | | | escaping of delimiters and separators | |||||
* | | | | doesn't modify params in SafeBuffer#% | Vasiliy Ermolovich | 2012-05-18 | 2 | -3/+8 | |
| |/ / |/| | | ||||||
* | | | AS::Callbacks: fix run_callbacks for objects with negative id | Bogdan Gusiev | 2012-05-18 | 1 | -1/+1 | |
| | | | ||||||
* | | | Make MockLogger work with blocks. | Rafael Mendonça França | 2012-05-17 | 1 | -1/+1 | |
| | | | ||||||
* | | | Fix documentation around duplicable regarding Class and Module. | Mark McSpadden | 2012-05-17 | 1 | -1/+1 | |
| | | | ||||||
* | | | Merge pull request #6351 from bogdan/callbacks | José Valim | 2012-05-17 | 1 | -16/+3 | |
|\ \ \ | | | | | | | | | AS::Callbacks remove useless code, improve performance | |||||
| * | | | AS::Callbacks remove useless code, improve performance | Bogdan Gusiev | 2012-05-16 | 1 | -16/+3 | |
| | | | | ||||||
* | | | | Merge branch 'master' of github.com:lifo/docrails | Vijay Dev | 2012-05-17 | 2 | -9/+12 | |
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | Conflicts: activerecord/lib/active_record/core.rb | |||||
| * | | | | copy edit and remove nodoc on instance_values method [ci skip] | Vijay Dev | 2012-05-17 | 1 | -4/+4 | |
| | | | | | ||||||
| * | | | | update AS:OrderedHash docs | Francesco Rodriguez | 2012-05-16 | 1 | -4/+8 | |
| | | | | | ||||||
| * | | | | removing 1.8 reference | Francesco Rodriguez | 2012-05-16 | 1 | -3/+2 | |
| | | | | | ||||||
* | | | | | Merge pull request #6362 from bogdan/callbacks_simplify_statement | José Valim | 2012-05-17 | 1 | -2/+2 | |
|\ \ \ \ \ | | | | | | | | | | | | | AS::Callbacks: simplify logical statement | |||||
| * | | | | | AS::Callbacks: simplify logical statement | Bogdan Gusiev | 2012-05-17 | 1 | -2/+2 | |
| | |/ / / | |/| | | | ||||||
* | | | | | Merge pull request #6361 from markmcspadden/issue_6265 | José Valim | 2012-05-17 | 2 | -26/+2 | |
|\ \ \ \ \ | | | | | | | | | | | | | Remove special cases for duplicable? on Class and Module | |||||
| * | | | | | Remove special cases for duplicable? on Class and Module | Mark McSpadden | 2012-05-17 | 2 | -26/+2 | |
| | | | | | |