Permalink
Commits on Mar 28, 2013
  1. @steveklabnik

    Fix equality to not use extend.

    This can totally kill performance.
    steveklabnik committed Mar 28, 2013
Commits on Mar 14, 2013
  1. @steveklabnik

    Merge pull request #500 from drueck/collection-decorated-with

    Decorated collection also responds to decorated_with?
    steveklabnik committed Mar 14, 2013
  2. @drueck
Commits on Mar 13, 2013
  1. @drueck
Commits on Mar 11, 2013
  1. @steveklabnik

    Merge pull request #494 from haines/sti

    Support STI in decorated associations
    steveklabnik committed Mar 11, 2013
  2. @steveklabnik

    Merge pull request #497 from haines/collection-decorator-kind-of

    Delegate CollectionDecorator#kind_of? to the underlying decorated collection
    steveklabnik committed Mar 11, 2013
  3. @haines

    alias -> alias_method

    haines committed Mar 11, 2013
  4. @jtrim @haines
Commits on Mar 10, 2013
  1. @haines

    Merge pull request #496 from artempartos/travis

    Stop manually installing bundler on Travis
    haines committed Mar 10, 2013
  2. @artempartos

    travis update bundler

    artempartos committed Mar 10, 2013
  3. @haines
  4. @haines

    Revert "Merge pull request #480 from urbanautomaton/decorator-namespa…

    …ce-option"
    
    This reverts commit f93542c, reversing
    changes made to f4dd9e0.
    haines committed Mar 10, 2013
Commits on Mar 6, 2013
  1. @nashby
  2. Fix typo

    Chuck Fitzpatrick committed Mar 6, 2013
Commits on Mar 5, 2013
  1. @steveklabnik

    Merge pull request #489 from haines/name_error

    Rescue specific NameErrors when inferring classes
    steveklabnik committed Mar 5, 2013
  2. @haines

    Rescue specific NameErrors when inferring classes

    The previous behavior swallowed genuine NameErrors (as opposed to
    failure to find the inferred class), for example when the user has
    not updated the decorator base class from Draper::Base.
    haines committed Mar 5, 2013
Commits on Mar 3, 2013
  1. @steveklabnik

    Merge pull request #486 from haines/scoped_deprecation

    Prevent Rails 4.0 deprecation warning for `scoped`
    steveklabnik committed Mar 3, 2013
  2. @haines
  3. @haines

    Install bundler stable

    haines committed Mar 3, 2013
  4. @haines

    Add MongoDB to Travis

    haines committed Mar 3, 2013
  5. @haines

    Prevent deprecation warning in Rails 4.0

    Use `all` instead of `scoped` if possible. Closes #484
    haines committed Mar 3, 2013
  6. @haines
  7. @haines

    Add reason for pending spec

    haines committed Mar 3, 2013
Commits on Feb 27, 2013
  1. @haines

    Install bundler pre

    haines committed Feb 27, 2013
  2. @haines

    Use https for RubyGems

    haines committed Feb 27, 2013
  3. @haines

    Update Code Climate badge

    [ci skip]
    haines committed Feb 27, 2013
  4. @haines

    Test against Ruby 2.0

    haines committed Feb 27, 2013
Commits on Feb 19, 2013
  1. @steveklabnik

    Merge pull request #480 from urbanautomaton/decorator-namespace-option

    Add option to specify namespace for decorator lookup
    steveklabnik committed Feb 19, 2013
  2. @urbanautomaton

    Add option to specify namespace for decorator lookup

    To use different decorators in different contexts (e.g. HTML rendering
    vs. API representation), the ability to specify a decorator namespace is
    added. For example:
    
        > Product.new.decorate
        => #<ProductDecorator:0x0000010b6e47e8>
        > Product.new.decorate(:namespace => HTML)
        => #<HTML::ProductDecorator:0x0000010b6e47e9>
    urbanautomaton committed Feb 18, 2013
  3. @steveklabnik

    Merge pull request #479 from haines/context_lambda

    Wrap context_args to avoid splatting hashes
    steveklabnik committed Feb 19, 2013
  4. @haines
Commits on Feb 17, 2013
  1. @steveklabnik

    Merge pull request #478 from haines/context_lambda

    Accept a lambda for context in factory
    steveklabnik committed Feb 17, 2013
  2. @steveklabnik

    Merge pull request #477 from haines/issue_465

    Define `before_remove_const` callback
    steveklabnik committed Feb 17, 2013
  3. @haines

    Accept a lambda for context

    Closes #467
    haines committed Feb 17, 2013
  4. @haines

    Define `before_remove_const` callback

    Closes #465
    haines committed Feb 17, 2013