Commits on Feb 4, 2009
  1. Merge commit 'origin/master'

    committed Feb 4, 2009
Commits on Feb 1, 2009
  1. Prepare for 0.9.5 release.

    floehopper committed Feb 1, 2009
Commits on Jan 29, 2009
  1. Fixed a mistake in the docs and a mistake in the tests from tinogomes…

    … commit. Also tidied things up a bit e.g. it's enough to document and test 3 invocations, 2 invocations & 1 invocation - no need for 0 invocations.
    floehopper committed Jan 29, 2009
  2. As suggested by alloy in, changed some…

    …ass_eval's to metaclass.send's. Definitely looks simpler and clearer.
    floehopper committed Jan 29, 2009
  3. method twice expectation.

    tinogomes committed Jan 29, 2009
Commits on Jan 28, 2009
  1. Long overdue update to gemspec - I knew I would forget to do this man…

    …ually. Need to find an automated solution.
    floehopper committed Jan 28, 2009
  2. In Ruby 1.9, requiring 'test/unit' loads a thin wrapper around MiniTe…

    …st and Test::Unit::TestCase ends up inheriting from MiniTest::Unit::TestCase. So we need to avoid including the Mocha modules more than once to avoid nasty consequences.
    floehopper committed Jan 28, 2009
  3. Ruby 1.9 includes rake, but not rake/contrib. For the moment I've mov…

    …ed the sshpublisher require into the only rake task that needs it, so that I can at least run the tests in Ruby 1.9. It looks like I will need to build a rake/contrib gem or similar to get this working properly -
    floehopper committed Jan 28, 2009
Commits on Dec 30, 2008
  1. Prepare for 0.9.4 release.

    floehopper committed Dec 30, 2008
  2. Removed completed todo items.

    floehopper committed Dec 30, 2008
  3. Updated link to Chris Roos. Updated instructions for installing as a …

    …plugin (now from GitHub instead of RubyForge). Supplied a better link for downloading Mocha files from RubyForge.
    floehopper committed Dec 30, 2008
Commits on Dec 20, 2008
  1. Added mocha.gemspec file generated with Chad Woolley's new rake task,…

    … so that a floehopper-mocha gem will get built on GitHub.
    floehopper committed Dec 20, 2008
Commits on Dec 19, 2008
  1. Add rake task to update mocha.gemspec with unique version, which will…

    … cause gem to be auto-built on github
    thewoolleyman committed Dec 19, 2008
Commits on Dec 2, 2008
  1. ActiveRecordTestCase doesn't appear to be used any more. I think it u…

    …sed to be used to simulate what ActiveRecord when it messed with Test::Unit, so I could make sure Mocha worked with Rails.
    floehopper committed Dec 2, 2008
  2. As Tobias Crawley correctly pointed out in feature request #23055 "st…

    …ubs(with_hash) not working with existing object" [1], following the principle of least surprise, it should be possible to call ObjectMethods#expects & ObjectMethods#stubs with a Hash of method_names vs return_values like you can with Mock#expects & Mock#stubs. I've extracted out some shared logic into the ArgumentIterator - not sure this is the best solution, but at least it keeps duplication to a minimum. I've also updated & improved the docs to reflect the changes.
    floehopper committed Dec 2, 2008
Commits on Nov 27, 2008
Commits on Nov 26, 2008
  1. Merge commit 'origin/master'

    committed Nov 26, 2008
Commits on Nov 25, 2008
  1. Preparing for 0.9.3 release.

    floehopper committed Nov 25, 2008
  2. Added item to todo list.

    floehopper committed Nov 25, 2008
Commits on Nov 24, 2008
Commits on Nov 22, 2008
  1. As per Jay Fields recommendations [1] and with further impetus from a…

    … talk at Ruby Manor, any methods added to core classes are now added by including a module. This means that Mocha is a better citizen of the Ruby world and it's behaviour is more easily extended. [1] &
    floehopper committed Nov 22, 2008