Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Comparing changes

Choose two branches to see what's changed or to start a new pull request. If you need to, you can also compare across forks.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also compare across forks.
base fork: rspec/rspec-expectations
...
head fork: rspec/rspec-expectations
Checking mergeability… Don't worry, you can still create the pull request.
This comparison is big! We're only showing the most recent 250 commits
Commits on Jul 09, 2014
@oveddan oveddan add chained expectation descriptions to the default descriptions of c…
…ustom matchers with fluent interfaces

this fixes #532
e161ca7
Commits on Jul 10, 2014
@myronmarston myronmarston Alias corrected constant name to old misspelling.
The misspelled version was released in 3.0. Removing
it in 3.x releases would be a SemVer violation, so we’ll
provide an alias.

This is a follow up to #563.
9a651ce
@myronmarston myronmarston Merge pull request #601 from rspec/provide-backwards-compat-constant
Alias corrected constant name to old misspelling.
11517a1
Commits on Jul 12, 2014
@cgriego cgriego Don't inadvertently define BasicObject
Closes #602
e00d9c9
@JonRowe JonRowe Merge pull request #603 from cgriego/patch-1
Don't inadvertently define BasicObject
47cc438
@JonRowe JonRowe changelog for #603 e4674ca
Commits on Jul 13, 2014
@xaviershay xaviershay Support BasicObject in is_a_matcher?
2896d38
@xaviershay xaviershay Register is_a_matcher? with RSpec::Support
86d71ca
Commits on Jul 15, 2014
@xaviershay xaviershay Rename MethodSignatureVerifier to StrictSignatureVerifier. 40ddbac
Commits on Jul 19, 2014
@myronmarston myronmarston Make `include` fail gracefully for invalid objects. e5ca65f
Commits on Jul 20, 2014
@myronmarston myronmarston Merge pull request #607 from rspec/fix-include-for-invalid-types
Make `include` fail gracefully for invalid objects.
861609f
Commits on Jul 21, 2014
@myronmarston myronmarston Forwardport 2.99.2 release notes.
[ci skip]
023297d
@myronmarston myronmarston Forwardport 3.0.3 release notes.
[ci skip]
197c287
@myronmarston myronmarston Fix changelog link.
[ci skip]
98a1cf6
@myronmarston myronmarston Move misplaced changelog entry.
[ci skip]
07f5939
Commits on Jul 22, 2014
@myronmarston myronmarston Fix typo in docs.
[ci skip]
775f931
Commits on Jul 23, 2014
@oveddan oveddan Added RSpec::Matchers.configuration.include_chain_clauses_in_custom_m…
…atcher_descriptions that

when set to true, custom matcher descriptions and failure messages will include clauses from
methods defined using `chain`.

Fixed some code to match the naming conventions

Fixes #532
e36ab5b
@myronmarston myronmarston Merge pull request #600 from oveddan/chained-matcher-descriptions
add chained expectation descriptions to the default descriptions of custom matchers with fluent interfaces
0ba1f39
@myronmarston myronmarston Clarify docs a bit.
401646c
@myronmarston myronmarston Use a new config instance for these specs.
- Makes the `it "is false by default"` spec more accurate (as a new
  instance demonstrates the default more accurately then manually
  setting it to `nil`).
- Prevents the changes here from "leaking" into other specs;
  previously, the mutation to the global config could affect
  other specs.
93709fd
@myronmarston myronmarston Set the `include_chain_clauses...` config globally.
This is more desirable behavior and will be the
default in RSpec 4.
a0e6d22
@myronmarston myronmarston Add changelog for #600. 647bc39
@myronmarston myronmarston Merge pull request #609 from rspec/pr-600-fixups
Pr 600 followups
099d882
Commits on Jul 31, 2014
@fimmtiu fimmtiu Add 'thrice' expectation. ad601ba
Commits on Aug 02, 2014
@myronmarston myronmarston Add shared spec to prevent load-time warnings. 18dd4a0
@JonRowe JonRowe Merge pull request #616 from rspec/prevent-load-time-warnings
Prevent load time warnings
62efbf6
@xaviershay xaviershay Merge pull request #604 from rspec/kw-args-fix
KW args fix
bfb7961
Commits on Aug 06, 2014
@fimmtiu fimmtiu Updated Changelog for thrice.
bae1c69
@fimmtiu fimmtiu Updated yield specs as per request. 3a4a767
@myronmarston myronmarston Merge pull request #615 from fimmtiu/add-thrice
Add 'thrice' expectation.
44005a5
@myronmarston myronmarston Reword changelog entry and docs a bit. 9c25a46
Commits on Aug 07, 2014
@myronmarston myronmarston Fix `==` and `===` on aliased matchers.
We had undefined them to support aliases of the `be`
matchers, but this makes `==` behave wrongly.
7719a18
@myronmarston myronmarston Add `define_negated_matcher`
This replaces #547.
Fixes #527.
Fixes #493.
f46df80
@myronmarston myronmarston Merge pull request #618 from rspec/pr-547-fixed-up
Add `define_negated_matcher`
1dd6f86
Commits on Aug 08, 2014
@myronmarston myronmarston Handle structs properly in `start_with` and `end_with`.
c03cdc7
@myronmarston myronmarston Don't treat structs as arrays when cloning matchers.
Fixes #619.
e0031dc
@myronmarston myronmarston Merge pull request #620 from rspec/problem-with-struct-composability
Problem with struct composability
2737a0f
@myronmarston myronmarston Add missing changelog entry.
[ci skip]
1f4a6d9
@myronmarston myronmarston Restore formatting for `all` failure messages.
This changed in c03cdc7.
It was a consequence of fixing `Pretty#to_sentence`, but
as it turns out, we don’t even need to use that. It reads
better without the parens, so this restores the old formatting.
71006cf
@myronmarston myronmarston Merge pull request #621 from rspec/fix-all-failure-messages
Restore formatting for `all` failure messages.
a72203a
@haosu haosu Fix all matcher exception when actual not enumerable
When the action value of passed to the `all` matcher is not enumerable,
rather than failing to match and returning an error it raises an
exception. This commit ensures that `actual` is enumerable before
proceeding with matching.
5b4dc0c
Commits on Aug 09, 2014
@myronmarston myronmarston Updated travis build scripts (from rspec-dev) fa40bc2
@myronmarston myronmarston Leverage our base rubocop file. ca0733e
@myronmarston myronmarston Merge pull request #623 from rspec/update-travis-build-scripts-2014-0…
…8-08-for-master

Updates from rspec-dev (2014-08-08)
2b6435d
Commits on Aug 11, 2014
@myronmarston myronmarston Merge pull request #622 from haosu/fix/all-matcher-exception
Fix all matcher exception when actual not enumerable
8022e44
@myronmarston myronmarston Follow up to #622.
- Inline not_enumerable_clause.
- Changelog entry.
5b8be78
Commits on Aug 12, 2014
@myronmarston myronmarston Updated travis build scripts (from rspec-dev) 4c54da4
@myronmarston myronmarston Merge pull request #624 from rspec/update-travis-build-scripts-2014-0…
…8-12-for-master

Updates from rspec-dev (2014-08-12)
a6e9ee8
Commits on Aug 14, 2014
@myronmarston myronmarston Forwardport 3.0.4 release notes. 6bebe13
Commits on Aug 16, 2014
@JonRowe JonRowe tweak `change` chained interface docs
[skip ci]
7d1680a
@myronmarston myronmarston Merge pull request #630 from rspec/tweak_docs_for_chaining_change
Tweak `change` chained interface docs
545ee32
Commits on Aug 17, 2014
@JonRowe JonRowe support negation for the contain_exactly matcher 32c0039
@JonRowe JonRowe update docs removing mention about lack of support
[skip ci]
3f7b3e4
@JonRowe JonRowe changelog for #626
[skip ci]
0eb91c8
@JonRowe JonRowe Merge pull request #626 from rspec/support_negation_on_contain_exactly
Support negation for the contain_exactly matcher
288412d
Commits on Aug 19, 2014
@cupakromer cupakromer Updated travis build scripts (from rspec-dev) cfd3699
Commits on Aug 20, 2014
@cupakromer cupakromer Merge pull request #633 from rspec/update-travis-build-scripts-2014-0…
…8-19-for-master

Updates from rspec-dev (2014-08-19)
1edc9aa
Commits on Aug 22, 2014
@myronmarston myronmarston Updated travis build scripts (from rspec-dev) 292d523
@myronmarston myronmarston Merge pull request #635 from rspec/update-travis-build-scripts-2014-0…
…8-22-for-master

Updates from rspec-dev (2014-08-22)
95bcb4b
Commits on Aug 24, 2014
@myronmarston myronmarston Updated travis build scripts (from rspec-dev) a5d63d1
@myronmarston myronmarston Provide explanation and work around for negated compound matchers. c93c668
@myronmarston myronmarston Merge pull request #636 from rspec/update-travis-build-scripts-2014-0…
…8-23-for-master

Updates from rspec-dev (2014-08-23)
86a01d5
Commits on Aug 27, 2014
@myronmarston myronmarston Merge pull request #637 from rspec/better-message-for-negated-compound
Provide explanation and work around for negated compound matchers.
e23338a
@myronmarston myronmarston Address ruby warnings. ff78d72
@JonRowe JonRowe Merge pull request #640 from rspec/fix-spec-warnings
Address ruby warnings.
68e13c3
Commits on Aug 28, 2014
@myronmarston myronmarston Work around bug in 1.8.7's `Method#to_proc`.
I considered keeping the `Method#to_proc` implementation
for other rubies (1.9+), assuming it would be faster,
but benchmarks reveal it is in fact _slower_.
d94dda4
@myronmarston myronmarston Merge pull request #641 from rspec/fix-matcher-definition-1.8.7
Work around bug in 1.8.7's `Method#to_proc`.
318cda1
Commits on Sep 02, 2014
@myronmarston myronmarston Remove rubocop comments.
These were showing up in the YARD docs and aren’t actually needed.
ea05e3b
Commits on Sep 03, 2014
@JonRowe JonRowe Merge pull request #643 from rspec/fix-rubocop-yard-doc
Remove rubocop comments.
3b8d6a5
Commits on Sep 05, 2014
@myronmarston myronmarston 3.1.0 release. 7815685
@myronmarston myronmarston Fix `have_attributes` title and nav.
[ci skip]
b9a3dc2
@myronmarston myronmarston Bump version to 3.2.0.pre. 92f4a0d
Commits on Sep 09, 2014
@kcdragon kcdragon Handle block param for custom matcher with block_param method
Refactoring Ruby 1.9 specific logic, improving block_param specs
5612088
@myronmarston myronmarston Merge pull request #645 from kcdragon/feature-block-param-for-custome…
…r-matcher

Handle block param for custom matcher with block_param method
6dca837
@myronmarston myronmarston Rename `block_param` to `block_arg`.
I think `arg` is a more standard name than `param`
for what you pass to a method.
115c264
@myronmarston myronmarston Improve block warning.
- RSpec.warning appends a period, so we should not have one
  on the last sentence or we’ll get a double period.
- The new message is less cryptic and is hopefully more
  clear for end users.
b5286ef
@myronmarston myronmarston Changelog for #645. 1e501df
@JonRowe JonRowe Merge pull request #646 from rspec/645-followups
645 followups
f1ef13e
Commits on Sep 11, 2014
@jorihardman jorihardman Fix all matcher to work with any object that responds to each_with_in…
…dex.

Commit 5b4dc0c introduced explicit
checking to ensure that the all matcher is run only on Enumerable
objects. This broke the matcher for objects that behave like Enumerable,
but don't include the Enumerable module (e.g. Rails
ActiveRecord::Relations).
0d31ff2
@jorihardman jorihardman Add test to all matcher to ensure objects with #each_with_index are u…
…sable.
053541f
@jorihardman jorihardman Fix failing 1.8.7 test.
5d12169
@jorihardman jorihardman Rename #enumerable? to #iterable? for clarity. Add fail test for #eac…
…h_with_index context.
3a1d9cd
Commits on Sep 12, 2014
@myronmarston myronmarston Merge pull request #647 from jorihardman/master
Fix all matcher to work with any object that responds to each_with_index...
ed643ab
Commits on Sep 15, 2014
@JonRowe JonRowe show the number of times a block yielded 93261d4
@myronmarston myronmarston Forwardport 3.1.1 release notes.
[ci skip]
510ec5e
@JonRowe JonRowe changelog for #650
[skip ci]
15ec090
@JonRowe JonRowe Merge pull request #650 from rspec/add_more_detail_to_yield_failure
Show the number of times a block yielded when expectation not met for yield_control
6fea5f2
Commits on Sep 18, 2014
@myronmarston myronmarston Use YARD method directive properly.
Apparently, I was using it wrong.
See lsegal/rubydoc.info#82 for discussion.
bfd1106
@myronmarston myronmarston Merge pull request #654 from rspec/fix-protocol-docs
Use YARD method directive properly.
9f5c668
Commits on Sep 23, 2014
@myronmarston myronmarston Fix `define_negated_matcher` when used with chained methods off of ma…
…tchers.
c11864e
@myronmarston myronmarston Use `RSpec::Matchers.is_a_matcher?` to detect matchers. 23869ee
@myronmarston myronmarston Merge pull request #656 from rspec/fix-negated-matdcher-fluent-interface
Fix negated matcher fluent interface
47bc4a0
Commits on Sep 26, 2014
@myronmarston myronmarston Make `define_negated_matcher` produce an appropriate failure message.
Fixes #657.
84af564
@myronmarston myronmarston Merge pull request #659 from rspec/fix-failure-messages-for-negated-m…
…atchers

Make `define_negated_matcher` produce an appropriate failure message.
0ec6821
@JonRowe JonRowe Updated travis build scripts (from rspec-dev) 12f05db
@JonRowe JonRowe Merge pull request #660 from rspec/update-travis-build-scripts-2014-0…
…9-26-for-master

Updates from rspec-dev (2014-09-26)
abb828b
@tomstuart tomstuart Add shorthand `chain` syntax for custom matchers
The `chain` block in fluent matchers almost always just assigns its
argument to an instance variable:

  RSpec::Matchers.define :be_bigger_than do |first|
    match do |actual|
      (actual > first) && (actual < @second)
    end

    chain :and_smaller_than do |second|
      @second = second
    end
  end

Requiring a block is kind of overkill in this common case, and I get
tired of reimplementing the exact same thing in every fluent matcher I
define.

This feature allows you to instead write:

  RSpec::Matchers.define :be_bigger_than do |first|
    match do |actual|
      (actual > first) && (actual < second)
    end

    chain :and_smaller_than, :second
  end

Namely:

  * you can just say `:second` instead of `do |second| @second = second
    end`; and
  * as a bonus, since the DSL now knows a meaningful name for that
    remembered value, you can refer to it (e.g. in `match`) by
    saying `second` instead of `@second`.
753bd29
@myronmarston myronmarston Forwardport 3.1.2 release notes. b63d3c1
@JonRowe JonRowe Merge pull request #644 from tomstuart/chained-setters
Add shorthand `chain` syntax for custom matchers
7628434
@JonRowe JonRowe Changelog for #644
[skip ci]
25e7b92
Commits on Sep 29, 2014
@AvnerCohen AvnerCohen [minor] added two samples of negative check 10af266
@myronmarston myronmarston Merge pull request #662 from AvnerCohen/negate_readme
[minor] added two samples of negative check
fc4af07
Commits on Oct 02, 2014
@elia elia Give a hint on how the set the :should syntax 5346d02
@JonRowe JonRowe Merge pull request #663 from elia/patch-1
Give a hint on how the set the :should syntax
07af3f3
@JonRowe JonRowe changelog for #663 8b6234a
Commits on Oct 09, 2014
@JonRowe JonRowe document supports_block_expectations in the custom matcher DSL
e8f583d
@JonRowe JonRowe add additional scenario for defining method manually 1da2347
@myronmarston myronmarston Merge pull request #665 from rspec/document_block_matchers_with_dsl
Document supports_block_expectations for the custom matcher DSL
ea252de
Commits on Oct 13, 2014
@JonRowe JonRowe improve hash attributes failure message by caching values and enumera…
…ting in output
6ec5799
@JonRowe JonRowe changelog for #668
[skip ci]
a1ef9d7
@JonRowe JonRowe make have_attributes diffable e7e4527
@JonRowe JonRowe add diffable #668 to changelog
[skip ci]
681d255
@JonRowe JonRowe Merge pull request #668 from rspec/improve_have_attributes
Improve have_attributes matcher failure message.
0ee6263
Commits on Oct 22, 2014
@chapmajs chapmajs Removing explicit checking of object's private methods 5f6c5ca
@myronmarston myronmarston Merge pull request #670 from chapmajs/be_matcher_fix
Removing explicit checking of object's private methods
73a432c
@myronmarston myronmarston Add changelog entry for #670.
[ci skip]
aa634ea
Commits on Oct 27, 2014
@myronmarston myronmarston Fix doc wording.
[ci skip]
ef768f8
Commits on Oct 30, 2014
@myronmarston myronmarston Updated travis build scripts (from rspec-dev)
fb74824
Commits on Oct 31, 2014
@myronmarston myronmarston Merge pull request #674 from rspec/update-travis-build-scripts-2014-1…
…0-30-for-master

Updates from rspec-dev (2014-10-30)
b12657c
Commits on Nov 05, 2014
@myronmarston myronmarston Remove inaccurate note.
`yield_control` supports modifiers like `once`,
`twice`, `exactly(10).times`, etc.
9bde29a
@myronmarston myronmarston Make `yield_control` default to `at_least(:once)`.
Previously, it raised a confusing error when multiple
yields occurred:

> The yield_control matcher is not designed to be used with a
> method that yields multiple times. Use the yield_successive_args
> matcher for that case.

This was confusing because yield_control has supported multiple
yields for awhile.  This also simplifies the implementation!
c76be85
Commits on Nov 06, 2014
@JonRowe JonRowe Merge pull request #675 from rspec/improve-yield-control-matcher
Make `yield_control` default to `at_least(:once)`.
854092d
Commits on Nov 12, 2014
@myronmarston myronmarston Updated travis build scripts (from rspec-dev)
1198697
@myronmarston myronmarston Merge pull request #680 from rspec/update-travis-build-scripts-2014-1…
…1-12-for-master

Updates from rspec-dev (2014-11-12)
972d101
@cupakromer cupakromer Updated travis build scripts (from rspec-dev)
ab0f169
@JonRowe JonRowe Merge pull request #681 from rspec/update-travis-build-scripts-2014-1…
…1-12-for-master

Updates from rspec-dev (2014-11-12)
8280c5a
Commits on Nov 13, 2014
@myronmarston myronmarston Updated travis build scripts (from rspec-dev)
cb02d80
Commits on Nov 14, 2014
@myronmarston myronmarston Merge pull request #682 from rspec/update-travis-build-scripts-2014-1…
…1-13-for-master

Updates from rspec-dev (2014-11-13)
6f86d39
@myronmarston myronmarston Updated travis build scripts (from rspec-dev)
d74620f
@myronmarston myronmarston Merge pull request #683 from rspec/update-travis-build-scripts-2014-1…
…1-13-for-master

Updates from rspec-dev (2014-11-13)
33198e1
Commits on Nov 15, 2014
@JonRowe JonRowe Updated travis build scripts (from rspec-dev)
f808837
@JonRowe JonRowe Merge pull request #684 from rspec/update-travis-build-scripts-2014-1…
…1-15-for-master

Updates from rspec-dev (2014-11-15)
09ec82c
Commits on Nov 24, 2014
@myronmarston myronmarston Address `instance variable @color not initialized` warning.
95d9c97
@JonRowe JonRowe Merge pull request #689 from rspec/fix-color-warning
Address `instance variable @color not initialized` warning.
c03e367
@myronmarston myronmarston Add changelog for #689.
35f132d
@myronmarston myronmarston Fix `(start|end)_with` when comparing a string against an array of st…
…rings.
03d21ce
Commits on Nov 25, 2014
@JonRowe JonRowe Merge pull request #690 from rspec/fix-start-with-end-with-array-of-s…
…trings

Fix start with end with array of strings
c8ccd8d
@JonRowe JonRowe Badges as SVG
[skip ci]
7b226ac
@JonRowe JonRowe Merge pull request #691 from rspec/badge_as_svg
Switch readme badges to svg
438d4b8
@myronmarston myronmarston Prefer `example` over `it` for these specs.
`it "expect(...)..." doesn't read well at all. The behavior
has already been desribed by the group's doc string; each
of the individual specs is an `example` of it, so `example`
works better here.
ff8ecc8
@myronmarston myronmarston Don’t use internally delegated matchers for generated descriptions.
036dab4
@JonRowe JonRowe Merge pull request #692 from rspec/fix-generated-descriptions-with-ne…
…sted-matchers

Fix generated descriptions with nested matchers
7b251ce
Commits on Dec 04, 2014
@postmodern postmodern Properly sub-class Exception so YARD can detect ExpectationNotMetError.
9d58624
@JonRowe JonRowe Merge pull request #693 from postmodern/master
Properly sub-class Exception so YARD can detect ExpectationNotMetError.
fb35c58
Commits on Dec 08, 2014
@myronmarston myronmarston Updated travis build scripts (from rspec-dev)
aeb121a
@myronmarston myronmarston Merge pull request #696 from rspec/update-travis-build-scripts-2014-1…
…2-08-for-master

Updates from rspec-dev (2014-12-08)
79ba980
Commits on Dec 09, 2014
@JonRowe JonRowe rename type to class internally
85b1e89
@JonRowe JonRowe Merge pull request #697 from rspec/rename_type_to_class_internally
Rename type to class internally
b58918c
Commits on Dec 18, 2014
@myronmarston myronmarston Updated travis build scripts (from rspec-dev)
c6fe74d
@myronmarston myronmarston Merge pull request #699 from rspec/update-travis-build-scripts-2014-1…
…2-17-for-master

Updates from rspec-dev (2014-12-17)
0778ffa
Commits on Dec 23, 2014
@alexgenco alexgenco Add `to_std(out|err)_from_any_process` matchers
These matchers will capture all output from spawned subprocesses in
addition to the main Ruby process.
1a5f76c
@alexgenco alexgenco Add docs and features around `to_std(out|err)_from_any_process` matchers
388d7d9
@alexgenco alexgenco Add benchmarks around `to_std(out|err)_from_any_process` matchers
cccd8f1
Commits on Dec 24, 2014
@alexgenco alexgenco Change echo commands in output_spec if running on windows
0e0d64c
@myronmarston myronmarston Merge pull request #700 from alexgenco/output_matcher
Allow output matcher to capture output of a child process
e02e086
@myronmarston myronmarston Add changelog for #700.
[ci skip]
7af8e39
Commits on Dec 27, 2014
@myronmarston myronmarston Updated travis build scripts (from rspec-dev)
4d041bd
@myronmarston myronmarston Merge pull request #701 from rspec/update-travis-build-scripts-2014-1…
…2-26-for-master

Updates from rspec-dev (2014-12-26)
d3aa5ac
Commits on Dec 28, 2014
@benmoss benmoss Updated travis build scripts (from rspec-dev)
7a6e83d
@benmoss benmoss Attempt to provide documentation for the Minitest exception class
f2112cc
@myronmarston myronmarston Merge pull request #702 from benmoss/update-travis-build-scripts-2014…
…-12-27-for-master

Updated travis build scripts (from rspec-dev)
47cd127
Commits on Dec 29, 2014
@myronmarston myronmarston Address MRI 2.2 warnings (possible reference to past scope).
From ruby/ruby@f5f6218.
It causes 280 warnings in our spec suite :(. The fix is to change the names of
variables and/or `let` definitions so they do not clash.

See https://bugs.ruby-lang.org/issues/10661 for more discussion.
fdd9ef3
@myronmarston myronmarston Merge pull request #703 from rspec/address-2.2-issues
Address MRI 2.2 warnings (possible reference to past scope).
f5fd2c7
@myronmarston myronmarston Updated travis build scripts (from rspec-dev)
122d18f
Commits on Dec 30, 2014
@myronmarston myronmarston Merge pull request #704 from rspec/update-travis-build-scripts-2014-1…
…2-29-for-master

Updates from rspec-dev (2014-12-29)
101c4b4
Commits on Jan 01, 2015
@myronmarston myronmarston Updated travis build scripts (from rspec-dev)
3b1a5ca
@myronmarston myronmarston Merge pull request #706 from rspec/update-travis-build-scripts-2014-1…
…2-31-for-master

Updates from rspec-dev (2014-12-31)
2d9795a
@myronmarston myronmarston Updated travis build scripts (from rspec-dev)
f0fefb7
Commits on Jan 02, 2015
@myronmarston myronmarston Merge pull request #707 from rspec/update-travis-build-scripts-2015-0…
…1-01-for-master

Updates from rspec-dev (2015-01-01)
ad702ee
@myronmarston myronmarston Updated travis build scripts (from rspec-dev)
07f53df
@JonRowe JonRowe Merge pull request #708 from rspec/update-travis-build-scripts-2015-0…
…1-01-for-master

Updates from rspec-dev (2015-01-01)
76962c4
Commits on Jan 08, 2015
@myronmarston myronmarston Updated travis build scripts (from rspec-dev)
c576f4a
@myronmarston myronmarston Merge pull request #710 from rspec/update-travis-build-scripts-2015-0…
…1-07-for-master

Updates from rspec-dev (2015-01-07)
1c877e0
Commits on Jan 15, 2015
@myronmarston myronmarston Exclude aruba 0.6.2 for now.
This should fix the build.

See cucumber/aruba@5b2c7b4#commitcomment-9284628 for background.
eb23fe0
@myronmarston myronmarston Merge pull request #714 from rspec/exclude-arbua-0-6-2
Exclude aruba 0.6.2 for now.
a88281b
Commits on Jan 16, 2015
@myronmarston myronmarston Update to aruba 0.6.2.
0.6.2 removes regexp so we need to stop using it.
5e8f556
Commits on Jan 17, 2015
@JonRowe JonRowe Merge pull request #715 from rspec/fix-for-aruba-0-6-2
Update to aruba 0.6.2.
27e9199
@cupakromer cupakromer Include details on how to run against `master`.
A very common issue is when a user attempts to run against the `master`
branch. Simply pointing to `master` doesn't work. This adds the steps
necessary to use `master`.

We need all of the repos in order to also satisfy any other gems which
may have a dependency on the `rspec` gem.

[ci skip]
146dd99
@cupakromer cupakromer Merge pull request #716 from rspec/help-for-running-master
Include details on how to run against `master`.
b7d8371
Commits on Jan 21, 2015
@myronmarston myronmarston Remove dead code.
d467141
@myronmarston myronmarston Rename StartAndEndWith to StartOrEndWith.
After all, it does one or the other, not both.
3bc50c5
Commits on Jan 22, 2015
@myronmarston myronmarston Doc improvements.
a028cd4
@JonRowe JonRowe Merge pull request #718 from rspec/fixup-start-and-end-with
Fixup start and end with
45ff9fa
Commits on Jan 28, 2015
@waterlink waterlink Diffable compound matchers
709c8e7
@waterlink waterlink disable rubocop ClassLength for Compound matcher
aa7188f
@myronmarston myronmarston Merge pull request #713 from waterlink/compound_matcher_diff
Compound matcher diff
b6e46b1
@myronmarston myronmarston Add changelog for #713.
[ci skip]
deac66a
Commits on Jan 29, 2015
@alex-fedorov alex-fedorov followup for #713 :: use differ directly instead of differ factory me…
…thod
b299e1a
@myronmarston myronmarston Merge pull request #722 from waterlink/followup/713/reuse_differ_in_e…
…xpecteds_for_multiple_diffs

followup for #713 :: Use differ directly instead of differ factory method
0e91a28
Commits on Feb 03, 2015
@sivagollapalli sivagollapalli FIX#717 Added YARD doc
- hash support for include matcher
1d5d2a2
@myronmarston myronmarston Merge pull request #725 from sivagollapalli/issue_717
FIX#717 Added YARD doc
fc9b15e
@myronmarston myronmarston Update changelog for v3.2.0 [ci skip]
60153c7
@myronmarston myronmarston Release 3.2.0
27cdd63
@myronmarston myronmarston Bump version to 3.3.0.pre
1e7240e
Commits on Feb 04, 2015
@myronmarston myronmarston Updated travis build scripts (from rspec-dev)
e33435a
Commits on Feb 05, 2015
@myronmarston myronmarston Merge pull request #726 from rspec/update-travis-build-scripts-2015-0…
…2-03-for-master

Updates from rspec-dev (2015-02-03)
6ba9bfb
@ryantm ryantm Update README.md
Change is_a? to kind_of? reflecting the actual method called by the matcher. This might make it easier for someone to mock it.
fe29d44
@JonRowe JonRowe Merge pull request #727 from ryantm/patch-1
Update README.md
3ff873c
Commits on Feb 06, 2015
@myronmarston myronmarston Refactor failure matcher definitions to use a recommended technique.
I wouldn't encourage users to directly define methods on `RSpec::Matchers` so we probably shouldn't, either.
ede6785
@myronmarston myronmarston Use fail matchers more precisely.
When a regexp is being used, `fail_with` works just fine.
When you want to match on a string snippet, `fail_including`
works better, by delegating to `a_string_including`.
b4b4fbb
@JonRowe JonRowe Merge pull request #728 from rspec/stop-patching-rspec-matchers
Refactor failure matcher definitions to use a recommended technique.
cc550c4
Commits on Feb 08, 2015
@JonRowe JonRowe isolate a spec depending on set from the main process
5149590
@JonRowe JonRowe Merge pull request #730 from rspec/require_set_before_use_in_specs
Isolate a spec depending on set from the main process
b647492
Commits on Feb 09, 2015
@myronmarston myronmarston Updated travis build scripts (from rspec-dev)
35fee60
@charlierudolph charlierudolph expose fail matchers for testing custom matchers
c340b44
Commits on Feb 10, 2015
@JonRowe JonRowe Merge pull request #729 from charlierudolph/cr-exposeFail
expose fail matchers for testing custom matchers
5f9c06c
@JonRowe JonRowe changelog for #729
[skip ci]
13fd25a
Commits on Feb 12, 2015
@JonRowe JonRowe Merge pull request #731 from rspec/update-travis-build-scripts-2015-0…
…2-08-for-master

Updates from rspec-dev (2015-02-08)
c7f0054
Commits on Feb 13, 2015
@JonRowe JonRowe remove extra require
f331dca
@JonRowe JonRowe eliminate usage of openstruct
72fa468
@JonRowe JonRowe fix the Set spec to use sub process only when possible
a57d550
@JonRowe JonRowe isolate require timeout from main spec env where possible
ef91a3f
Commits on Feb 15, 2015
@JonRowe JonRowe isolate require delegate from main spec env where possible
17c66ec
@JonRowe JonRowe isolate require bigdecimal from main spec env where possible
ce96ea3
@JonRowe JonRowe isolate require complex from main spec env where possible
5de31b5
@JonRowe JonRowe isolate require date from main spec env where possible
07ef767
@JonRowe JonRowe isolate require uri from main spec env where possible
7a4e0f7
@JonRowe JonRowe tidyup include for RSpec::Support::InSubProcess
3c7b7fe
@JonRowe JonRowe attempt to fix 1.9.2 by using class rather than struct
8ad2cbf
Commits on Feb 16, 2015
@JonRowe JonRowe Merge pull request #734 from rspec/isolate_specs_when_possible
Isolate specs from std lib when possible
c9926c3
Commits on Feb 17, 2015
@myronmarston myronmarston Cleanup whitespace.
a29e121
@myronmarston myronmarston Update to new rspec-support library-wide checks.
abf9555
@myronmarston myronmarston Delay `tempfile` loading.
(See comment for explanation about why we do this).
8fa0535
@myronmarston myronmarston Update to latest rspec-support requires.
ca148b7
@myronmarston myronmarston Changelog.
[ci skip]
41c53db
@JonRowe JonRowe Merge pull request #735 from rspec/allowed-stdlibs
Allowed stdlibs
6d69157
Commits on Feb 18, 2015
@myronmarston myronmarston Leverage new differ autoload.
Builds on rspec/rspec-support#181. This avoids the
cost of loading diff/lcs, pp, etc for cases where
we don’t need to print any diffs.
2e06376
@JonRowe JonRowe Merge pull request #739 from rspec/leverage-differ-autoload
Leverage new differ autoload.
08c1143
Commits on Feb 24, 2015
@myronmarston myronmarston Updated travis build scripts (from rspec-dev)
1902eaf
Commits on Feb 25, 2015
@myronmarston myronmarston Merge pull request #743 from rspec/update-travis-build-scripts-2015-0…
…2-24-for-master

Updates from rspec-dev (2015-02-24)
dfb06e9
Commits on Feb 26, 2015
@imtayadeway imtayadeway Suggest `be_truthy`/`be true` when using `be_true`
Applies the same for `be_false`. Still fails as expected, but adds an
additional message to suggest an alternative if still using the
deprecated `be_true`/`be_false`.

#741
98dc0aa
@JonRowe JonRowe Merge pull request #744 from imtayadeway/be-true-false-notice
Suggest `be_truthy`/`be true` when using `be_true`
0876df0
@JonRowe JonRowe changelog for #744
[skip ci]
4081467
Commits on Mar 02, 2015
@jaredbeck jaredbeck Add RSpec::Matchers::EnglishPhrasing to public API
Expose `RSpec::Matchers::EnglishPhrasing` to make it easier to write
nice failure messages and descriptions in custom matchers.

Pretty remains private, and is still mixed into
BaseMatcher and DSL::Matcher.

EnglishPhrasing, by comparison, is not mixed into any classes, and its
methods are now static.
f2729cc
@jaredbeck jaredbeck Make Pretty#underscore private
929e21d
Commits on Mar 11, 2015
@myronmarston myronmarston Merge pull request #736 from jaredbeck/patch-1
Allow custom matchers to use methods in Pretty
10a9c3e
@myronmarston myronmarston Move definition of `improve_hash_formatting`.
We don’t want it defined in the `Pretty` module because
that is included the custom matcher DSL and it’s not meant
for end-user use.
3c89981
@myronmarston myronmarston Remove `Pretty` module.
It’s no longer needed.
be1d897
@myronmarston myronmarston Merge pull request #749 from rspec/pr-736-fixups
Pr 736 fixups
6a9f42e
Commits on Mar 15, 2015
@abotalov abotalov Make a context where RSpec::Matchers is included respond to missing b…
…e_* or have_*
b33229a
Commits on Mar 16, 2015
@myronmarston myronmarston Merge pull request #751 from abotalov/respond_to_missing_be_or_have
Make a context where RSpec::Matchers is included respond to missing be_* or have_*
9621a02
@myronmarston myronmarston Add changelog for #751.
[ci skip]
d0b0d1d
@myronmarston myronmarston Updated travis build scripts (from rspec-dev)
7d5ef66
@JonRowe JonRowe Merge pull request #753 from rspec/update-travis-build-scripts-2015-0…
…3-15-for-master

Updates from rspec-dev (2015-03-15)
39ff245
Commits on Mar 19, 2015
@myronmarston myronmarston Fix `contain_exactly` to work with test doubles.
Test doubles do not define `<=>` by default.
9633da8
@JonRowe JonRowe Merge pull request #758 from rspec/fix-contain-exactly-with-doubles
Fix `contain_exactly` to work with test doubles.
f69cc91
Commits on Mar 22, 2015
@JonRowe JonRowe changelog for #755
[skip ci]
3610e0d
@JonRowe JonRowe prevent infinite ranges blowing up descriptions
bfa9746
@JonRowe JonRowe fix 1.8.7 value matching for error messages
557f47b
@JonRowe JonRowe Merge pull request #757 from rspec/fix_descriptions_with_ranges_kick_…
…travis

Fix descriptions with ranges kick travis
f289e21