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 matchstub([{: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 userequire 'rr/without_autohook'
instead ofrequire '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.