Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Use try in tests that try to test try. | Kasper Timm Hansen | 2018-03-21 | 1 | -7/+2 |
| | |||||
* | Use respond_to test helpers | Daniel Colson | 2018-01-25 | 1 | -4/+4 |
| | |||||
* | [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 |
| | |||||
* | applies new string literal convention in activesupport/test | Xavier Noria | 2016-08-06 | 1 | -16/+16 |
| | | | | | The current code base is not uniform. After some discussion, we have chosen to go with double quotes by default. | ||||
* | :hocho: Typos | Akira Matsuda | 2015-09-21 | 1 | -1/+1 |
| | |||||
* | Small stylistic tweaks for `Delegator#try` patch | Godfrey Chan | 2015-05-19 | 1 | -15/+15 |
| | | | | | | * Rename `ActiveSupport::Try` => `ActiveSupport::Tryable` * Include the modules inline * `private` indentation | ||||
* | Patch `Delegator` to work with `#try` | Nate Smith | 2015-05-19 | 1 | -0/+64 |
| | | | | | | | | | | | | `Delegator` inherits from `BasicObject`, which means that it will not have `Object#try` defined. It will then delegate the call to the underlying object, which will not (necessarily) respond to the method defined in the enclosing `Delegator`. This patches `Delegator` with the `#try` method to work around the surprising behaviour. Fixes #5790 | ||||
* | Pass symbol as an argument instead of a block | Erik Michaels-Ober | 2014-11-29 | 1 | -2/+2 |
| | |||||
* | Bring try! into parity with try. | Ari Pollak | 2014-10-22 | 1 | -4/+8 |
| | | | | Based on commit 5e51bdda. | ||||
* | We tenderized the wrong method! Object#try already had the yield option, ↵ | David Heinemeier Hansson | 2014-08-29 | 1 | -0/+4 |
| | | | | just needed some tenderloving instance_eval to fit the bill | ||||
* | Move object test files under object | Akshay Vishnoi | 2014-07-29 | 1 | -0/+91 |