Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Class Attribute setter returns set value | Peter Wagenet | 2010-08-16 | 1 | -0/+5 |
| | | | | Signed-off-by: wycats <wycats@gmail.com> | ||||
* | Deletes trailing whitespaces (over text files only find * -type f -exec sed ↵ | Santiago Pastorino | 2010-08-14 | 2 | -16/+16 |
| | | | | 's/[ \t]*$//' -i {} \;) | ||||
* | Final iteration of use better testing methods | Neeraj Singh | 2010-05-19 | 3 | -10/+10 |
| | | | | | | [#4652 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Fix class_attribute so that it works with singleton classes. | Carl Lerche | 2010-04-01 | 1 | -0/+6 |
| | |||||
* | fixing inconsistency with cattr_reader and matter_reader [#4172 state:resolved] | Kabari Hendrick | 2010-03-27 | 1 | -1/+7 |
| | | | Signed-off-by: wycats <wycats@gmail.com> | ||||
* | Remove test ordering bug | Evan Phoenix | 2010-03-22 | 1 | -8/+14 |
| | | | | | Don't reuse classes with class attributes when testing different use cases of class attributes. | ||||
* | class_attribute gets instance methods which delegate to but may override ↵ | Jeremy Kemper | 2010-03-08 | 1 | -10/+25 |
| | | | | their class values as you'd expect. Disable instance writer methods with :instance_writer => false. | ||||
* | Clear the attribute after done | Yehuda Katz | 2010-02-16 | 1 | -0/+2 |
| | |||||
* | Introduce class_attribute to declare inheritable class attributes. Writing ↵ | Jeremy Kemper | 2010-02-01 | 1 | -0/+47 |
| | | | | an attribute on a subclass behaves just like overriding the superclass reader method. Unifies and replaces most usage of cattr_accessor, class_inheritable_attribute, superclass_delegating_attribute, and extlib_inheritable_attribute. | ||||
* | superclass_delegating_accessor rewritten to serve as the base for many other ↵ | Yehuda Katz | 2010-01-29 | 1 | -34/+0 |
| | | | | kinds of accessors (step 1 of unification) | ||||
* | Allow :instance_reader to be given to superclass_delegating_accessor as well. | José Valim | 2009-11-01 | 1 | -0/+7 |
| | |||||
* | Fix dependencies revealed by testing in isolation | Jeremy Kemper | 2009-04-22 | 2 | -0/+2 |
| | |||||
* | Explicitly require core extension under test | Jeremy Kemper | 2009-03-24 | 1 | -0/+1 |
| | |||||
* | Add query methods for superclass_delegating_reader | Jeremy Kemper | 2008-03-31 | 1 | -4/+14 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9156 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | require abstract_unit directly since test is in load path | Jeremy Kemper | 2008-01-05 | 3 | -5/+5 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8563 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Ruby 1.9 compat. References #1689 [Pratik Naik] | Jeremy Kemper | 2007-12-10 | 1 | -3/+3 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8363 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Add new superclass_delegating_accessors. Similar to class inheritable ↵ | Michael Koziarski | 2007-10-29 | 1 | -0/+105 |
| | | | | | | attributes but with subtly different semantics. [Koz, tarmo] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8056 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Improve various test coverage. Closes #8676 [kamal] | Jeremy Kemper | 2007-06-25 | 1 | -0/+16 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7117 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Added :instance_writer option to #mattr_writer/accessor, ↵ | Rick Olson | 2007-01-28 | 2 | -0/+239 |
#cattr_writer/accessor, and #class_inheritable_writer to skip the creation of the instance writer. [Rick] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6050 5ecf4fe2-1ee6-0310-87b1-e25e094e27de |