Skip to content
This repository
  • 1,045 commits
  • 197 files changed
  • 5 comments
  • 21 contributors
This comparison is big! We're only showing the most recent 250 commits
Jan 01, 2014
Myron Marston Update pairings maximizer spec based on current API. 3ffd27e
Myron Marston Add rubyprof script so I can see troubleshoot perf issues. 1167771
Myron Marston Use our own `values_match?` logic for better perf.
It's surprising how much difference this makes!
f8a5b03
Myron Marston Try a fast sorted matching algorithm first.
This is much, much faster than the full matching
algorithm, and in common cases (e.g. arrays of numbers
or strings) works just fine.  See the benchmarks
for how much of a difference this makes!
ae12b4a
Jan 02, 2014
Myron Marston Add changelog entry for `alias_matcher`.
[ci skip]
b0fde19
Myron Marston Merge pull request #393 from rspec/support-composable-matchers
Support composable matchers
7736337
Myron Marston Remove some config that's been moved to rspec-support. ae707db
Myron Marston Fix AR::Relation regression in ec93540.
AR::Relation implements `to_ary` but is not Enumerable.
d4d5e5b
Myron Marston Merge pull request #404 from rspec/fix-contain-exactly-to-ary-regression
Fix AR::Relation regression in ec93540.
8c88684
Jan 04, 2014
Erik Michaels-Ober Add RSpec::Matchers::BuiltIn::BeBetween
Ruby's #between? instance method is included in the Comparable module.
Any object that mixes in Comparable and responds to the <=> operator
will also respond to #between?, including the following core classes:

* Numeric (Fixnum, Bignum, Integer, Float, Complex, and Rational)
* String
* Symbol
* Time

...as well as a few lesser-used ones (e.g. File::Stat, Gem::Version).

BeBetween defines a matcher that takes exactly two arguments--a minimum
and a maximum value--mimicking the interface of Comparable.html#between?
and ensuring backward compatibility.

Before this patch, using be_between on Comparable objects worked but
produced the following failure message:

    expected between?(1, 10) to return true, got false

After this patch, it will produce this message, instead:

    expected 5 to be between 1 and 10

I believe this is a much more informative failure message, as it reveals
the actual value, which is often a variable, in addition to displaying
the expectation in plainer English.
1bf592a
Erik Michaels-Ober Alphabetize/organize built-in matchers 596dc0a
Erik Michaels-Ober Define custom predicate method to test description generation 0ef2bd5
Erik Michaels-Ober Note that between is inclusive of min and max values and test edge cases cf2d0a5
Erik Michaels-Ober Make BeBetween composable 308ccce
Erik Michaels-Ober Test against JRuby and MRI at head 7bbe151
Myron Marston Merge pull request #405 from sferik/be_between
Add RSpec::Matchers::BuiltIn::BeBetween
4f44ec9
Myron Marston A few post-merge fixups.
- Add changelog entry.
- Don't double-include `Composable` (it's included in `BaseMatcher`)
- Improve composable spec so that it tries to match against a value
  that does not respond to `between?`. (Nothing failed when I removed
  the `comparable?` check from `matches?`).
- Spec the failure message for non-comparables.
- Don't put `actual.inspect` in the failure message twice. Sometimes
  `inspect` output can be very large, and we usually just put it
  in the failure message once.
- Leverage more of BaseMatcher (e.g. for `failure_message_when_negated`).
5771562
Myron Marston Handle composed expressions of mixed types. 492f29d
Jared Norman Stop colorizing colorized diffs 994b256
Jared Norman Correctly colorize diffs
We have to reset lines that we want to not be red, as this shows as part
of a failed example.
3e1fe2a
Jared Norman Make DiffPresenter end all hash entries with comma
This fixes a bug where identical entries would show up as an added and a
subtracted line (that differed in the trailing comma) if they were the
last entry in one hash but not the other.
0140b96
Myron Marston Remove dead code. ca45730
Jared Norman Simplify `DiffPresenter#object_to_string` 4f140a8
Jan 05, 2014
Thijs Wouters Fixed generated description for 'eq ["foo"]' 6fd69b1
lucapette Draft of output_to_stdout and output_to_stderr matchers 80b00c0
Daniel Murphy Updated truthiness docunmetation for built_in_matchers 31d7b4c
Jon Rowe Merge pull request #411 from danielmurphy/truthy_docs
Updated truthiness docunmetation for built_in_matchers
ebb72c9
Jan 06, 2014
Jon Rowe Use preferred falsey in docs. 95d8a0c
Pedro Gimenez Implement exclusive mode in be_between 6cb9809
Pedro Gimenez Fix typo 4fa7cb8
Myron Marston Merge pull request #413 from pedrogimenez/fix-typo
Fix typo
79c57eb
Myron Marston Merge pull request #407 from jarednorman/diff-presenter-fixes
Diff presenter fixes
d067697
Myron Marston Add changelog for #407.
[ci skip]
75d5d77
Pedro Gimenez Reindent private statement 437b5f4
Jan 07, 2014
Pedro Gimenez Refactor the specs and the implementation of the be_between matcher 23197d7
Pedro Gimenez Change the comment of the be_between matcher 1448993
Pedro Gimenez Use __send__ instead of send 8a42705
Pedro Gimenez Use && instead of and 1e5a1ef
Pedro Gimenez Add an inclusive method to use the inclusive mode ee39c7f
Pedro Gimenez Wrap the tests in a module 0ca630d
Pedro Gimenez Refactor spec f4edebd
Thijs Wouters Add more specs for #description. b90677d
Jon Rowe Merge pull request #412 from pedrogimenez/be_between_exclusive
Implement exclusive mode in be_between
fc697d0
Jan 08, 2014
Jon Rowe changelog for #412 23135e6
Jon Rowe Merge pull request #417 from prathamesh-sonpatki/issue-386
Change failure message for BeComparedTo#failure_message_when_negated
4356321
Myron Marston A bit more cleanup for #417.
- Inspect actual and expected in the message - this
  is important so `"Foo"` is clearly a string and not
  a class.
- No need for the line break.
- Use `fail_with` matcher, as it specifies the exception
  class and is more consistent with other specs.
59d1f38
Jan 09, 2014
प्रथमेश Change failure message for BeComparedTo#failure_message_when_negated
- Normal error message will be given for all operator except comparison
  operators
- For comparison operators such as gt/lt/gte/lte, with normal message a
  warning saying that the usage is confusing is given.
- "It might be more clearly expressed without the" is dropped completely
  as it doesn't sound correct with except
- Fixes #386
046e45c
Jon Rowe changelog for #417
[skip ci]
7fcce6a
Jon Rowe cleanup after #417 3f025fe
Thijs Wouters Fix build
Use UTC time instead of local time
Change regex for the object spec
30e190c
Jon Rowe Merge pull request #409 from ThijsWouters/master
Fixed generated description for 'eq ["foo"]'
17c646c
Jan 10, 2014
Thijs Wouters Fix specs for ruby version < 1.9.3. 27117e4
Thomas Holmes Use more display precision for Time and DateTime
The `eq` matcher often results in confusing output when comparing `Time`
and `DateTime` objects.

`Time#inspect` returns a value that is not full precision. This often
leads to a confusing failure message when two time objects differ by
fractional seconds. The matcher returns a failure but the diff shows
identical values. Microseconds have been added to the diff output for
`Time`.

By default `DateTime#inspect` outputs enough precision to prevent this
problem. `ActiveSupport` monkey patches `#inspect` to print a more human
readable but ambiguous representation. If `ActiveSupport` is defined a
custom format string is used for `DateTime` that has enough precision
to differentiate the two objects.

Fixes rspec/rspec-expectations#331
ec80b2c
Myron Marston Merge pull request #416 from thomas-holmes/clarify-time-diffs
Use more display precision for Time and DateTime
70d1776
Myron Marston Add Changelog for #416. 18ebf2a
Jan 11, 2014
Myron Marston Cleanup change specs.
They were written to assume that the `===` check happens
before the `==` check for `to`/`from` values, but
in rspec/rspec-support#27 we are changing the order.

These tests were brittle and we don't still need them
as we have fuller, more realistic specs showing matchers
being passed to `from`/`to`.
824ccc9
Myron Marston Add `a_hash_including` alias.
The other aliases didn't really fit for a hash but a hash
is one of the main types of objects used with the `include`
matcher.
20388b4
Myron Marston Merge pull request #421 from rspec/add-hash-including-alias
Add `a_hash_including` alias.
93b39e0
Myron Marston Improve `change` failure messages.
There were a couple of cases that produced puzzling failure messages:

k = "foo"
expect { }.to change { k }.to("foo")

..used to fail with:

  expected #some_value to have changed to "foo", but is now "foo"

..and now fails with:

  expected #some_value to have changed to "foo", but did not change

k = "foo"
expect { }.to change { k }.from("foo")

..used to fail with:

  expected result to have changed to BasicObject, but is now "foo"

..and now fails with:

  expected result to have changed from "foo", but did not change
a60a8f8
Jon Rowe Merge pull request #422 from rspec/fix-change-failure-message
Improve `change` failure messages.
7edf388
Jan 12, 2014
Jon Rowe cleanup 9bcf169
lucapette Fix private indentation edf6e7f
lucapette Add require edddf96
lucapette Use print in specs c8d08ae
lucapette Introduce separate classes for the two streams 41fadd8
lucapette Use one files for all the specs bd29f45
lucapette Add support for regex expectations in output_to_stream matchers 5f882e8
lucapette Add support for composing matchers to output_to_stream matchers d4da8bd
lucapette Better output for regex cases d67c11d
lucapette DRYing up expected logic 482d1f2
lucapette Add behaves like a matcher specs 06d0b15
lucapette Add documentation for output_for_stdout and output_to_stderr 8149641
lucapette Less code same features 7a9d58e
lucapette Add cukes for output_to_stdout and output_to_stderr ee986b5
Jan 14, 2014
Jon Rowe don't force expected to be an array a5cf5cb
Jon Rowe spec asserting multiline diff contents acff5a4
Myron Marston Move link to the right section of the README.
[ci skip]
9b3d258
Myron Marston Remove dynamic predicate matcher alias from the README.
We removed support for this so it's confusing for
it to be mentioned in the README.

[ci skip]
79ac9aa
lucapette Make the syntax 1.8 compatible cfde9a1
lucapette Use print and warn where possible 126f26d
lucapette Improve docs
- Add backticks where needed
- Use correct reference for the stream
- Mention matchers together with regexps
- Reword the description of the feature
53c4f1b
lucapette Rely on description_of for all the expectations 1cb04fb
lucapette Make output_to_stream matchers diffable 8081129
lucapette Add output_to_stream scenarios for composing matchers feature f6040cc
Jan 15, 2014
lucapette Move output_to_stream matchers to a more readable api d589592
lucapette Fix output_to_stream feature
- Reword the description
- Fix indentation
- Fix typo
f158ed3
lucapette Remove custom description to alias as it's not needed anymore 2838942
Jan 16, 2014
lucapette Introduce null object to raise errors when the expectation is not set 446d570
lucapette Rename OutputToStream to Output accordingly with the name of the matcher e1debac
Myron Marston Merge pull request #410 from lucapette/output_to_stream_matchers
OutputToStdout and OutputToStderr matchers
ffd25a8
Myron Marston Tweak a few things post-merge #410.
- Add changelog entry.
- Copy the explanation from the YARD comments to
  the cuke as I think it was worded a bit better.
- Rephrase the note a bit to explain why.
- Since the the stream capturers are stateless,
  use singleton modules for them. Less garbage for the GC!
- Rename ivar to `@stream_capturer` since it's not a stream
  itself.
- Improve error message when the user forgets to chain
  `to_stdout` or `to_stderr` off of it.
- Still provide a description in this case.
4a8bb9f
Jan 17, 2014
Myron Marston Allow `RSpec::Matchers` to be mixed into `main`.
I don't understand why the references to the other
constant was breaking this, but it was :(.

Fixes #427.
78b8e79
Myron Marston Merge pull request #428 from rspec/fix-top-level-inclusion
Allow `RSpec::Matchers` to be mixed into `main`.
98996ef
Jan 18, 2014
Damian Galarza Proxy blocks along with arguments in has matchers
Currently, when using the has matcher any arguments passed are sent
along to the method being proxied. However, any blocks that were provided were
being lost. This commit sends along any blocks with the arguments.

<@dgalarza | @hrs | @masonforest>
1a7831e
Myron Marston Merge pull request #429 from dgalarza/dg-hrs-proxy-block-with-has
Proxy blocks along with arguments in has matchers
4552c14
Myron Marston A few post-merge fixups for #429.
- Add changelog.
- Combine the two specs into one -- I consider it to
  be one behavior (e.g. it forwards the block).
- Allow a `do...end` block as well, and specify what
  happens when both block forms are used.
9cf314e
Jan 19, 2014
Myron Marston Subclass `Exception` rather than `StandardError`. eafa55d
Myron Marston Upgrade cucumber to latest. dd8eb88
Myron Marston Improve integration with minitest.
- Support minitest 5.x rather than 4.x.
- Make expectations count as assertions in minitest's runner.
- Make expectation failures report as failures, not errors.
- Stop auto-integrating; users can require a file instead.
  I think this fits better with minitest's philosophy, and
  there are situations (such as in a rails app) where minitest
  is loaded, but the runner is not being used.
- Stop integrating with test/unit. T::U doesn't appear to be
  used much these days. Users can still integrate it themselves
  (by manually mixing in `RSpec::Matchers`). Stdlib T::U is not
  usable while minitest 5.x is installed, so there's not an easy
  way to run builds against T::U while we also run builds against
  minitest 5.x.
e510288
Jeff Wallace Display nanosecond precision for Time and DateTime
This is a follow up to #331 and #416.

Linux creates Time objects with nanosecond precision so only displaying
microseconds can hide the differences between two objects.
f9ee8f9
Jan 21, 2014
Myron Marston Merge pull request #430 from tjwallace/nanosecond_time_display
Display nanosecond precision for Time and DateTime
be7c405
Myron Marston Update changelog for #430.
[ci skip]
9b1fcc4
Jan 22, 2014
Jon Rowe Merge pull request #426 from rspec/fix-errors
Fix ExpectationNotMetError superclass and update T::U/minitest integration
2b0efe7
Myron Marston Add load path logging to help troubleshoot rspec-core build issue.
For an rspec-core PR, it is failing when running the rspec-expectations specs. Locally I can't repro.
4101f02
Myron Marston Revert "Add load path logging to help troubleshoot rspec-core build i…
…ssue."

This reverts commit 4101f02.
613b0f5
Myron Marston Delete unneeded script. 8373eb8
Jan 25, 2014
Myron Marston Updated travis build scripts (from rspec-dev) 8d365c4
Jan 26, 2014
Myron Marston Merge pull request #439 from rspec/update-travis-build-scripts-2014-0…
…1-25

Updates from rspec-dev (2014-01-25)
02951fc
Feb 01, 2014
Myron Marston Add 2.14.5 release notes.
[ci skip]
9003d2d
Feb 07, 2014
Jon Rowe Merge pull request #423 from rspec/fixup_issue_with_multiline_diffs_i…
…n_custom_matchers

Fixup issue with multiline diffs in custom matchers.
0a961b5
Feb 08, 2014
Jon Rowe Updated travis build scripts (from rspec-dev) b1a00c9
Jon Rowe Merge pull request #443 from rspec/update-travis-build-scripts-2014-0…
…2-08-for-master

Updates from rspec-dev (2014-02-08)
b5afcfb
Feb 12, 2014
Jon Rowe Updated travis build scripts (from rspec-dev) db220f1
Jon Rowe Merge pull request #454 from rspec/update-travis-build-scripts-2014-0…
…2-12-for-master

Updates from rspec-dev (2014-02-12)
cdbb04b
Feb 13, 2014
Jon Rowe expose expected_as_array for upgrade consitency a855268
Feb 14, 2014
Jon Rowe add 1.8.7 regresson check 855ff0b
Jon Rowe alternative implementation 30a10a4
Feb 16, 2014
Jon Rowe refactor to use expected_as_array d3df36e
Jon Rowe Merge pull request #458 from rspec/counterpart_to_448
Expose expected_as_array for upgrade consistency
8fadc54
Feb 17, 2014
Brian Gesiak Fix typo: `s/expet/expect/g` 896883d
Jon Rowe Merge pull request #460 from modocache/fix-documentation-typo
Fix typo: `s/expet/expect/g`
2bddce7
Myron Marston Changelog changes in prep for 3.0.0.beta2 release.
- Put breaking changes section first.
- Add missing entry.

[ci skip]
a4803a7
Myron Marston Add 2.99.0.beta2 release notes.
[ci skip]
4854772
Myron Marston Update changelog for 3.0.0.beta2 release. [ci skip] e295495
Myron Marston Release 3.0.0.beta2 10838e3
Myron Marston Prepare changelog for 3.0.0.rc1 development. ea85b1b
Feb 19, 2014
Myron Marston "full changelog" => "Full Changelog" 3174d75
Myron Marston Prefer de-dented `private`. a73aa2a
Myron Marston Use a symbol literal rather than `to_sym`. e5d89b3
Myron Marston Fix typo. dc3d5b8
Myron Marston Address ruby shadowing warning. 6969db3
Myron Marston Use `--require spec_helper` rather than requiring at the top of each …
…file.
a8c56ad
Myron Marston Remove obsolete file. a6b663a
Myron Marston Improve cuke narratives.
I'm not a fan of the connextra format for these sorts
of documentation-focused cukes. Freeform narrative works
better, IMO.

Also, renamed `expect_change` to `change` and
`expect_error` to `raise_error` to align with
the matcher name.
a00f836
Myron Marston This feature has worked for a long time. 2cf24eb
Myron Marston Use consistent APIs in cukes.
- `RSpec.describe` rather than `describe`.
- `expect` rather than `should`
- `it { is_expected.to matcher }` rather than `it { should matcher }`.

I've added a cucumber environment file that enforces these as well.
75a470f
Myron Marston `it { expect ... }` reads horribly. ebba8d9
Myron Marston Use is_expected rather than repeating the same expression many times.
This makes these cukes more consistent with the others.
b4cab74
Feb 20, 2014
Myron Marston Update syntax_configuration cuke.
Its information was out of date.
4145755
Myron Marston Remove failure line from expected output.
This line of the output is different on 1.8.7
because of the difference in `Array(multiline_string)`
behavior.
cdf85f7
Myron Marston Merge pull request #462 from rspec/misc-rspec-3-fixes
Misc rspec 3 fixes
b447ee4
Feb 21, 2014
Myron Marston Doc alias_matcher as a method alias w/o loading an extension.
This should make it doc properly on rubydoc.info.

Fixes #467.
ad7dbd4
Myron Marston Don't change visibility based on if YARD is loaded.
Originally, I expected YARD to be loaded only when
we generate docs, but users may have YARD loaded
in their environment as well.

Fixes #473.
4f62813
Myron Marston Remove spec.
It doesn't really make sense to keep a spec that
specifies behavior when a specific gem is loaded
when there's nothing left in the project that is
custom code when that gem is loaded.

I thought it was worth committing the spec for the
history, though, so I kept it in the last commit.
345201c
Myron Marston Merge pull request #474 from rspec/fix-issue-473
Fix issue 473
fdca0ab
Feb 22, 2014
Jon Rowe remove simple delegate and manually delegate c8475d1
Jon Rowe Merge pull request #472 from rspec/strip_out_simple_delegate_from_enc…
…oded_string

Remove SimpleDelegate from EncodedString
d226942
Myron Marston Add missing specs for present tense predicates. 0082d57
Myron Marston Improve robustness of spec.
`expect { }.to raise_error` is prone to false positives since
it could fail with any kind of error, not just the kind of error
we expect.
0c818c0
Myron Marston Make `be_xyz` matchers support do...end blocks.
Fixes #137.
864ab97
Myron Marston Merge pull request #477 from rspec/fix-do-end-blocks
Fix do end blocks
c2009f5
Feb 23, 2014
Jon Rowe group legacy matcher deprecations together using type key 1c87e88
Jon Rowe Merge pull request #475 from rspec/specify_type_on_legacy_matcher_dep…
…recations

Group legacy matcher deprecations together using type key
6f4bda2
Feb 24, 2014
Myron Marston Tag scenario files with `ruby` so it gets syntax highlighted on relish. d3ce8d7
Myron Marston Merge pull request #478 from rspec/add-syntax-highlighting-for-compos…
…able-matchers-cuke

Tag scenario files with `ruby` so it gets syntax highlighted on relish.
5d3b1e9
Feb 25, 2014
Jon Rowe remove test files from gemspec to speed up dl/s f32451f
Jon Rowe Merge pull request #479 from rspec/smaller-built-gem-size
Don't include any test files in the gem.
c099bdd
Jon Rowe Updated travis build scripts (from rspec-dev) 8a76f46
Jon Rowe Merge pull request #481 from rspec/update-travis-build-scripts-2014-0…
…2-25-for-master

Updates from rspec-dev (2014-02-25)
bf48093
Feb 27, 2014
Myron Marston Fail build if coverage is less than 100%.
For #461.

This will fail initially; I'm just getting the build going.
We'll have to doc everything before we can merge this.

We'll also want to extract this into rspec-dev
(and propagate it to all repos) once we're happy with
this build change.
8515cf4
Myron Marston Always install yard as part of builds.
It's needed for our new check_documentation_coverage step.
0301c2e
Myron Marston Use `bin/yard`. 243a2ce
Myron Marston Fix invalid YARD tag. 62ff0eb
Mar 01, 2014
Myron Marston Get docs up to 100% coverage. 0e84870
Myron Marston Merge pull request #482 from rspec/100-percent-doc-coverage
Fail build if coverage is less than 100%.
99b0b97
Myron Marston Add missing changelog entry.
[ci skip]
db91329
Myron Marston Cleanup matcher_execution_context.
* The external @matcher_execution_context (from `self`
  at the point the matcher method was called) was odd,
  and turns out never to have been needed.  It was
  introduced in abba439
  but wasn't actually needed there (as the spec added
  in that commit passed when I tried removing it).
* Given that it must be set (as `respond_to?` assumes
  it has been set), it was odd to have an extra
  attribute that gets set after instantiation.
  Far better to make it a constructor arg.
* No need to expose it as public method.
89f7745
Myron Marston Remove `RSpec::Matchers::Pretty#_pretty_print`.
It's nearly identical to `to_sentence`.
3a7db7e
Myron Marston Remove expected_to_sentence method.
It's unnecessary and has some odd coupling, where it
assumes the including class has an `expected` attribute.

I prefer the simplicity of `to_sentence expected`.
782330d
Myron Marston Tag slow specs. a6d58f3
Myron Marston Merge pull request #485 from rspec/remove-unneeded-ivar
Cleanup matcher_execution_context.
7b27fe0
Mar 02, 2014
Jon Rowe Document inbuilt matchers
Fixes #463
[skip ci]
6f3e25e
Jon Rowe Merge pull request #486 from rspec/matcher_docs
Matcher docs,WIP
328a9ab
Myron Marston Move configuration class from matchers to expectations.
- It's general config for rspec-expectations, not
  just for the matchers and fits better there.
- This allows us to cleanup some odd cross-requires
  where rspec/expectations files were requiring
  rspec/matchers files and vice-versa.
- The attribute for this remains on RSpec::Matchers
  because that's where rspec-core looks for it and
  that's been the public API.
51f160d
Myron Marston Leverage the optimized require logic from rspec-support.
Closes #464
f178d26
Myron Marston Add changelog entry.
[ci skip]
8b74b6f
Myron Marston Merge pull request #488 from rspec/use-optimized-require
Use optimized require
a0b7f09
Mar 03, 2014
Jon Rowe cleanup ws
[skip ci]
1310929
Mar 06, 2014
Myron Marston Ensure `expect`, `should` and `should_not` are doc'd properly.
They should be doc'd as part of `RSpec::Matchers` and
`BasicObject`, not part of `RSpec::Expectations::Syntax`.
2c5c8cd
Mar 07, 2014
Kenrick [aka Ken] Chien Fix comma splice aa911b7
Myron Marston Merge pull request #492 from kchien/comma_splice
Fix comma splice
94ae093
Mar 14, 2014
Jon Rowe Updated travis build scripts (from rspec-dev) bd25f4e
Myron Marston Merge pull request #497 from rspec/update-travis-build-scripts-2014-0…
…3-14-for-master

Updates from rspec-dev (2014-03-14)
a846d82
Sam Phippen Name to all magical unicode/ascii constants in EncodedString and specs
This should help with understanding of these tests and clarify their
intentions. Closes #466.
859eedf
Sam Phippen Merge pull request #484 from rspec/cleanup-encoded-string
Name to all magical unicode/ascii constants in EncodedString and specs
59360e8
Mar 15, 2014
Myron Marston Stop using RSpec::Core::BacktraceFormatter directly.
We want to use the instance of it returned by
RSpec.configuration.backtrace_formatter instead.
0599357
Myron Marston Merge pull request #498 from rspec/update-rspec-core-backtrace-format…
…ter-reference

Stop using RSpec::Core::BacktraceFormatter directly.
e8b9e05
Mar 16, 2014
Aaron Kromer Ruby 2.1 has deprecated File.exists fba8433
Mar 17, 2014
Jon Rowe Merge pull request #499 from cupakromer/file-exists-deprecated
Ruby 2.1 has deprecated File.exists
5470fed
Myron Marston Pass a hash to `describe` now that that is properly supported. bb713ed
Myron Marston Merge pull request #500 from rspec/leverage-subject-fixes
Pass a hash to `describe` now that that is properly supported.
30781c7
Mar 18, 2014
Jon Rowe respond_to verifys arity with method_signature_verifier b593b8c
Jon Rowe Merge pull request #501 from rspec/use_method_signature_verifier
Use method_signature_verifier to verify arity in respond_to
704ded9
Mar 19, 2014
Jon Rowe use simpler inspect for literals but still detail other objects 110ea02
Jon Rowe Merge pull request #503 from rspec/use_simpler_inspect_for_literals
Use simpler inspect for literals
050cc62
René Föhring Add docs badge to README db3d39e
Bradley Schaefer Merge pull request #504 from rrrene/patch-1
Add docs badge to README
cb13bd1
Mar 22, 2014
Myron Marston Standardize on `shared_examples`.
`shared_examples_for` is going away.
598d678
Mar 23, 2014
Xavier Shay Remove explicit fencing, this is provided automatically now. 686edb3
Mar 25, 2014
Jon Rowe update yard e057c07
Mar 26, 2014
Jon Rowe fix up cases where yard doesn't like our private docs 5b961e5
Bradley Schaefer Merge pull request #506 from rspec/remove-fencing
Remove explicit fencing, this is provided automatically now.
8a5ec3d
pete higgins Extract diffing code to support. 3db3310
Mar 27, 2014
Jon Rowe Merge pull request #441 from phiggins/extract-differ-to-support
Extract differ to support
ec2e9a2
Myron Marston Fix docs.
[ci skip]
518cee5
Myron Marston Don't blow up when generating a failure message involving stdout/stderr. 39c50b9
Mar 28, 2014
Myron Marston Fix `change` matcher to work properly with `IO` objects. be7877f
Mar 29, 2014
Jon Rowe color_enabled is going away, replace with color 4c16383
Jon Rowe Merge pull request #509 from rspec/remove_color_enabled
color_enabled is going away, replace with color
21b14d1
Daniel Fone Don't raise errors in exists matcher
Fail gracefully instead
c535d58
Myron Marston Merge pull request #508 from rspec/fix-io-error
Don't blow up when generating a failure message involving stdout/stderr.
ae87d57
Myron Marston Merge pull request #511 from danielfone/composable-exists-matcher
Don't raise errors in exists matcher
c7689f4
Myron Marston Add a changelog entry for #511. 04ab241
Myron Marston Improve wording a bit. a61f8ea
Myron Marston Updated travis build scripts (from rspec-dev) a90c83b
Myron Marston Merge pull request #512 from rspec/update-travis-build-scripts-2014-0…
…3-29-for-master

Updates from rspec-dev (2014-03-29)
6c52adc
Mar 30, 2014
Daniel Fone Format BigDecimal eq failures with to_s 94a8d51
Myron Marston Merge pull request #510 from danielfone/bigdecimal-representation
Format BigDecimal eq failures with to_s
c689fc6
Myron Marston Add changelog for #510.
[ci skip]
1b6d3c8
Myron Marston Updated travis build scripts (from rspec-dev) 8915a01
Myron Marston Merge pull request #514 from rspec/update-travis-build-scripts-2014-0…
…3-30-for-master

Updates from rspec-dev (2014-03-30)
3b3a22a
Mar 31, 2014
Myron Marston Merge pull request #507 from rspec/update_yard
Update yard
3b79319
Myron Marston Add missing docs.
This gets us back to 100% YARD doc coverage and
should get our build back to green.
453865a
Apr 01, 2014
Jon Rowe prevent non-deterministic failures from 1.8.7 hash inspecting
fixes #419
a2a8304
Jon Rowe Merge pull request #419 from rspec/broken_include_matcher
REE is broken due to hash key ordering on certain seeds
9febc53
Daniel Fone Add spec to check exist matcher is fully composable b72c8e5
Apr 02, 2014
Daniel Fone Properly memoize Exist matcher ae24115
Apr 03, 2014
Daniel Fone Fix description for failure when predicate returns nil faa21ce
Daniel Fone Fix respond_to? on ProxyClass 2a2d997
Daniel Fone Don't raise NameErrors in `be` matcher 5404a85
Myron Marston Merge pull request #515 from danielfone/composable-exists-matcher
Add spec to check exist matcher is fully composable
af5c4a7
Myron Marston Add spec for memorization of exist matcher.
Follow up to #515.
3028b3a
Myron Marston Add copy logic to MatcherDelegator. 6f825b7
Myron Marston Clone matchers in composable matcher expressions. 8bc2498
Apr 04, 2014
Myron Marston Clone matchers in compound expressions as well. 00efe3c
Myron Marston Merge pull request #517 from rspec/add-memoization-spec-to-exist
Add spec for memorization of exist matcher.
5bfa4c3
Myron Marston Merge pull request #518 from rspec/clone-matchers-when-composing
Clone matchers when composing
3701d27
Myron Marston Merge pull request #513 from danielfone/composable-be-matcher
Don't raise NameErrors in `be` matcher
1c0c47a
Myron Marston Add changelog entry for #513.
[ci skip]
0e3e382
Apr 06, 2014
Erik Michaels-Ober Always display the actual value in the failure message of the BeMatcher 36b80c5
Sam Phippen Fix formatting of objects in be predicate error message 4963c33
Sam Phippen Fix the cukes for the new be predicate formatter d642d92
Apr 09, 2014
Daniel Fone Ensure Has matcher is composable
Utilises existing patterns from the Be and Exists matchers
f1488d6
Myron Marston Merge pull request #520 from danielfone/composable-has-matcher
Ensure Has matcher is composable
123f392
Myron Marston Update changelog for #520.
[ci skip]
3303f45
Myron Marston Merge pull request #406 from sferik/display_actual
Always display the actual value in the failure message of the BeMatcher
6135848
Myron Marston Changelog for #406.
[ci skip]
fefe69c
Apr 10, 2014
Myron Marston Prefer __send__ to send.
It works more consistently (as user objects may have
a custom definition of `send` but redefining `__send__`
issues a warning).
c499b68
Apr 11, 2014
Jon Rowe Merge pull request #524 from rspec/prefer-send
Prefer __send__ to send.
afc439c
Apr 14, 2014
Myron Marston Fix typo in changelog.
[ci skip]
184be5d