Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add documentations to AS::Concern#included and #class_methods | okuramasafumi | 2019-04-17 | 1 | -0/+23 |
| | |||||
* | Add `:nodoc` to ActiveSupport::Concern#append_features | okuramasafumi | 2019-04-16 | 1 | -1/+1 |
| | |||||
* | Do nothing when the same block is included again. | Mark J. Titorenko | 2018-11-29 | 1 | -3/+7 |
| | | | | | | | | | If the same block is included multiple times, we no longer raise an exception or overwrite the included block instance variable. Fixes #14802. [Mark J. Titorenko + Vlad Bokov] | ||||
* | removed unnecessary returns | Shuhei Kitagawa | 2017-10-28 | 1 | -1/+1 |
| | |||||
* | [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 |
| | |||||
* | Fix for #20489 - ActiveSupport::Concern#class_methods affects parent classes | Kristijan Novoselic | 2015-06-12 | 1 | -1/+1 |
| | |||||
* | Use public Module#include, in favor of https://bugs.ruby-lang.org/issues/8846 | robertomiranda | 2015-01-31 | 1 | -1/+1 |
| | | | | ref: https://github.com/rails/rails/pull/18763#issuecomment-72349769 | ||||
* | [ci skip] Reword a comment in concern's documentation | Genadi Samokovarov | 2014-09-19 | 1 | -1/+1 |
| | | | | | Nothing biggie. Skimmed through `ActiveSupport::Concern` docs these days and this one comment seemed a bit off. | ||||
* | Introduce Concern#class_methods and Kernel#concern | Jeremy Kemper | 2014-02-23 | 1 | -1/+9 |
| | |||||
* | Use symbols instead of strings | Brian Cardarella | 2013-06-10 | 1 | -6/+6 |
| | | | | | | | | | | ActiveSupport::Concern is used all over Rails This PR will only create 3 new objects as keys are never recreated and are not subject to garbage collection. The strings were being uniquely created and garbage collected. I don't have any performance numbers but this should be better than all of the GC. | ||||
* | Raise when multiple included blocks are defined | Mike Dillon | 2013-05-16 | 1 | -0/+8 |
| | |||||
* | Fix another AS::Concern example (class_eval is already called by included) | maximerety | 2012-11-15 | 1 | -4/+2 |
| | |||||
* | Fix AS::Concern example (current example doesn't work) | maximerety | 2012-11-15 | 1 | -1/+3 |
| | |||||
* | Update examples in AS::Concern to use correct scope syntax. [ci skip] | José Corcuera | 2012-09-21 | 1 | -2/+2 |
| | |||||
* | update AS docs [ci skip] | Francesco Rodriguez | 2012-09-17 | 1 | -9/+12 |
| | |||||
* | add :nodoc: to internal implementations [ci skip] | Francesco Rodriguez | 2012-06-22 | 1 | -3/+2 |
| | |||||
* | Remove deprecations from Active Support. | José Valim | 2011-12-20 | 1 | -5/+0 |
| | |||||
* | Deprecate InstanceMethods namespace handling in ActiveSupport::Concern. | José Valim | 2011-11-21 | 1 | -10/+5 |
| | | | | This avoids the unnecessary "yo dawg, I heard you like include, so I put a module that includes your module when it is included" approach when building extensions. | ||||
* | Fix the example in ActiveSupport::Concern | zhengjia | 2010-12-17 | 1 | -1/+1 |
| | |||||
* | reviews commit dcc9d38 | Xavier Noria | 2010-08-15 | 1 | -32/+22 |
| | |||||
* | Documentation just before Concern module | Josep M. Bach | 2010-08-15 | 1 | -115/+115 |
| | |||||
* | Documented active_support/concern dependency handling | Josep M. Bach | 2010-08-15 | 1 | -1/+81 |
| | |||||
* | Fix ActiveSupport::Callbacks' define_callbacks and ActiveSupport::Concern ↵ | Tom Stuart | 2010-08-05 | 1 | -8/+8 |
| | | | | documentation to look like native English | ||||
* | adding documentation to ActiveSupport::Concern ht:strictly typed for an ↵ | Neeraj Singh | 2010-08-04 | 1 | -0/+35 |
| | | | | | | awesome example some minor documentation changes | ||||
* | Refactor AS concern to avoid hacking the "include" method. | Joshua Peek | 2009-10-13 | 1 | -6/+10 |
| | | | Ruby Magic! | ||||
* | AS::Concern redefines "include" to lazy include modules as dependencies | Joshua Peek | 2009-05-29 | 1 | -0/+2 |
| | |||||
* | AS::Concern includes InstanceMethods module if it exists | Joshua Peek | 2009-05-29 | 1 | -0/+1 |
| | |||||
* | Break up DependencyModule's dual function of providing a "depend_on" DSL and ↵ | Joshua Peek | 2009-05-28 | 1 | -0/+22 |
"included" block DSL into separate modules. But, unify both approaches under AS::Concern. |