Skip to content
This repository
  • 357 commits
  • 173 files changed
  • 38 comments
  • 18 contributors
This comparison is big! We're only showing the most recent 250 commits
Jun 14, 2011
Jean Boussier fix: missing underscores escaping in "have" feature description c539767
David Chelimsky Merge pull request #77 from byroot/patch-1
fix: missing underscores escaping in "have" feature description
37864d9
David Chelimsky changelog 1b5edc5
David Chelimsky remove .document/add .yardopts f0efdcf
David Chelimsky doc: adjustments for yard d7d87d8
Jun 20, 2011
David Chelimsky ci: exclude local dev gems from travis bundle fe10f0b
David Chelimsky dev: bump aruba timeout to 5 seconds c0a318a
David Chelimsky dev: exclude rcov for ruby 1.9 5ee3840
Jun 22, 2011
David Chelimsky dev: remove bin/ from git d5afa09
David Chelimsky bump cukes to 1.0 084c6b1
Jul 01, 2011
David Chelimsky Eliminate some warnings and align some failure messages in the process. 039baf5
Jul 02, 2011
David Chelimsky doc: tweaks 00fe65f
Jul 14, 2011
David Chelimsky Fix docs for 'should be' (passes if truthy, not 'not nil')
- Fixes #84.
3d8cfc7
Jul 30, 2011
Peter van Hardenberg if the sort fails, rescue and return the array as-is
- Closes #81.
- Closes #83.
d49eba7
Aug 17, 2011
Justin Ko Merge pull request #87 from moro/cover-matcher-documentation-typo-fix
fix typo in 'cover' matchers documentation
0b63bf4
Aug 18, 2011
MOROHASHI Kyosuke fix typo 393f15e
Aug 26, 2011
David Chelimsky improve cuke for raise_error matcher a541a75
Sep 27, 2011
Matthew Bellantoni Make Matchers::Have recognize #count in collection objects.
- Closes #91.
a715f88
David Chelimsky refactor: tease apart Have#matches?
- #91.
149a939
David Chelimsky changelog
- #91.
d8edde0
David Chelimsky no reason to use __send__ for public methods eb3886a
David Chelimsky ci: stick to travis-supported rubies 90eeb1f
Sep 29, 2011
David Chelimsky copy instance_eval_with_args from rspec-core (a bit cleaner) 2102bcd
Oct 04, 2011
David Chelimsky ci: bump the aruba timeout for jruby e175d8a
Oct 06, 2011
David Chelimsky Change matcher dups Enumerable before the action, supporting custom
Enumerable types like CollectionProxy in Rails.

- Closes rspec/rspec-rails#411
ea01a6f
David Chelimsky ci: fix travis png url b8bafca
Oct 09, 2011
David Chelimsky ignore .rbx (rubinius-generated files) 2487077
David Chelimsky bump to 2.7.0.rc1 13cc663
David Chelimsky bump relish version to ~> 0.5.0 40d5ba9
Oct 16, 2011
David Chelimsky cleanup and add some rdoc 4638609
David Chelimsky update changelog for 2.7.0 release 32f2439
David Chelimsky bump version to 2.7.0 cf9e77f
David Chelimsky fix formatting problems in the changelog 73606f7
David Chelimsky move eq matcher to a class e8e4e5f
David Chelimsky move eql matcher to a class 14142dc
Oct 17, 2011
David Chelimsky move include matcher to a class and start to extract a base matcher c…
…lass
fc64e47
Oct 19, 2011
David Chelimsky add benchmark showing improvement by moving from DSL to classes
"x.should eq(5)" is over 200x faster using a class than the dsl in ruby
1.9.2, with similar results in other rubies

=========================================

3 runs of 1000 times for each example running ruby/1.8.7
passing examples: 5.should eq(5)
* using the DSL
  0.340000   0.000000   0.340000 (  0.342052)
  0.330000   0.010000   0.340000 (  0.340618)
  0.340000   0.000000   0.340000 (  0.339149)

* using a class
  0.000000   0.000000   0.000000 (  0.003762)
  0.010000   0.000000   0.010000 (  0.004192)
  0.000000   0.000000   0.000000 (  0.003791)

failing examples: 5.should eq(3)
* using the DSL
  0.380000   0.000000   0.380000 (  0.384415)
  0.380000   0.010000   0.390000 (  0.381604)
  0.370000   0.000000   0.370000 (  0.380255)

* using a class
  0.040000   0.000000   0.040000 (  0.034528)
  0.030000   0.000000   0.030000 (  0.032021)
  0.060000   0.010000   0.070000 (  0.067579)

3 runs of 1000 times for each example running ruby/1.9.2
passing examples: 5.should eq(5)
* using the DSL
  0.250000   0.010000   0.260000 (  0.249692)
  0.250000   0.000000   0.250000 (  0.253856)
  0.230000   0.000000   0.230000 (  0.232787)

* using a class
  0.000000   0.000000   0.000000 (  0.001069)
  0.000000   0.000000   0.000000 (  0.001041)
  0.000000   0.000000   0.000000 (  0.001023)

failing examples: 5.should eq(3)
* using the DSL
  0.370000   0.000000   0.370000 (  0.377139)
  0.360000   0.010000   0.370000 (  0.358379)
  0.370000   0.000000   0.370000 (  0.373795)

* using a class
  0.060000   0.010000   0.070000 (  0.073325)
  0.050000   0.000000   0.050000 (  0.053562)
  0.070000   0.000000   0.070000 (  0.075382)

3 runs of 1000 times for each example running ruby/1.9.3
passing examples: 5.should eq(5)
* using the DSL
    0.210000   0.000000   0.210000 (  0.219539)
   0.220000   0.010000   0.230000 (  0.217905)
   0.220000   0.000000   0.220000 (  0.219657)

* using a class
    0.000000   0.000000   0.000000 (  0.001054)
   0.000000   0.000000   0.000000 (  0.001048)
   0.000000   0.000000   0.000000 (  0.001035)

failing examples: 5.should eq(3)
* using the DSL
    0.350000   0.000000   0.350000 (  0.351742)
   0.360000   0.000000   0.360000 (  0.362456)
   0.340000   0.010000   0.350000 (  0.351098)

* using a class
    0.080000   0.000000   0.080000 (  0.079964)
   0.080000   0.000000   0.080000 (  0.076579)
   0.070000   0.000000   0.070000 (  0.080587)

3 runs of 1000 times for each example running rbx/1.8.7
passing examples: 5.should eq(5)
* using the DSL
  1.926107   0.009784   1.935891 (  1.629354)
  0.583860   0.004390   0.588250 (  0.580396)
  0.868571   0.003510   0.872081 (  0.796644)

* using a class
  0.002652   0.000013   0.002665 (  0.002679)
  0.001845   0.000016   0.001861 (  0.001848)
  0.002656   0.000010   0.002666 (  0.001823)

failing examples: 5.should eq(3)
* using the DSL
  0.694148   0.002006   0.696154 (  0.648551)
  1.063773   0.004653   1.068426 (  0.998837)
  0.643594   0.001356   0.644950 (  0.638358)

* using a class
  0.020139   0.000036   0.020175 (  0.020161)
  0.097540   0.000575   0.098115 (  0.084680)
  0.058366   0.000269   0.058635 (  0.044372)

3 runs of 1000 times for each example running jruby/1.8.7
passing examples: 5.should eq(5)
* using the DSL
  0.355000   0.000000   0.355000 (  0.355000)
  0.261000   0.000000   0.261000 (  0.261000)
  0.242000   0.000000   0.242000 (  0.242000)

* using a class
  0.007000   0.000000   0.007000 (  0.007000)
  0.004000   0.000000   0.004000 (  0.004000)
  0.001000   0.000000   0.001000 (  0.001000)

failing examples: 5.should eq(3)
* using the DSL
  0.507000   0.000000   0.507000 (  0.507000)
  0.468000   0.000000   0.468000 (  0.468000)
  0.476000   0.000000   0.476000 (  0.476000)

* using a class
  0.259000   0.000000   0.259000 (  0.259000)
  0.521000   0.000000   0.521000 (  0.521000)
  0.244000   0.000000   0.244000 (  0.244000)
d9e6258
David Chelimsky move equal matcher to class 6ef7b16
Oct 20, 2011
David Chelimsky make BaseMatcher a module 175873e
David Chelimsky be_true matcher from dsl to class 747c364
David Chelimsky generalize a few more bits to the base matcher 83db538
David Chelimsky be_[true|false|nil] matchers are all classes now 276888f
David Chelimsky Fix broken be_true and equal matchers. 17054d5
David Chelimsky exist matcher from dsl to class 4fc2207
David Chelimsky fix the failure message for exist matcher db5d616
David Chelimsky be_kind_of matcher to class 2953622
David Chelimsky be instance of matcher to class (and restore better failure messages …
…for be a kind of)
93f6ac4
David Chelimsky be_within matcher to class 148192b
David Chelimsky move the rest of the built-in matchers to classes 55a6939
David Chelimsky move the matchers back to the files with their classes for now b9cd7f5
David Chelimsky fix cover matcher failure messages 7a0abc1
David Chelimsky add rdoc for a few matchers 79648bd
David Chelimsky changelog a4f0fb5
Oct 23, 2011
David Chelimsky rdoc 3feb655
David Chelimsky rdoc 29d56b9
Oct 25, 2011
Justin Ko Set default order to :random 0b61472
Oct 29, 2011
David Chelimsky add -w flag to rake spec f852ee1
David Chelimsky eliminate warnings 4ef2397
Oct 30, 2011
David Chelimsky dev: fix ruby-debug version (and deps) for 1.9.2 806b14b
Matijs van Zuijlen Eliminate remaining warnings.
- Closes #94.
0081b13
David Chelimsky changelog for #94 3c7b0f5
David Chelimsky changelog tweaks 2e85c85
Nov 06, 2011
David Chelimsky changelog b53e358
David Chelimsky bump to 2.8.0.rc1 09d9dff
Nov 08, 2011
David Chelimsky update License and/or authors in gemspec c5afc28
David Chelimsky update email addy and homepage in gemspec 3f23693
Nov 09, 2011
David Chelimsky fix changelog formatting 3a931ab
Nov 19, 2011
David Chelimsky dev: clobber docs 9cd937b
Nov 23, 2011
David Chelimsky add changelog to rdoc 36f2c5d
David Chelimsky Revert "add changelog to rdoc"
Accidentally included some stuff I was in the middle of.

This reverts commit 36f2c5d.
ed98a22
David Chelimsky Add changelog to rdoc (again) 1707be8
Nov 24, 2011
David Chelimsky dev: add warning with solution for ruby-debug19 issues when installin…
…g the bundle on ruby-1.9.3
e61595a
David Chelimsky add match_unless_raises to BaseMatcher 94591f2
David Chelimsky store the exception rescued in match_against_raises 88d6ecf
Nov 25, 2011
David Chelimsky BaseMatcher#== delegates to matches? 4499f53
David Chelimsky dev: hack the Gemfile to print instructions for ruby-debug-base19 and…
… linecache19 on ruby-1.9.3
1b2f6bd
David Chelimsky format 678ce01
David Chelimsky ci: don't warn about ruby-debug-base19 and linecache19 in ci 82eba3f
David Chelimsky self-less 7ae080e
David Chelimsky remove unused file f776aca
David Chelimsky dev: move dev-env gems to Gemfile-custom.sample d67083c
David Chelimsky ignore Gemfile-custom 213f60c
Nov 27, 2011
Corey Haines create one matcher object rather than one-per-call d3e5310
David Chelimsky document methods in the matcher DSL 17c04aa
Dec 02, 2011
David Chelimsky add license to gemspec (and consequently the gem) f9f1b5b
Dec 04, 2011
David Chelimsky use github-flavored-markdown in the readme f574614
Dec 16, 2011
David Chelimsky add note explaining why you can't say actual.should != expected a6c4788
Dec 19, 2011
David Chelimsky prep for 2.8.0.rc2 28ca577
Dec 28, 2011
Chad Humphries Merge pull request #60 from pcreux/master
Better diff output for Hash
2447ef6
Dec 29, 2011
David Chelimsky Changelog for last merge 6db8a2a
David Chelimsky make include matcher diffable 119e018
Jan 03, 2012
David Chelimsky Merge pull request #102 from exviva/fix_warning_splat_interpreted_as_…
…argument_prefix

Fix warning in matchers/dsl.rb
43b0918
Jan 04, 2012
Olek Janiszewski Fix warning in matchers/dsl.rb
lib/rspec/matchers/dsl.rb:10: warning: `*' interpreted as argument prefix
9b8aeb9
David Chelimsky Diff single line and multiline strings differently 1273d4d
David Chelimsky Changelog for #102 [ci skip] b525e69
David Chelimsky bump to 2.8.0 04e55a8
Jan 06, 2012
David Chelimsky Align respond_to? and method_missing in Matchers generated by DSL.
- Fixes #103.
d7db5d0
David Chelimsky changelog for #103 3d89aec
David Chelimsky bump some dev dep versions and move them to gemspec 73c6b68
David Chelimsky clean up file listings for rdoc, yard, and gemspec b41b82f
David Chelimsky ci: need the development group now 034084e
David Chelimsky add README.md to .document file [ci skip] d03388f
Jan 09, 2012
David Chelimsky remove unnecessary (and unused) custom error classes e031971
Jan 11, 2012
David Chelimsky Move all the matcher classes to the RSpec::Matchers::BuiltIn module (so
they don't cloud the Matchers namespace)
536cf9e
David Chelimsky dev: tweak Guardfile b7f6dde
David Chelimsky autoload matcher classes to reduce startup time a0f5026
David Chelimsky benchmark improvement using autoload a5b7368
David Chelimsky Changelog for #105 [ci skip] 867260b
David Chelimsky fix test for cover fb36160
David Chelimsky fix cuke that includes fully qualified name of a class that moved 19c64a5
David Chelimsky it's cover? (with a ?) 95bf234
Myron Marston Perf: Set#include? is O(1); Array#include? is O(N).
See the included benchmarks for actual benchmarks against a collection of 7 values like we have here.
40f83a9
Jan 12, 2012
David Chelimsky Clear out user-defined instance variables between invocations of DSL-…
…defined matchers.

- Fixes #104.
f4efada
David Chelimsky ruby 1.8 uses strings, 1.9 symbols 0102504
Jan 24, 2012
David Chelimsky Dup the instance of a DSL generated matcher so its state is not changed
by subsequent invocations.

- Fixes #112.
65d3c4d
Jan 28, 2012
David Chelimsky Remove relative links from README, since they can't work correctly on
github and rubydoc.info.

- Fixes #113.
17325de
Feb 06, 2012
David Chelimsky Treat expected args consistently across positive and negative expecta…
…tions.

- Fixes #115.
044b0a6
David Chelimsky Changlog for #115 503ed29
Mar 11, 2012
David Chelimsky bump to 2.9.0.rc1 f923b28
Mar 12, 2012
David Chelimsky Fix file list in gemspec.
- Fixes #121
ddf0502
David Chelimsky bump to 2.9.0.rc2 a60766b
Mar 17, 2012
David Chelimsky bump to 2.9.0 fb77fca
David Chelimsky dev: add a script to download ruby-debug-base19-0.11.26.gem and linec…
…ache19-0.5.13.gem to a local cache

[ci skip]
564487b
David Chelimsky Require kernel extensions (should) from block_aliases in case it is
loaded first.
e290fe3
David Chelimsky fix bug diffing single strings with multiline strings 07dd19c
David Chelimsky Revert "fix bug diffing single strings with multiline strings"
This reverts commit 07dd19c.
2c23be3
David Chelimsky better fix for bug when diffing multiline strings e4d8dcb
David Chelimsky formatting tweaks in the changelog 0492d87
Mar 22, 2012
Justin Ko Remove unnecessary "else" clause. 584e764
Justin Ko Provide a helpful message if the diff between two objects is empty. F…
…ixes #123
e12a2d9
Mar 24, 2012
David Chelimsky Changelog for #125 [ci skip] 0458ac1
Mar 26, 2012
Myron Marston Started working on yield matchers. 99456da
Mar 28, 2012
Myron Marston Rename helper methods for yield matcher specs. eb9d327
Mar 29, 2012
Fix error with using custom matchers inside other custom matcher rspe… 77243d9
David Chelimsky Merge pull request #126 from mirasrael/master
Fix for error with using custom matchers inside other custom matchers
6fe6c9f
David Chelimsky changelog for #126 8f822b0
David Chelimsky tweak docstring #126 [ci skip] e5cd722
Myron Marston Match yielded args with == or ===.
Previously, this expectation failed:

  expect { |b| _yield_with_args(String, Fixnum, &b) }.to yield_with_args(String, Fixnum)

...because Class=== returns false when given itself.
72c5dae
Myron Marston Provide better message for negative yield_with_args matcher failure. f3923dd
Myron Marston Group the yield examples by matcher. 1b106c4
Mar 30, 2012
Fix using execution context methods in nested DSL matchers
- Fixes #127.
abba439
Myron Marston Add yield_successive_args matcher. 23f5acb
Myron Marston Fix typo: "yields", not "yeilds". 1897250
Myron Marston Remove diffability from yield matchers for now.
I'm not sure it makes sense given that they don't match strictly but instead match using === or ==.
3c6a81e
Myron Marston Fix yield matchers to handle instance_eval.
It's debatable if instance_eval'ing a block can be considered yielding, but it's important that we use local variables in the lambdas rather than instance variables, because we don't want to modify the state of the receiver of #instance_eval.
0e79594
Myron Marston Raise an error if a yield matcher is used w/ an expect block that acc…
…epts no args.

The expect block must accept an arg, and pass it on to the method-under-test as a block, in order for these yield matchers to work properly.  Since this is atypical for an expect block, this error will help guide people when they use these matchers incorrectly.
66a2f01
Mar 31, 2012
Fix RSpec::Matchers::DSL#define for compatibility with 1.8.x 21752df
Fix naming 70dd175
Myron Marston Add description to all yield matchers. e969284
Myron Marston Add API docs for yield matchers.
Cukes are still to come.
b94da8d
Apr 01, 2012
Justin Ko Merge pull request #128 from mirasrael/master
Fix using execution context methods in nested DSL matchers
5ffc547
Apr 02, 2012
David Chelimsky Changelog for #128
[ci skip]
ca5cc09
David Chelimsky Change the be_within matcher to be inclusive of the delta.
- Fixes #131.
- This changes the way the matcher behaves, which is something we would
  generally avoid in anything but a major release, however we believe
  that this is the correct behavior and that this change is very unlikely
  to impact anybody negatively. Specifically:

  1. 17.4.should be_within(0.5).of(17) # used to pass and continues to pass
  2. 17.5.should be_within(0.5).of(17) # used to fail due to lack of inclusivity, but passes after this change
  3. 17.6.should be_within(0.5).of(17) # used to fail and continues to fail
  4. 17.4.should_not be_within(0.5).of(17) # used to fail and continues to fail
  5. 17.5.should_not be_within(0.5).of(17) # used to pass due to lack of inclusivity, but fails after this change
  6. 17.6.should_not be_within(0.5).of(17) # used to fail and continues to fail

  Scenario 2 used to fail, so it's unlikely to be present.
  Scenario 5 will result in new failures, but we believe that it is very unlikely to be used.
a9bf7ab
Apr 03, 2012
David Chelimsky bump to 2.9.1 f31ae96
David Chelimsky fix changelog 2cfed80
Apr 04, 2012
David Chelimsky need relish in the Gemfile to push relish docs 6fe2bca
David Chelimsky add doc files to .yardopts
[ci skip]
40cbc30
Apr 08, 2012
Jeremy Wadsack Added start_with and end_with matchers for String 77a9ecc
Jeremy Wadsack Added start_with and end_with support for Array 9b9946c
Jeremy Wadsack Handle case when expected can't be indexed ab1d055
Jeremy Wadsack Rdoc for new matchers d5fdf35
Jeremy Wadsack Fix up whitespace 5f367d9
David Chelimsky Merge pull request #135 from jeremywadsack/start_with_end_with
Add matchers start_with end_with
05d9853
Apr 09, 2012
Myron Marston Add cukes for yield matchers. 24335ee
David Chelimsky Change start_with and end_with matchers to take varargs.
- Clean up rdoc, features, and specs.
- Refactor the two matchers a bit.
- Add changelog.
- #135
2e0cdbc
David Chelimsky add start_with and end_with matchers to README [ci skip] 35d98aa
Apr 10, 2012
Myron Marston Raise an error if expect block arg isn't passed on as a block.
Otherwise, the matcher is unable to detect anything about if the method-under-test yields, and the user may get false positives.
780655c
Myron Marston Refactor yield matchers a bit.
This allows the YieldProbe to take care of defining the probe block, and simplifies the #matches? methods.
7a0e4bb
Myron Marston Raise an error if a single-yield matcher is used with a multi-yield m…
…ethod.

Only the yield_successive_args matcher is designed for the multi-yield case.
f8c3c01
Apr 11, 2012
Myron Marston Update the yield cukes with a few more/better examples. d020cfe
Apr 17, 2012
Jeremy Wadsack Added more helpful message when actual has #[] but does not support #…
…[0,3]

Pull request #135
5908107
David Chelimsky align usage of expect/to 3591cd2
David Chelimsky can't use 1.9 hash syntax in specs (still support 1.8) - #135 5bdf4b8
Apr 18, 2012
Myron Marston Merge pull request #129 from rspec/yield_matchers
Yield matchers
e610e40
Myron Marston Update changelog.
[ci skip]
429c672
Apr 19, 2012
David Chelimsky match_unless_raises accepts multiple args
- in support of fix for rspec/rspec-rails#530
a5a58aa
John Firebaugh Do not require exception messages to exactly match MRI
Different Ruby implementations deserve latitude in the error
messages, e.g. to provide more precise diagnostics than MRI.

In particular, do not rely on the fact that RuntimeError generated
by MRI when calling bare `raise` without a current exception has
an empty message. That is not the case on Rubinius; it is arguably
a bug in MRI.

Following this commit, all test pass on Rubinius head.
9fa523e
Apr 21, 2012
David Chelimsky Merge pull request #140 from jfirebaugh/rubinius
Do not require exception messages to exactly match MRI
b98f0ba
David Chelimsky Fix potential false-positive so that it will fail correctly if there …
…is a regression.

- See #140.
694cbf1
David Chelimsky Changlog for #140 780d4c2
David Chelimsky eliminate 'not initialized' warning on @matcher_execution_context 7c76204
David Chelimsky ci: run against rbx 1fdaedb
David Chelimsky Fix Changelog formatting [ci skip] 20c7a3c
David Chelimsky Changelog [ci skip] f93ce4c
Apr 22, 2012
David Chelimsky shorten file extension f315020
David Chelimsky align config files across rspec projects fe40efd
David Chelimsky silence more warnings 5d8a233
David Chelimsky dev: align Gemfiles across rspec projects 15d96b8
Apr 30, 2012
David Chelimsky update yard to 0.8 97b5e0c
May 03, 2012
David Chelimsky update changelog for 2.10 release 77e1a09
David Chelimsky bump to 2.10.0 2e348ff
May 08, 2012
Myron Marston Add support for `expect(value)` syntax.
Note: there's more to do here (documentation, etc); this is just a starting point for discussion and comments.
d279c3b
Myron Marston Don't expose #target as a public API.
Also, fix the spelling of the class while I'm at it.
0d7ce9c
Myron Marston Add configuration API for choosing an expectation syntax.
:should, :expect or both can be chosen.
d9ab1a3
Myron Marston Don't redefine should or expect when re-configured. ad2a757
May 09, 2012
Myron Marston Refactor enabling/disabling of expectation syntaxes.
* Fix build on JRuby. Our sandboxing via forking didn't work
  on JRuby since fork isn't available. On JRuby we just
  re-enable all syntaxes at the end of each sandboxed example.
* Testing this revealed that the way I was restoring a disabled
  syntax didn't always work. Based on the random order, sometimes
  spec/rspec/matchers/be_spec.rb:427 would fail with
  "TypeError: bind argument must be an instance of Kernel".
* Refactored main logic into new syntax module, that can add
  the syntaxes to any class or module. Kernel/RSpec::Matcher
  defaults are provided for convenience. This also fixes the
  bind failure, by redefining the methods anew rather than
  re-binding the old ones.
309c4f0
Myron Marston Prevent operator matchers from new expect syntax. 6de81c7
May 10, 2012
Myron Marston We can't count on hash ordering.
...so use an array of tuples instead.

Closes #144.
3cf9110
May 11, 2012
Myron Marston Cleanup code a bit.
- Remove bang from method...as @justinko rightly pointed out, there's no corresponding bangless method so it didn't really follow convention here.
- Use an early guarded return.
8567ac6
Myron Marston Add yard docs for new modules.
[ci skip]
f1b8aa2
Myron Marston Add match_array matcher method for the old =~ array matcher.
This is needed because we've decided not to support operator matchers off of `expect(value).to`, and `match_array` is the best name we've come up with for it.
f00de57
May 13, 2012
David Chelimsky Remove obsolete spec
- it wasn't running because it was dynamically bound to classes that
  were no longer being found.
- it was specifying an age-old protocol that isn't used by
  rspec-expectations, so it would never be used.
5626043
May 16, 2012
Su Zhang Fix confusing error message in `be_within`
This is a patch for the following issue:

#92

It is possible to have duck typing for numerical operations, but the minus
sign is often used for other operations as well such as the set
difference that Array#- performs. In that case, even if it does not fail
on the :- method, it will probably fail on the subsequent :abs and :<=
calls.
675115d
Justin Ko Merge pull request #145 from zhangsu/master
Fix confusing error message in `be_within`
d186bf8
May 17, 2012
Justin Ko Clearer error message for previous commit. d55d9a8
Justin Ko Make "validation" methods for the be_within matcher class private. 1cac6bc
Justin Ko changelog 605a520
May 21, 2012
David Chelimsky dev: update Guardfile to run everything when matchers change c450e3d
David Chelimsky refactor BeWithin to be more self-contained.
More explicit and consistent in dealing with instance variables rather
than relying on knowledge of how BaseMatcher handles them.
38b247a
David Chelimsky minor refactoring: use implicit return 123169e
David Chelimsky dev: --backtrace 4c4c8dc
David Chelimsky refactor built-in matchers
Removed default initialize and matches? from the BaseMatcher and added
explicit initialization where needed.
a465f14
David Chelimsky Fix some cukes broken by the previous matcher refactoring (messages c…
…hanged)
b396938
Myron Marston Merge pull request #119 from rspec/expect_syntax
Add support for `expect(value)` syntax.
71a2c8d
Myron Marston Update changelog. f9574db
Myron Marston More changelog updates. 9793323
May 25, 2012
Bryan Helmkamp Add Code Climate badge 99fb8ce
David Chelimsky Merge pull request #146 from brynary/codeclimate-badge
Add Code Climate badge
089aca4
Jun 04, 2012
Myron Marston Add more docs on syntax configuration.
Closes #149.
5dd161e
Jun 06, 2012
Justin Ko Use `eq` instead of `==` for built-in matcher failure message. 43526ec
Jun 13, 2012
David Chelimsky put the rdoc for should, should_not, and expect where yard can pick i…
…t up
7847016
Jun 14, 2012
Myron Marston Add `should` and `should_not` to BasicObject on 1.9.
For #114.
4325717
Myron Marston Add #add_should_and_should_not to configuration API.
This allows users to manually add these methods to proxy objects that do not have them.

Closes #114.
a954586
Myron Marston Update changelog.
[ci skip]
6a8c932
Jun 19, 2012
David Chelimsky refactor matchers to use BaseMatcher's initialize and matches? methods 4024344
Jun 23, 2012
David Chelimsky Change BaseMatcher to a class.
It was a module, but it was really acting as a base class (it was even
in the name).

Very slightly more efficient (see benchmarks/include_v_superclass.rb)
49dc451
Jun 24, 2012
David Chelimsky ensure the eq matcher sends :== to actual (not expected) a3e2839
Jul 07, 2012
David Chelimsky add travis badge to README adaaa9b
David Chelimsky space, the final frontier b394f47
David Chelimsky bump to 2.11.0 45161a7
David Chelimsky improve automation for publishing to relishapp.com 705ddc5
Jul 08, 2012
David Chelimsky Constrain `actual` in `be_within` matcher to values that respond to `-`
instead of requiring a specific type.

- `Time`, for example, is a legit alternative.
- Fixes issue introduced by #145
1d2cc1f
David Chelimsky changelog for 2.11.1 release c6da0f6
David Chelimsky bump to 2.11.1 3ae2ff7
David Chelimsky loosen time constraint for be_within example 79febad
Jul 10, 2012
David Chelimsky enhance rdoc for expect syntax ebd8a4c
David Chelimsky tweak README (expect syntax) d5417f9
Jul 25, 2012
David Chelimsky enhance rdoc for expect syntax 8872d5a
David Chelimsky tweak README (expect syntax) e0035b3
Gabriel Gilder #159: Revise should(_not) to work with MacRuby 92b1818
Andy Lindeman Be defensive about resolving `Object`
It'd be pretty crazy for there to be an `RSpec::Object` or
`RSpec::Expectations::Object,` but 1) Ruby's constant resolution rules
have changed and I don't always remember them and 2) We were originally
defensive about it.
11a7f3a
Myron Marston Add change log entry for #160. ca74dce
Myron Marston 2.11.2 release. ae5f899
Sep 04, 2012
Myron Marston Merge commit '79febad675898345b8e9c7fdc06c1e23dd8d2278' into 2-11-mai…
…ntenance
1db5326
Myron Marston Merge commit 'd5417f9a9071a862b4ccee8fb7da03374f0c07be' into 2-11-mai…
…ntenance
4483f3e
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}.from(nil).to be_within(1.second).of(Time.zone.now)

Closes #161.
d40da72
Myron Marston Fix and deprecate `expect { }.should` syntax.
Fixes #170.
4808a0b
Myron Marston Add missing changelog entry I forgot to add.
This was fixed in d427bac.
0a9b18d
Myron Marston 2.11.3 release. 0c7e55a
Sep 05, 2012
Myron Marston Fix full changelog URL. 5f38292