All Versions
88
Latest Version
Avg Release Cycle
156 days
Latest Release
973 days ago

Changelog History
Page 2

  • v1.1.2 Changes

    August 17, 2013
    • โž• Add tests, appraisals, etc. back to the published gem ([#32][i32]). This is necessary because Debian wraps rr in a package, and they depend on the tests to be present in order to run them prior to packaging.
    • โž• Add back RR::Adapters::RSpec2 which was removed accidentally ([#34][i34]). This fixes failures when running tests against sham_rack (which is no longer using RR, but, oh well).
    • โœ‚ Remove deprecation warning about RSpec.configuration.backtrace_clean_patterns under RSpec 2.14 ([#37][i37]). NOTE: This warning will continue to appear if you are configuring RSpec using mock_with :rr. This is because the RR adapter bundled with RSpec still refers to backtrace_clean_patterns instead of backtrace_exclusion_patterns. You can either wait until the next release of rspec-core, or remove mock_with :rr (which is recommended at this point as we consider RSpec's adapter to be slightly out of date, and RR provides its own adapter for RSpec).
    • ๐Ÿš… RR now officially supports Rails 4.0.0. (It worked before, but now we're explicitly testing against it instead of 4.0.0.rc1.)
    • ๐Ÿ›  Fix Test::Unit 1 and 2 adapters to avoid a possible "undefined Test::Unit::TestCase" error.
    • Prevent adapters from being double-loaded.
    • โœ… Including RR::Adapters::TestUnit, RR::Adapters::MiniTest, or RR::Adapters::RSpec2 now just re-runs the autohook mechanism instead of building a fake adapter, as it was possible to include both a real and fake adapter in the same space and they could conflict with each other.
  • v1.1.2.rc1

    August 18, 2013
  • v1.1.1 Changes

    June 17, 2013
    • ๐Ÿ›  Fix incompatibility issues with Rails 4 ([#26][i26]) and Cucumber ([#29][i29]).
    • โž• Add missing adapter for Test::Unit 2.0.0 (version which is built into Ruby 1.9/2.0). The tests for Jekyll were failing because of this ([#27][i27]).
    • ๐Ÿ‘€ If an error occurs while checking to see whether an adapter applies or when loading the adapter itself, it is now swallowed so that the user can move on.
  • v1.1.1.rc1

    June 17, 2013
  • v1.1.0 Changes

    May 20, 2013

    ๐Ÿšš 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.
  • v1.1.0.rc3

    May 21, 2013
  • v1.1.0.rc2

    May 11, 2013
  • v1.1.0.rc1

    May 09, 2013
  • v1.0.5 Changes

    March 28, 2013
    • Compatibility with RSpec-2. There are now two adapters for RSpec, one that works with RSpec-1 and a new one that works with RSpec-2. Currently, saying RSpec.configure {|c| c.mock_with(:rr) } still uses RSpec-1; to use the new one, you say RSpec.configure {|c| c.mock_framework = RR::Adapters::RSpec2 }. ([#66][xi66], [#68][xi68], [#80][xi80]) [[@njay][njay], [@james2m][james2m]]
    • ๐Ÿ›  Fix MethodMissingInjection so that [stub].flatten works without throwing a NoMethodError (undefined methodto_ary'`) error under Ruby 1.9 ([#44][xi44])
    • โœ… Raise a MiniTest::Assertion error in the MiniTest adapter so that mock failures appear in the output as failures rather than uncaught exceptions ([#69][xi69]) [[@jayferd][jayferd]]
    • Completely remove leftover #new_instance_of method, and also remove mention of #new_instance_of from the README
    • ๐Ÿ›  Fix tests so they all work and pass again
  • v1.0.4 Changes

    June 11, 2011
    • ๐Ÿ›  Fixed bug using workaround with leftover MethodMissingInjections