Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on May 12, 2012
  1. @steveklabnik

    Bumping to v0.13.0

    steveklabnik authored
  2. @steveklabnik

    Updating CHANGELOG

    steveklabnik authored
  3. @steveklabnik

    Merge pull request #189 from cheald/master

    steveklabnik authored
    Fix accidental clobbering of special ActiveModel methods
  4. @steveklabnik

    Merge pull request #192 from nashby/fix-generators

    steveklabnik authored
    use ApplicationDecorator if it's present
Commits on May 11, 2012
  1. @nashby
  2. @steveklabnik

    Updating README.

    steveklabnik authored
    Thanks @beerlington!
  3. @cheald

    Add missing file

    cheald authored
  4. @cheald

    If special ActiveModel methods like #id, #errors, and #to_param are d…

    cheald authored
    …efined directly on the decorator, do not redefine them as proxy methods.
Commits on May 9, 2012
  1. @steveklabnik
  2. @steveklabnik
  3. @steveklabnik

    Merge commit '0d3a369'

    steveklabnik authored
  4. @steveklabnik

    Change #to_model -> #wrapped_object

    steveklabnik authored
    This is a breaking change, but ActiveModel already uses
    to_model in a certain way.
  5. @steveklabnik

    Updating CHANGELOG

    steveklabnik authored
  6. @steveklabnik
  7. @steveklabnik

    Updating dependencies

    steveklabnik authored
  8. @steveklabnik
  9. @steveklabnik

    Drop support for old rubies.

    steveklabnik authored
    Rails will not support < 1.9.3 at Rails 4, so neither should we.
  10. @steveklabnik
  11. @steveklabnik

    updated changelog

    steveklabnik authored
  12. @steveklabnik

    Delegating a bunch of methods to #decorated_collection.

    steveklabnik authored
    Fixes #187.
    
    This is cleaner than the last two implementations. I'm not convinced
    that it's perfect, but it seems pretty good.
  13. @steveklabnik

    Proxying #shift.

    steveklabnik authored
    Fixes #185.
  14. @steveklabnik

    Proxy #last.

    steveklabnik authored
    Fixes #169
  15. @steveklabnik
  16. @steveklabnik
  17. @steveklabnik

    Adding capybara integration.

    steveklabnik authored
    Fixes #156
  18. @steveklabnik
  19. @steveklabnik

    Generators redux.

    steveklabnik authored
    Lots of changes here:
    
    * rake draper:install no longer needed
    * don't generate an ApplicationGenerator by default
    ** If one exists, the generator respects it
    * Fixes #53
  20. @steveklabnik

    Merge pull request #188 from cookrn/cookrn_i32_rails_loading

    steveklabnik authored
    Fix for Rails Loading Problems
  21. @cookrn

    Add `app/decorators` in the host Rails application to Rails autoload …

    cookrn authored
    …paths. Describe the reasoning behind each hook/callback. -- Issue #32
  22. @cookrn

    Use the ActiveSupport::Dependencies functionality for determining whe…

    cookrn authored
    …ther files should be `load`-ed or `require`-ed -- Issue #32
  23. @cookrn
Commits on May 8, 2012
  1. @steveklabnik

    Merge pull request #186 from nisargshah100/enumerable_proxy_context

    steveklabnik authored
    added context to enumerable
  2. @steveklabnik
  3. @nisargshah100
  4. @kurko

    Adds support for ActiveModel::Errors

    kurko authored
    The goal here is to improve ActiveModel support so that Draper can
    work seamlessly with Rails' FormHelpers, proxying the model's #errors
    method.
    
    I also added support for ActiveModel::Errors, adding a proxy to the
    model's #errors method only if it's a descendant of
    ActiveModel::Validations.
    
    Also some refactoring was done. Draper now proxies #to_param and #id
    methods only if the model is an ActiveModel descendant.
    
    Other things I did include:
    
    - created Draper::ActiveModelSupport::Proxies, which contains the
      methods for proxying default methods(to_param, id, etc) depending
    on the ancestors
    - wrote specs for class with ActiveModel as ancestor
    - wrote specs for class without ActiveModel as ancestor
Something went wrong with that request. Please try again.