Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [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 |
| | |||||
* | improve error message when include assertions fail | Michael Grosser | 2016-09-16 | 1 | -2/+2 |
| | | | | | | assert [1, 3].includes?(2) fails with unhelpful "Asserting failed" message assert_includes [1, 3], 2 fails with "Expected [1, 3] to include 2" which makes it easier to debug and more obvious what went wrong | ||||
* | applies new string literal convention in activesupport/test | Xavier Noria | 2016-08-06 | 1 | -3/+3 |
| | | | | | The current code base is not uniform. After some discussion, we have chosen to go with double quotes by default. | ||||
* | Privatize config_accessor as with attr_accessor | Akira Matsuda | 2015-02-06 | 1 | -0/+8 |
| | |||||
* | Make sure multiline string is not accepted by the regexp | Rafael Mendonça França | 2013-12-19 | 1 | -1/+9 |
| | |||||
* | Fixed configurable.rb regular expression name check | Hincu Petru | 2013-12-19 | 1 | -0/+6 |
| | |||||
* | minor grammar fix | Zoltan Kiss | 2012-12-24 | 1 | -1/+1 |
| | |||||
* | set up config_accessor with a default value by block | Larry Lv | 2012-09-17 | 1 | -2/+14 |
| | | | | | | | | | | | | | | | | | | * ActiveSupport::Configurable should allow config_accessor to take default value by block, just like cattr_accessor. class User include ActiveSupport::Configurable config_accessor :hair_colors do [:brown, :black, :blonde, :red] end end User.hair_colors # => [:brown, :black, :blonde, :red] * remove trailing whitespaces in configurable.rb and its test file. * Update ActiveSupport CHANGELOG. | ||||
* | add instance_accessor option to ActiveSupport::Configurable#config_accessor | Francesco Rodriguez | 2012-06-05 | 1 | -4/+18 |
| | | | | | | | | | | Changes: * Add `instance_accessor` option to opt out of the instance writer and instance reader methods. * Raises a NameError if the name of the attribute is not valid. * Update documentation and tests. * Add CHANGELOG entry in activesupport. | ||||
* | Fix configurable cristalization and tests. | José Valim | 2011-06-29 | 1 | -6/+16 |
| | |||||
* | Move variables to underscore format, update protected instance variables list. | José Valim | 2011-05-06 | 1 | -0/+7 |
| | |||||
* | Make ActiveSupport::Configurable work with modules | Oriol Gual and Josep M. Bach | 2011-02-28 | 1 | -1/+7 |
| | | | | | | [#6486 state:committed] Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> | ||||
* | Call it compile_methods! and do the same on AM. | José Valim | 2010-09-27 | 1 | -1/+1 |
| | |||||
* | Compile ActionController::Base.config's methods to avoid method_missing ↵ | thedarkone | 2010-09-27 | 1 | -0/+18 |
| | | | | overhead. | ||||
* | Clean up the config object in ActionPack. Create config_accessor which just ↵ | José Valim | 2010-04-22 | 1 | -0/+42 |
delegates to the config object, reducing the number of deprecations and add specific tests. |