Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Commits on Feb 4, 2009
  1. Merge commit 'origin/master'

    authored
    Conflicts:
    	Rakefile
    	lib/mocha.rb
Commits on Feb 1, 2009
  1. @floehopper
  2. @floehopper
  3. @floehopper
  4. @floehopper
  5. @floehopper
  6. @floehopper

    Prepare for 0.9.5 release.

    floehopper authored
Commits on Jan 29, 2009
  1. @floehopper
  2. @floehopper
  3. @floehopper

    Fixed a mistake in the docs and a mistake in the tests from tinogomes…

    floehopper authored
    … 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.
  4. @floehopper
  5. @floehopper

    As suggested by alloy in http://is.gd/hEZA, changed some metaclass.cl…

    floehopper authored
    …ass_eval's to metaclass.send's. Definitely looks simpler and clearer.
  6. @tinogomes

    method twice expectation.

    tinogomes authored
Commits on Jan 28, 2009
  1. @floehopper

    Long overdue update to gemspec - I knew I would forget to do this man…

    floehopper authored
    …ually. Need to find an automated solution.
  2. @floehopper

    In Ruby 1.9, requiring 'test/unit' loads a thin wrapper around MiniTe…

    floehopper authored
    …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.
  3. @floehopper

    Ruby 1.9 includes rake, but not rake/contrib. For the moment I've mov…

    floehopper authored
    …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 - http://intertwingly.net/blog/2008/01/07/Rake-Contrib-for-1-9
Commits on Dec 30, 2008
  1. @floehopper

    Prepare for 0.9.4 release.

    floehopper authored
  2. @floehopper
  3. @floehopper

    Updated link to Chris Roos. Updated instructions for installing as a …

    floehopper authored
    …plugin (now from GitHub instead of RubyForge). Supplied a better link for downloading Mocha files from RubyForge.
Commits on Dec 20, 2008
  1. @floehopper
  2. @floehopper
  3. @floehopper

    Added mocha.gemspec file generated with Chad Woolley's new rake task,…

    floehopper authored
    … so that a floehopper-mocha gem will get built on GitHub.
Commits on Dec 19, 2008
  1. @thewoolleyman

    Add rake task to update mocha.gemspec with unique version, which will…

    thewoolleyman authored
    … cause gem to be auto-built on github
Commits on Dec 2, 2008
  1. @floehopper

    ActiveRecordTestCase doesn't appear to be used any more. I think it u…

    floehopper authored
    …sed to be used to simulate what ActiveRecord when it messed with Test::Unit, so I could make sure Mocha worked with Rails.
  2. @floehopper

    As Tobias Crawley correctly pointed out in feature request #23055 "st…

    floehopper authored
    …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.
    
    [1] http://rubyforge.org/tracker/index.php?func=detail&aid=23055&group_id=1917&atid=7480
Commits on Nov 27, 2008
  1. @floehopper
  2. @floehopper
Commits on Nov 26, 2008
  1. Merge commit 'origin/master'

    authored
Commits on Nov 25, 2008
  1. @floehopper
  2. @floehopper

    Added item to todo list.

    floehopper authored
Commits on Nov 24, 2008
Commits on Nov 22, 2008
  1. @floehopper
  2. @floehopper
  3. @floehopper

    As per Jay Fields recommendations [1] and with further impetus from a…

    floehopper authored
    … 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] http://blog.jayfields.com/2008/07/ruby-underuse-of-modules.html & http://blog.jayfields.com/2008/07/ruby-redefine-method-behavior.html
Something went wrong with that request. Please try again.