Revisions of rubygem-rspec-expectations
Stephan Kulow (coolo)
committed
(revision 20)
update
buildservice-autocommit
accepted
request 284558
from
Stephan Kulow (coolo)
(revision 19)
baserev update by copy to link target
Stephan Kulow (coolo)
committed
(revision 18)
- updated to version 3.2.0 Enhancements: * Add `block_arg` method to custom matcher API, which allows you to access the block passed to a custom matcher, if there is one. (Mike Dalton, #645) * Provide more detail in failure message of `yield_control` matcher. (Jon Rowe, #650) * Add a shorthand syntax for `chain` in the matcher DSL which assigns values for use elsewhere, for example `chain :and_smaller_than, :small_value` creates an `attr_reader` for `small_value` (Tom Stuart, #644) * Provide a more helpful deprecation message when using the `should` syntax. (Elia Schito, #663) * Provide more detail in the `have_attributes` matcher failure message. (Jon Rowe, #668) * Make the `have_attributes` matcher diffable. (Jon Rowe, Alexey Fedorov, #668) * Add `output(...).to_std(out|err)_from_any_process` as alternatives to `output(...).to_std(out|err)`. The latter doesn't work when a sub process writes to the named stream but is much faster. (Alex Genco, #700) * Improve compound matchers (created by `and` and `or`) so that diffs are included in failures when one or more of their matchers are diffable. (Alexey Fedorov, #713) Bug Fixes: * Avoid calling `private_methods` from the `be` predicate matcher on the target object if the object publicly responds to the predicate method. This avoids a possible error that can occur if the object
Thomas Boerger (tboerger)
accepted
request 282101
from
Dirk Mueller (dirkmueller)
(revision 17)
- update to 3.1.2: * Rails 4.1 enablement [ full changelog is very long, see https://github.com/rspec/rspec-expectations/blob/master/Changelog.md for details ]
buildservice-autocommit
accepted
request 256107
from
Stephan Kulow (coolo)
(revision 16)
baserev update by copy to link target
Stephan Kulow (coolo)
accepted
request 255952
from
Stephan Kulow (coolo)
(revision 15)
adapt to new rubygem packaging
buildservice-autocommit
accepted
request 221435
from
Factory Maintainer (factory-maintainer)
(revision 14)
baserev update by copy to link target
Stephan Kulow (coolo)
committed
(revision 13)
update
buildservice-autocommit
accepted
request 208100
from
Factory Maintainer (factory-maintainer)
(revision 12)
baserev update by copy to link target
Stephan Kulow (coolo)
committed
(revision 11)
update
buildservice-autocommit
accepted
request 203826
from
Factory Maintainer (factory-maintainer)
(revision 10)
baserev update by copy to link target
Tomáš Chvátal (scarabeus_factory)
accepted
request 201912
from
Josef Reidinger (jreidinger)
(revision 9)
initialized devel package after accepting 201912
Stephan Kulow (coolo)
committed
(revision 8)
update
Stephan Kulow (coolo)
committed
(revision 7)
update
Stephan Kulow (coolo)
committed
(revision 6)
update
Stephan Kulow (coolo)
committed
(revision 5)
- updated to version 2.13.0 Enhancements * Add support for percent deltas to `be_within` matcher: `expect(value).to be_within(10).percent_of(expected)` (Myron Marston). * Add support to `include` matcher to allow it to be given a list of matchers as the expecteds to match against (Luke Redpath). Bug fixes * Fix `change` matcher so that it dups strings in order to handle mutated strings (Myron Marston). * Fix `should be =~ /some regex/` / `expect(...).to be =~ /some regex/`. Previously, these either failed with a confusing `undefined method matches?' for false:FalseClass` error or were no-ops that didn't actually verify anything (Myron Marston). * Add compatibility for diff-lcs 1.2 and relax the version constraint (Peter Goldstein). * Fix DSL-generated matchers to allow multiple instances of the same matcher in the same example to have different description and failure messages based on the expected value (Myron Marston). * Prevent `undefined method #split for Array` error when dumping the diff of an array of multiline strings (Myron Marston). * Don't blow up when comparing strings that are in an encoding that is not ASCII compatible (Myron Marston). * Remove confusing "Check the implementation of #==" message printed for empty diffs (Myron Marston).
Stephan Kulow (coolo)
committed
(revision 4)
- updated to version 2.12.1 [full changelog](http://github.com/rspec/rspec-expectations/compare/v2.12.0...v2.12.1) Bug fixes * Improve the failure message for an expression like `{}.should =~ {}`. (Myron Marston and Andy Lindeman) * Provide a `match_regex` alias so that custom matchers built using the matcher DSL can use it (since `match` is a different method in that context). (Steven Harman)
Stephan Kulow (coolo)
committed
(revision 3)
- updated to version 2.12.0 Enhancements * Colorize diffs if the `--color` option is configured. (Alex Coplan) * Include backtraces in unexpected errors handled by `raise_error` matcher (Myron Marston) * Print a warning when users accidentally pass a non-string argument as an expectation message (Sam Phippen) * `=~` and `match_array` matchers output a more useful error message when the actual value is not an array (or an object that responds to `#to_ary`) (Sam Phippen) Bug fixes * Fix `include` matcher so that `expect({}).to include(:a => nil)` fails as it should (Sam Phippen). * Fix `be_an_instance_of` matcher so that `Class#to_s` is used in the description rather than `Class#inspect`, since some classes (like `ActiveRecord::Base`) define a long, verbose `#inspect`. (Tom Stuart)
Stephan Kulow (coolo)
committed
(revision 2)
- updated to version 2.11.3 [full changelog](http://github.com/rspec/rspec-expectations/compare/v2.11.2...v.2.11.3) Bug fixes * Fix (and deprecate) `expect { }.should` syntax so that it works even though it was never a documented or intended syntax. It worked as a consequence of the implementation of `expect` in RSpec 2.10 and earlier. (Myron Marston) * Ensure #== is defined on build in matchers so that they can be composed. For example: expect { user.emailed! }.to change { user.last_emailed_at }.to be_within(1.second).of(Time.zone.now)
Stephan Kulow (coolo)
committed
(revision 1)
- initial package
Displaying revisions 41 - 60 of 60