Permalink
Commits on May 15, 2012
  1. Bump

    steveklabnik committed May 15, 2012
Commits on May 12, 2012
  1. Bump to 0.12.2

    steveklabnik committed May 12, 2012
  2. Updating Changelog

    steveklabnik committed May 12, 2012
  3. bumping to 0.12.1

    steveklabnik committed May 12, 2012
  4. Updating README.

    Thanks @beerlington!
    steveklabnik committed May 11, 2012
  5. Making some gems dev only

    Picking the old versions this time though.
    steveklabnik committed May 9, 2012
Commits on May 9, 2012
  1. updated changelog

    steveklabnik committed May 9, 2012
  2. Delegating a bunch of methods to #decorated_collection.

    Fixes #187.
    
    This is cleaner than the last two implementations. I'm not convinced
    that it's perfect, but it seems pretty good.
    steveklabnik committed May 9, 2012
  3. Proxying #shift.

    Fixes #185.
    steveklabnik committed May 9, 2012
  4. Proxy #last.

    Fixes #169
    steveklabnik committed May 9, 2012
  5. Adding capybara integration.

    Fixes #156
    steveklabnik committed May 9, 2012
  6. Generators redux.

    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
    steveklabnik committed May 9, 2012
  7. Merge pull request #188 from cookrn/cookrn_i32_rails_loading

    Fix for Rails Loading Problems
    steveklabnik committed May 9, 2012
  8. Add `app/decorators` in the host Rails application to Rails autoload …

    …paths. Describe the reasoning behind each hook/callback. -- Issue #32
    cookrn committed May 9, 2012
  9. Use the ActiveSupport::Dependencies functionality for determining whe…

    …ther files should be `load`-ed or `require`-ed -- Issue #32
    cookrn committed May 9, 2012
Commits on May 8, 2012
  1. Merge pull request #186 from nisargshah100/enumerable_proxy_context

    added context to enumerable
    steveklabnik committed May 8, 2012
  2. Adds support for ActiveModel::Errors

    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
    kurko committed May 8, 2012
Commits on May 6, 2012
  1. Merge pull request #184 from cheald/master

    Add a TestRequest and params hash to Draper RSpec tests
    steveklabnik committed May 6, 2012
Commits on May 5, 2012
Commits on Apr 28, 2012
  1. Merge pull request #182 from nashby/generators

    automatically detect test framework in generators
    steveklabnik committed Apr 28, 2012
  2. rework generators

    nashby committed Apr 28, 2012
Commits on Apr 25, 2012
  1. Merge pull request #179 from nashby/new-lines

    add new lines
    steveklabnik committed Apr 25, 2012
  2. add new lines 😓

    nashby committed Apr 25, 2012
  3. Merge pull request #178 from bloudermilk/patch-1

    Fixes typo in README advocating incorrect usage of the generator
    steveklabnik committed Apr 25, 2012