Permalink
Commits on Aug 11, 2012
  1. Bump 0.16.0

    steveklabnik committed Aug 11, 2012
  2. Update CHANGELOG.txt

    steveklabnik committed Aug 11, 2012
    Added in all changes for 0.16.0
  3. Set view_context if it's nil.

    steveklabnik committed Aug 11, 2012
    This should take care of #244, but also in general, anywhere
    that we haven't primed the context yet.
Commits on Aug 9, 2012
  1. Merge pull request #250 from nathanpsouza/master

    steveklabnik committed Aug 9, 2012
     Fixing problem when comparing two decorated collections with eq matcher on rspec expect method
  2. Merge pull request #239 from iblue/sequel-support

    steveklabnik committed Aug 9, 2012
    Support for Sequel
  3. Removed useless comment

    iblue committed Aug 9, 2012
  4. Fixing problem when comparing two decorated collections with eq match…

    nathanpsouza committed Aug 9, 2012
    …er on rspec expect method
  5. Merge pull request #247 from haines/decorates_associations_options

    steveklabnik committed Aug 9, 2012
    Pass options to decorates_associations
  6. Merge pull request #245 from haines/decorate_everything

    steveklabnik committed Aug 9, 2012
    Include Draper::ModelSupport in ActiveRecord::Base
Commits on Aug 7, 2012
  1. Merge pull request #248 from stevenharman/use_before_setup_hook_when_…

    steveklabnik committed Aug 7, 2012
    …available
    
    Use the before_setup hook when it is available.
  2. Use the before_setup hook when it is available.

    stevenharman committed Aug 7, 2012
    * As of minitest 3.3 the `add_setup_hook` (and friends) are deprecated.
      Ruby 1.9 ships with an older version of minitest from before the new
      hooks were added, so we only use the `before_setup` hook when it is
      available, falling back to the old hooks for older minitests.
Commits on Aug 3, 2012
Commits on Jul 30, 2012
  1. Merge pull request #246 from beerlington/patch-1

    steveklabnik committed Jul 30, 2012
    Update note about Spork usage
  2. Update note about Spork usage

    beerlington committed Jul 30, 2012
    Readme suggested a deprecated path for requiring rspec_integration with Spork
Commits on Jul 27, 2012
  1. Correct name of specced module

    haines committed Jul 27, 2012
Commits on Jul 19, 2012
  1. Merge pull request #241 from rf-/view_context_cleanup

    steveklabnik committed Jul 19, 2012
    Restore view context patching to Action Mailer
Commits on Jul 18, 2012
  1. Merge pull request #238 from fringd/master

    steveklabnik committed Jul 18, 2012
    fix problem with html_escape being private
Commits on Jul 17, 2012
  1. Send the patch into AC::B.

    steveklabnik committed Jul 17, 2012
    Because of the way the tests worked, I assumed I had to put
    the patch into ApplicationController. It'll actually work in
    ActionController::Base, due to the way that the real code
    is structured.
    
    Yay stubs.
  2. Monkeypatch ActionController::Base.

    steveklabnik committed Jul 16, 2012
    We need to be able to let draper get a copy of the view_context
    no matter what happens. AC::Base doesn't really let us do that. So
    we have to monkeypatch.
    
    This was originally suggested in
    https://github.com/jcasimir/draper/issues/124#issuecomment-6954291
    by @rf-.
    
    It appears to be the cleanest way to take care of this problem, and
    shouldn't affect any other things, since we keep the exact same
    semantics of view_context.
    
    Theoretically:
    
    Fixes #124
    Fixes #109
  3. Fix ActiveRecord

    iblue committed Jul 17, 2012
Commits on Jul 16, 2012
  1. html_escape should work even though it's private

    fringd committed Jul 16, 2012
    * wrap the helpers in a simple object that publicizes all methods by
      calling send on method_missing
  2. Support for Sequel

    iblue committed Jul 16, 2012
  3. Merge pull request #237 from nashby/use-rspec-2-11

    steveklabnik committed Jul 16, 2012
    use to method with rspec expectation instead of should
  4. always delegate present?

    steveklabnik committed Jul 16, 2012
Commits on Jul 14, 2012
  1. bumping version

    steveklabnik committed Jul 14, 2012
Commits on Jun 28, 2012
  1. Merge pull request #232 from infbio/ammeter_version

    steveklabnik committed Jun 28, 2012
    Ammeter v0.2.6 breaks Draper's specs.