Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Commits on Apr 22, 2012
  1. @floehopper

    Disable jekyll processing for github pages.

    floehopper authored
    Files with leading underscores were not being served.
  2. @floehopper

    Remove SHAs and revision numbers from release notes.

    floehopper authored
    Since all but the very earliest releases are tagged in the git
    repository, these serve no useful purpose, make the release notes look
    ugly in YARD, and add to the work needed for a release.
Commits on Apr 21, 2012
  1. @floehopper
  2. @floehopper

    Add v0.11.0 to list of bad versions.

    floehopper authored
    Note that I have now "gem yanked" all 3 of these bad versions.
  3. @floehopper
  4. @floehopper
  5. @floehopper
  6. @floehopper

    Methods with block parameter were not restored properly in Ruby 1.8.7.

    floehopper authored
    - Converting the original method to a `Proc` meant we lost the block
      parameter in the restored version of the method.
    - Hopefully this fixes #76.
Commits on Apr 19, 2012
  1. @floehopper
  2. @floehopper
  3. @floehopper
  4. @floehopper

    Remove TODO list from repository.

    floehopper authored
    We only need this locally.
Commits on Apr 14, 2012
  1. @floehopper

    Exclude early versions of MiniTest gem from CI for Ruby 1.9.3.

    floehopper authored
    Since Ruby 1.9.3 includes much later versions of MiniTest, excluding
    these doesn't seem to lose much value.
Commits on Apr 13, 2012
  1. @floehopper
  2. @floehopper

    Merge pull request #75 from floehopper/alias-method-alternative

    floehopper authored
    Store original method rather than using alias_method.
    
    This should fix #41, #47, #74 and all tests should now pass on both Ruby 1.8.7 and 1.9.3.
  3. @floehopper
  4. @floehopper
  5. @floehopper

    MiniTest::Unit#run now seems to need an array of args.

    floehopper authored
    It seems like this is somehow backwardly compatible, but I haven't
    investigated closely. It may cause CI failures.
  6. @floehopper

    ClassMethod#hidden_method is no longer needed.

    floehopper authored
    This is because we no longer use alias_method to hide the original
    method; instead we store it in an instance variable and re-define it if
    appropriate.
  7. @floehopper

    AnyInstanceMethod no longer uses alias_method.

    floehopper authored
    - This brings it into line with ClassMethod & InstanceMethod which were
    changed in 1802fb936bc5a0cae46458b5f7e5b69e9dea6616. Storing the method
    in an instance variable seems like a more elegant solution and has the
    advantage of not changing the stubbed object's interface, albeit with an
    obfuscated method name.
    - As in ClassMethodTest, many tests in AnyInstanceTest are no longer
    appropriate for the new implementation and like many of the unit tests
    are in any case way too implementation-specific.
    - It should now be possible to remove ClassMethod#hidden_method, which
    was only being used by AnyInstanceMethod.
  8. @floehopper

    ClassMethod & InstanceMethod no longer use alias_method.

    floehopper authored
    - Instead of hiding the original method using alias_method, we can store
    it as an instance variable and re-define it later if appropriate.
    - Although all the tests are passing at this point, the tests in
    ClassMethodTest aren't all appropriate for the new implementation. In
    fact they are (like many of the unit tests) way too
    implementation-specific.
    - We also need to convert AnyInstanceMethod to work the same way. It
    should then be possible to remove ClassMethod#hidden_method.
  9. @floehopper

    Provide a mechanism to run multiple test method.

    floehopper authored
    It's sometimes useful to be able to run multiple tests from within a
    single acceptance test. This is now possible using
    TestRunner#run_as_tests and passing in multiple Proc objects.
  10. @floehopper
  11. @floehopper

    Never need to supply a test result to TestRunner#run_as_test.

    floehopper authored
    And in any case this doesn't work with MiniTest.
Commits on Apr 11, 2012
  1. @floehopper

    Prevent stubbing of methods on nil by default.

    floehopper authored
    - It seems very unlikely that anyone would ever intentionally stub
      a method on `nil`, since the instance of NilClass is effectively a
      singleton and stubbing a method will affect all "instances" of `nil`.
    - It is still possible to stub methods on `nil` by modifying the default
      `Configuration` setting for `:stubbing_method_on_nil`.
    - This should hopefully address some of the problems raised in #68.
Commits on Apr 10, 2012
  1. @floehopper
  2. @floehopper
  3. @floehopper
  4. @floehopper

    Attempting to stub a method on a frozen object should fail fast.

    floehopper authored
    - Since we will not be able to define a new method on the frozen object,
      it's better to fail fast and avoid leaving things in a bad state e.g.
      having hidden the original method.
    - Using the existing StubbingError seems appropriate and has the advantage
      of ensuring the backtrace points at the point where the stubbing was
      attempted.
    - This should hopefully address some of the issues in #68.
  5. @floehopper
  6. @floehopper

    Remove trailing whitespace.

    floehopper authored
  7. @floehopper

    Tidy up documentation.

    floehopper authored
    - Include UnexpectedInvocation exception in documentation.
    - Remove redundant rdoc annotations.
Commits on Apr 2, 2012
  1. @floehopper
  2. @floehopper
Commits on Mar 31, 2012
  1. @floehopper

    Change homepage to github pages.

    floehopper authored
    I'm no longer planning to maintain the rubyforge pages.
Something went wrong with that request. Please try again.