Skip to content
This repository

Nov 29, 2011

  1. Aaron Patterson

    Module#synchronize is deprecated with no replacement. Please use `mon…

    …itor` from ruby's standard library.
    tenderlove authored

Oct 30, 2011

  1. Xavier Noria

    defines Module#qualified_const_(defined?|get|set) and String#deconsta…

    …ntize
    
    This commit also implements a faster version of #demodulize I was unable
    to isolate with git add --patch.
    
    Not a big fan of the name #deconstantize. It complements #demodulize
    getting rid of the rightmost constant, hence the name, but it is
    unrelated to the well-known #constantize. So unsure. Could not come
    with anything better, please feel free to rename.
    fxn authored

Sep 23, 2011

  1. José Valim

    Use safe_constantize where possible.

    josevalim authored

Aug 25, 2011

  1. Jon Leighton

    Revert all the stuff to do with disallowing non-public methods for Mo…

    …dule#delegate
    jonleighton authored

Aug 16, 2011

  1. Xavier Noria

    prefer ends_with? over slicing

    fxn authored

Aug 15, 2011

  1. Jon Leighton

    Add a test for delegating a method ending in '=' as this is a special…

    … case.
    jonleighton authored
  2. Arun Agrawal

    Need to include public_send

    arunagw authored
  3. Jon Leighton

    Split up the definitions in Module#delegate depending on :allow_nil, …

    …and don't use exceptions for flow control in the :allow_nil => true case.
    jonleighton authored
  4. Jon Leighton

    Fix the line number in the backtrace when Module#delegate raises

    jonleighton authored
  5. Jon Leighton

    Just do the method call directly in Module#delegate, if we can (we ca…

    …nnot for method names ending in '='). Two reasons: 1) it's faster, see https://gist.github.com/1089783 and 2) more importantly, delegate should not allow you to accidentally call private or protected methods.
    jonleighton authored

Aug 06, 2011

  1. Evan Light

    Refactored to more closely resemble idiom applied for on_nil

    elight authored

Aug 01, 2011

  1. Dmitriy Kiriyenko

    Remove unnecessary require (happened after fcbde45)

Jul 31, 2011

  1. Brad Ediger

    remove_possible_method: test if method exists

    This speeds up remove_possible_method substantially since it doesn't
    have to rescue a NameError in the common case.
    
    Closes #2346.
    bradediger authored

Jul 17, 2011

  1. Jon Leighton

    Don't do remove_possible_method when delegate is used. Two reasons: 1…

    …) warnings should be shown, and fixed at the source and 2) the code is slow. Fixes #1937.
    jonleighton authored

Jun 14, 2011

  1. Vijay Dev

    Added instance_accessor: false to Module#mattr_accessor

    vijaydev authored

Jun 09, 2011

  1. Ben Orenstein

    Simplify boolean logic into ternary.

    r00k authored

May 25, 2011

  1. Josh Kalderimis

    Removed deprecated methods and related tests from ActiveSupport

    joshk authored

May 16, 2011

  1. José Valim

    Deprecate attr_accessor_with_default.

    josevalim authored

May 12, 2011

  1. Josh Kalderimis

    Remove a circular require in AS deprecations. This is safe as AS depr…

    …ecations is autoloaded as needed.
    joshk authored

Mar 12, 2011

  1. adds a couple of missing AS dependencies

    Rolf Timmermans authored fxn committed

Feb 19, 2011

  1. Ben Orenstein

    Improve clarity of example. Make it follow guidelines for output disp…

    …lay.
    r00k authored

Nov 24, 2010

  1. James Tucker

    Don't depend on rubygems loading thread (for Mutex)

    raggi authored tenderlove committed

Sep 27, 2010

  1. Use native attr_* macros for performance reasons.

    thedarkone authored

Sep 25, 2010

  1. Мар'ян Крекотень (Marjan Krekoteń)

    Fix 'warning: method redefined' [#5551 state:resolved]

    Signed-off-by: José Valim <jose.valim@gmail.com>
    krekoten authored josevalim committed

Sep 24, 2010

  1. Aaron Patterson

    attr_accessor_with_default should raise an ArgumentError not a Runtim…

    …eError
    tenderlove authored

Sep 01, 2010

  1. Neeraj Singh

    delegate method should treat :prefix => false same as :prefix => nil

    [#5375 state:resolved]
    
    Signed-off-by: José Valim <jose.valim@gmail.com>
    neerajdotname authored josevalim committed

Aug 14, 2010

  1. Santiago Pastorino

    Deletes trailing whitespaces (over text files only find * -type f -ex…

    …ec sed 's/[ \t]*$//' -i {} \;)
    spastorino authored

Jul 19, 2010

  1. Łukasz Strzałkowski

    Introduced redefine_method

    strzalek authored tenderlove committed

Jul 17, 2010

  1. Santiago Pastorino

    It's not needed to initialize the attr when calling mattr_writer

    spastorino authored tenderlove committed

May 20, 2010

  1. Santiago Pastorino

    refactor evals and adds some __FILE__ and __LINE__

    Signed-off-by: José Valim <jose.valim@gmail.com>
    spastorino authored josevalim committed

Apr 09, 2010

  1. Santiago Pastorino

    fix stack trace lines on class_eval

    Signed-off-by: José Valim <jose.valim@gmail.com>
    spastorino authored josevalim committed

Apr 08, 2010

  1. Aaron Patterson

    fisting stack trace [#4349 state:resolved]

    Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
    tenderlove authored jeremy committed

Mar 27, 2010

  1. Santiago Pastorino

    LINE on class_eval need + 1, also removed comments [#4281 state:commi…

    …tted]
    
    Signed-off-by: José Valim <jose.valim@gmail.com>
    spastorino authored josevalim committed
  2. fixing inconsistency with cattr_reader and matter_reader [#4172 state…

    …:resolved]
    
    Signed-off-by: wycats <wycats@gmail.com>
    RipTheJacker authored wycats committed

Mar 26, 2010

  1. Yehuda Katz

    Merge branch 'master' into docrails

    wycats authored
Something went wrong with that request. Please try again.