Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Allow `Range#include?` on TWZ ranges | Andrew White | 2017-11-08 | 1 | -1/+3 |
| | | | | | | | | | | | In #11474 we prevented TWZ ranges being iterated over which matched Ruby's handling of Time ranges and as a consequence `include?` stopped working with both Time ranges and TWZ ranges. However in ruby/ruby@b061634 support was added for `include?` to use `cover?` for 'linear' objects. Since we have no way of making Ruby consider TWZ instances as 'linear' we have to override `Range#include?`. Fixes #30799. | ||||
* | [Active Support] `rubocop -a --only Layout/EmptyLineAfterMagicComment` | Koichi ITO | 2017-07-11 | 1 | -0/+1 |
| | |||||
* | Use frozen-string-literal in ActiveSupport | Kir Shatrov | 2017-07-09 | 1 | -0/+1 |
| | |||||
* | Revert "Merge pull request #29540 from kirs/rubocop-frozen-string" | Matthew Draper | 2017-07-02 | 1 | -1/+0 |
| | | | | | This reverts commit 3420a14590c0e6915d8b6c242887f74adb4120f9, reversing changes made to afb66a5a598ce4ac74ad84b125a5abf046dcf5aa. | ||||
* | Enforce frozen string in Rubocop | Kir Shatrov | 2017-07-01 | 1 | -0/+1 |
| | |||||
* | Use #prepend rather than using 2 aliases | Yuki Nishijima | 2015-04-14 | 1 | -22/+16 |
| | |||||
* | Deprecate alias_method_chain in favour of Module#prepend | Kir Shatrov | 2015-03-22 | 1 | -4/+8 |
| | | | …as discussed #19413 | ||||
* | Fix iterating over DateTime by doing strict checking for Time objects | Prathamesh Sonpatki | 2014-01-11 | 1 | -2/+1 |
| | | | | - Fixes #13667 | ||||
* | Disable ability to iterate over a Range of TimeWithZone | Bogdan Gusiev | 2013-07-19 | 1 | -0/+24 |