RR v1.1.0 Release Notes

Release Date: 2013-05-20 // almost 11 years ago
  • ๐Ÿšš NOTE: RR development moved from [btakita/rr][btakita-rr] to [rr/rr][rr-rr]. Issues are re-numbered beginning from 1 from this point on.

    • ๐Ÿ›  Fix a line in RR::Injections::DoubleInjection to use top-level RR constant ([#3][i3]) [[@Thibaut][Thibaut]]
    • ๐Ÿ›  Fix all wildcard matches so they work within hashes and arrays. This means that stub([hash_containing(:foo => 'bar')]) will match stub([{:foo => 'bar', :baz => 'qux'}]). ([#4][i4])
    • โœ… RR now auto-hooks into whichever test framework you have loaded; there is no longer a need to include RR::Adapters::Whatever into your test framework. If you don't like the autohook and prefer the old way, simply use require 'rr/without_autohook' instead of require 'rr'. (There are now nine adapters; see [lib/rr/autohook.rb][autohook] for the full list.)
    • ๐Ÿ›  Fix Test::Unit adapters to ensure that any additional teardown is completely run in the event that RR's verify step produces an error. This was causing weirdness when using Test::Unit alongside Rails. ([#2][i2])
    • โž• Add an explicit Test::Unit / ActiveSupport adapter. As ActiveSupport::TestCase introduces its own setup/teardown hooks, use these when autohooking in RR. ([#2][i2])
    • โž• Add support for Minitest 5
    • ๐Ÿš€ Upon release, the tests are now packaged up and uploaded to S3. This is for Linux distros like Fedora who wrap gems in RPM packages. You can always find the latest tests at http://s3.amazonaws.com/rubygem-rr/tests/vX.Y.Z.tar.gz, where X.Y.Z represents a version. I have retroactively packaged the tests for 1.0.4 and 1.0.5.