Skip to content

Latest commit

 

History

History
177 lines (119 loc) · 5.91 KB

Changelog.md

File metadata and controls

177 lines (119 loc) · 5.91 KB

Development

Full Changelog

Enhancements:

  • Improve MethodSignature to better support keyword arguments. (#250, Rob Smith).

Bug Fixes:

  • Fix ObjectFormatter so that formatting objects that don't respond to #inspect (such as BasicObject) does not cause NoMethodError. (Yuji Nakayama, #269)
  • Fix ObjectFormatter so that formatting recursive array or hash does not cause SystemStackError. (Yuji Nakayama, #270, #272)

3.5.0.beta1 / 2016-02-06

Full Changelog

Enhancements:

  • Improve formatting of objects by allowing truncation to a pre-configured length. (Liam M, #256)

3.4.1 / 2015-11-20

Full Changelog

Bug Fixes:

  • Fix RSpec::Support::RubyFeature.ripper_supported? so it returns false on Rubinius since the Rubinius team has no plans to support it. This prevents rspec-core from trying to load and use ripper to extract failure snippets. (Aaron Stone, #251)

Changes:

  • Remove VersionChecker in favor of ComparableVersion. (Yuji Nakayama, #266)

3.4.0 / 2015-11-11

Full Changelog

Enhancements:

  • Improve formatting of Delegator based objects (e.g. SimpleDelgator) in failure messages and diffs. (Andrew Horner, #215)
  • Add ComparableVersion. (Yuji Nakayama, #245)
  • Add Ripper support detection. (Yuji Nakayama, #245)

Bug Fixes:

  • Work around bug in JRuby that reports that attr_writer methods have no parameters, causing RSpec's verifying doubles to wrongly fail when mocking or stubbing a writer method on JRuby. (Myron Marston, #225)

3.3.0 / 2015-06-12

Full Changelog

Enhancements:

  • Improve formatting of arrays and hashes in failure messages so they use our custom formatting of matchers, time objects, etc. (Myron Marston, Nicholas Chmielewski, #205)
  • Use improved formatting for diffs as well. (Nicholas Chmielewski, #205)

Bug Fixes:

  • Fix FuzzyMatcher so that it checks expected == actual rather than actual == expected, which avoids errors in situations where the actual object's == is improperly implemented to assume that only objects of the same type will be given. This allows rspec-mocks' anything to match against objects with buggy == definitions. (Myron Marston, #193)

3.2.2 / 2015-02-23

Full Changelog

Bug Fixes:

  • Fix an encoding issue with EncodedString#split when encountering an invalid byte string. (Benjamin Fleischer, #1760)

3.2.1 / 2015-02-04

Full Changelog

Bug Fixes:

  • Fix RSpec::CallerFilter to work on Rubinius 2.2. (Myron Marston, #169)

3.2.0 / 2015-02-03

Full Changelog

Enhancements:

  • Add extra Ruby type detection. (Jon Rowe, #133)
  • Make differ instance re-usable. (Alexey Fedorov, #160)

Bug Fixes:

  • Do not consider [] and {} to match when performing fuzzy matching. (Myron Marston, #157)

3.1.2 / 2014-10-08

Full Changelog

Bug Fixes:

  • Fix method signature to not blow up with a NoMethodError on 1.8.7 when verifying against an RSpec matcher. (Myron Marston, #116)

3.1.1 / 2014-09-26

Full Changelog

Bug Fixes:

  • Fix RSpec::Support::DirectoryMaker (used by rspec --init and rails generate rspec:install) so that it detects absolute paths on Windows properly. (Scott Archer, #107, #108, #109) (Jon Rowe, #110)

3.1.0 / 2014-09-04

Full Changelog

Bug Fixes:

  • Fix FuzzyMatcher so that it does not wrongly match a struct against an array. (Myron Marston, #97)
  • Prevent infinitely recursing #flatten methods from causing the differ to hang. (Jon Rowe, #101)

3.0.4 / 2014-08-14

Full Changelog

Bug Fixes:

  • Fix FuzzyMatcher so that it does not silence ArgumentError raised from broken implementations of ==. (Myron Marston, #94)

3.0.3 / 2014-07-21

Full Changelog

Bug Fixes:

  • Fix regression in Support#method_handle_for where proxy objects with method delegated would wrongly not return a method handle. (Jon Rowe, #90)
  • Properly detect Module#prepend support in Ruby 2.1+ (Ben Langfeld, #91)
  • Fix rspec/support/warnings.rb so it can be loaded and used in isolation. (Myron Marston, #93)

3.0.2 / 2014-06-20

Full Changelog

3.0.1 / 2014-06-19

Full Changelog

  • Fix BlockSignature so that it correctly differentiates between required and optional block args. (Myron Marston, rspec-mocks#714)

3.0.0 / 2014-06-01

Full Changelog

3.0.0.rc1 / 2014-05-18

Full Changelog

3.0.0.beta2 / 2014-02-17

Full Changelog

Bug Fixes:

  • Issue message when :replacement is passed to RSpec.warn_with. (Jon Rowe)

3.0.0.beta1 / 2013-11-07

Full Changelog

Initial release.