Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 205 lines (129 sloc) 6.226 kB
2cfed80 @dchelimsky fix changelog
dchelimsky authored
1 ### dev
2 [full changelog](http://github.com/rspec/rspec-expectations/compare/v2.9.1...master)
3
2e0cdbc @dchelimsky Change start_with and end_with matchers to take varargs.
dchelimsky authored
4 Enhancements
5
6 * Add new `start_with` and `end_with` matchers (Jeremy Wadsack)
429c672 @myronmarston Update changelog.
myronmarston authored
7 * Add new matchers for specifying yields (Myron Marson):
8 * `expect {...}.to yield_control`
9 * `expect {...}.to yield_with_args(1, 2, 3)`
10 * `expect {...}.to yield_with_no_args`
11 * `expect {...}.to yield_successive_args(1, 2, 3)`
2e0cdbc @dchelimsky Change start_with and end_with matchers to take varargs.
dchelimsky authored
12
2cfed80 @dchelimsky fix changelog
dchelimsky authored
13 Bug fixes
14
15 * Fix `be_within` matcher to be inclusive of delta.
780d4c2 @dchelimsky Changlog for #140
dchelimsky authored
16 * Fix message-specific specs to pass on Rubinius (John Firebaugh)
2cfed80 @dchelimsky fix changelog
dchelimsky authored
17
f31ae96 @dchelimsky bump to 2.9.1
dchelimsky authored
18 ### 2.9.1 / 2012-04-03
2cfed80 @dchelimsky fix changelog
dchelimsky authored
19 [full changelog](http://github.com/rspec/rspec-expectations/compare/v2.9.0...v2.9.1)
e12a2d9 @justinko Provide a helpful message if the diff between two objects is empty. F…
justinko authored
20
21 Bug fixes
22
23 * Provide a helpful message if the diff between two objects is empty.
ca5cc09 @dchelimsky Changelog for #128
dchelimsky authored
24 * Fix bug diffing single strings with multiline strings.
8f822b0 @dchelimsky changelog for #126
dchelimsky authored
25 * Fix for error with using custom matchers inside other custom matchers
26 (mirasrael)
ca5cc09 @dchelimsky Changelog for #128
dchelimsky authored
27 * Fix using execution context methods in nested DSL matchers (mirasrael)
e12a2d9 @justinko Provide a helpful message if the diff between two objects is empty. F…
justinko authored
28
fb77fca @dchelimsky bump to 2.9.0
dchelimsky authored
29 ### 2.9.0 / 2012-03-17
30 [full changelog](http://github.com/rspec/rspec-expectations/compare/v2.8.0...v2.9.0)
3d89aec @dchelimsky changelog for #103
dchelimsky authored
31
867260b @dchelimsky Changelog for #105 [ci skip]
dchelimsky authored
32 Enhancements
33
34 * Move built-in matcher classes to RSpec::Matchers::BuiltIn to reduce pollution
35 of RSpec::Matchers (which is included in every example).
36 * Autoload files with matcher classes to improve load time.
37
3d89aec @dchelimsky changelog for #103
dchelimsky authored
38 Bug fixes
39
0492d87 @dchelimsky formatting tweaks in the changelog
dchelimsky authored
40 * Align `respond_to?` and `method_missing` in DSL-defined matchers.
f4efada @dchelimsky Clear out user-defined instance variables between invocations of DSL-…
dchelimsky authored
41 * Clear out user-defined instance variables between invocations of DSL-defined
42 matchers.
65d3c4d @dchelimsky Dup the instance of a DSL generated matcher so its state is not changed
dchelimsky authored
43 * Dup the instance of a DSL generated matcher so its state is not changed by
44 subsequent invocations.
503ed29 @dchelimsky Changlog for #115
dchelimsky authored
45 * Treat expected args consistently across positive and negative expectations
46 (thanks to Ralf Kistner for the heads up)
3d89aec @dchelimsky changelog for #103
dchelimsky authored
47
04e55a8 @dchelimsky bump to 2.8.0
dchelimsky authored
48 ### 2.8.0 / 2012-01-04
6db8a2a @dchelimsky Changelog for last merge
dchelimsky authored
49
04e55a8 @dchelimsky bump to 2.8.0
dchelimsky authored
50 [full changelog](http://github.com/rspec/rspec-expectations/compare/v2.8.0.rc2...v2.8.0)
6db8a2a @dchelimsky Changelog for last merge
dchelimsky authored
51
52 Enhancements
53
54 * Better diff output for Hash (Philippe Creux)
b525e69 @dchelimsky Changelog for #102 [ci skip]
dchelimsky authored
55 * Eliminate Ruby warnings (Olek Janiszewski)
6db8a2a @dchelimsky Changelog for last merge
dchelimsky authored
56
28ca577 @dchelimsky prep for 2.8.0.rc2
dchelimsky authored
57 ### 2.8.0.rc2 / 2011-12-19
58
59 [full changelog](http://github.com/rspec/rspec-expectations/compare/v2.8.0.rc1...v2.8.0.rc2)
60
61 No changes for this release. Just releasing with the other rspec gems.
62
b53e358 @dchelimsky changelog
dchelimsky authored
63 ### 2.8.0.rc1 / 2011-11-06
a4f0fb5 @dchelimsky changelog
dchelimsky authored
64
b53e358 @dchelimsky changelog
dchelimsky authored
65 [full changelog](http://github.com/rspec/rspec-expectations/compare/v2.7.0...v2.8.0.rc1)
a4f0fb5 @dchelimsky changelog
dchelimsky authored
66
3a931ab @dchelimsky fix changelog formatting
dchelimsky authored
67 Enhancements
68
69 * Use classes for the built-in matchers (they're faster).
70 * Eliminate Ruby warnings (Matijs van Zuijlen)
a4f0fb5 @dchelimsky changelog
dchelimsky authored
71
32f2439 @dchelimsky update changelog for 2.7.0 release
dchelimsky authored
72 ### 2.7.0 / 2011-10-16
b4d38b4 @dchelimsky fix revisionist history
dchelimsky authored
73
32f2439 @dchelimsky update changelog for 2.7.0 release
dchelimsky authored
74 [full changelog](http://github.com/rspec/rspec-expectations/compare/v2.6.0...v2.7.0)
b4d38b4 @dchelimsky fix revisionist history
dchelimsky authored
75
3a931ab @dchelimsky fix changelog formatting
dchelimsky authored
76 Enhancements
77
78 * `HaveMatcher` converts argument using `to_i` (Alex Bepple & Pat Maddox)
79 * Improved failure message for the `have_xxx` matcher (Myron Marston)
80 * `HaveMatcher` supports `count` (Matthew Bellantoni)
81 * Change matcher dups `Enumerable` before the action, supporting custom
82 `Enumerable` types like `CollectionProxy` in Rails (David Chelimsky)
b4d38b4 @dchelimsky fix revisionist history
dchelimsky authored
83
3a931ab @dchelimsky fix changelog formatting
dchelimsky authored
84 Bug fixes
85
86 * Fix typo in `have(n).xyz` documentation (Jean Boussier)
87 * fix `safe_sort` for ruby 1.9.2 (`Kernel` now defines `<=>` for Object) (Peter
88 van Hardenberg)
1b5edc5 @dchelimsky changelog
dchelimsky authored
89
fad075c @dchelimsky prep for 2.6.0
dchelimsky authored
90 ### 2.6.0 / 2011-05-12
ac3c317 @dchelimsky prep for 2.6.0.rc5
dchelimsky authored
91
fad075c @dchelimsky prep for 2.6.0
dchelimsky authored
92 [full changelog](http://github.com/rspec/rspec-expectations/compare/v2.5.0...v2.6.0)
8813963 @dchelimsky changelog
dchelimsky authored
93
3a931ab @dchelimsky fix changelog formatting
dchelimsky authored
94 Enhancements
95
96 * `change` matcher accepts regexps (Robert Davis)
97 * better descriptions for `have_xxx` matchers (Magnus Bergmark)
98 * `range.should cover(*values)` (Anders Furseth)
e14e87f @dchelimsky Changlog
dchelimsky authored
99
3a931ab @dchelimsky fix changelog formatting
dchelimsky authored
100 Bug fixes
101
102 * Removed non-ascii characters that were choking rcov (Geoffrey Byers)
103 * change matcher dups arrays and hashes so their before/after states can be
104 compared correctly.
105 * Fix the order of inclusion of RSpec::Matchers in Test::Unit::TestCase and
106 MiniTest::Unit::TestCase to prevent a SystemStackError (Myron Marston)
8813963 @dchelimsky changelog
dchelimsky authored
107
3e4a46f @dchelimsky prep for 2.5 release
dchelimsky authored
108 ### 2.5.0 / 2011-02-05
f859a68 @dchelimsky add beginnings of History
dchelimsky authored
109
3e4a46f @dchelimsky prep for 2.5 release
dchelimsky authored
110 [full changelog](http://github.com/rspec/rspec-expectations/compare/v2.4.0...v2.5.0)
68fff16 @dchelimsky docs/changelog
dchelimsky authored
111
3a931ab @dchelimsky fix changelog formatting
dchelimsky authored
112 Enhancements
113
114 * `should exist` works with `exist?` or `exists?` (Myron Marston)
115 * `expect { ... }.not_to do_something` (in addition to `to_not`)
68fff16 @dchelimsky docs/changelog
dchelimsky authored
116
3a931ab @dchelimsky fix changelog formatting
dchelimsky authored
117 Documentation
118
119 * improved docs for raise_error matcher (James Almond)
f5ddd17 @dchelimsky Additional improvements to raise_error matcher docs.
dchelimsky authored
120
68f857b @dchelimsky prep for 2.4.0 release
dchelimsky authored
121 ### 2.4.0 / 2011-01-02
9059239 @dchelimsky more improvments to RDoc for change matcher
dchelimsky authored
122
68f857b @dchelimsky prep for 2.4.0 release
dchelimsky authored
123 [full changelog](http://github.com/rspec/rspec-expectations/compare/v2.3.0...v2.4.0)
124
125 No functional changes in this release, which was made to align with the
126 rspec-core-2.4.0 release.
9059239 @dchelimsky more improvments to RDoc for change matcher
dchelimsky authored
127
3a931ab @dchelimsky fix changelog formatting
dchelimsky authored
128 Enhancements
129
130 * improved RDoc for change matcher (Jo Liss)
9059239 @dchelimsky more improvments to RDoc for change matcher
dchelimsky authored
131
94a5730 @dchelimsky prep for 2.3.0 release
dchelimsky authored
132 ### 2.3.0 / 2010-12-12
1bcd0bc @dchelimsky history
dchelimsky authored
133
94a5730 @dchelimsky prep for 2.3.0 release
dchelimsky authored
134 [full changelog](http://github.com/rspec/rspec-expectations/compare/v2.2.1...v2.3.0)
1bcd0bc @dchelimsky history
dchelimsky authored
135
3a931ab @dchelimsky fix changelog formatting
dchelimsky authored
136 Enhancements
137
138 * diff strings when include matcher fails (Mike Sassak)
1bcd0bc @dchelimsky history
dchelimsky authored
139
16ca752 @dchelimsky prep for 2.2 release
dchelimsky authored
140 ### 2.2.0 / 2010-11-28
141
142 [full changelog](http://github.com/rspec/rspec-expectations/compare/v2.1.0...v2.2.0)
143
a1ef6b7 @dchelimsky bump to 2.1.0
dchelimsky authored
144 ### 2.1.0 / 2010-11-07
acbfcbe @dchelimsky history
dchelimsky authored
145
a1ef6b7 @dchelimsky bump to 2.1.0
dchelimsky authored
146 [full changelog](http://github.com/rspec/rspec-expectations/compare/v2.0.1...v2.1.0)
acbfcbe @dchelimsky history
dchelimsky authored
147
3a931ab @dchelimsky fix changelog formatting
dchelimsky authored
148 Enhancements
149
150 * `be_within(delta).of(expected)` matcher (Myron Marston)
151 * Lots of new Cucumber features (Myron Marston)
152 * Raise error if you try `should != expected` on Ruby-1.9 (Myron Marston)
153 * Improved failure messages from `throw_symbol` (Myron Marston)
acbfcbe @dchelimsky history
dchelimsky authored
154
3a931ab @dchelimsky fix changelog formatting
dchelimsky authored
155 Bug fixes
156
157 * Eliminate hard dependency on `RSpec::Core` (Myron Marston)
158 * `have_matcher` - use pluralize only when ActiveSupport inflections are indeed
159 defined (Josep M Bach)
160 * throw_symbol matcher no longer swallows exceptions (Myron Marston)
161 * fix matcher chaining to avoid name collisions (Myron Marston)
acbfcbe @dchelimsky history
dchelimsky authored
162
f532c20 @dchelimsky prep for 2.0.0
dchelimsky authored
163 ### 2.0.0 / 2010-10-10
6967fd6 @dchelimsky history
dchelimsky authored
164
f532c20 @dchelimsky prep for 2.0.0
dchelimsky authored
165 [full changelog](http://github.com/rspec/rspec-expectations/compare/v2.0.0.rc...v2.0.0)
6967fd6 @dchelimsky history
dchelimsky authored
166
3a931ab @dchelimsky fix changelog formatting
dchelimsky authored
167 Enhancements
168
169 * Add match_for_should_not method to matcher DSL (Myron Marston)
0d69b6f @dchelimsky history
dchelimsky authored
170
3a931ab @dchelimsky fix changelog formatting
dchelimsky authored
171 Bug fixes
172
173 * `respond_to` matcher works correctly with `should_not` with multiple methods
174 (Myron Marston)
175 * `include` matcher works correctly with `should_not` with multiple values
176 (Myron Marston)
6967fd6 @dchelimsky history
dchelimsky authored
177
add3597 @dchelimsky update history
dchelimsky authored
178 ### 2.0.0.rc / 2010-10-05
de19d98 @dchelimsky update history
dchelimsky authored
179
add3597 @dchelimsky update history
dchelimsky authored
180 [full changelog](http://github.com/rspec/rspec-expectations/compare/v2.0.0.beta.22...v2.0.0.rc)
de19d98 @dchelimsky update history
dchelimsky authored
181
3a931ab @dchelimsky fix changelog formatting
dchelimsky authored
182 Enhancements
183
184 * `require 'rspec/expectations'` in a T::U or MiniUnit suite (Josep M. Bach)
b3faf00 @dchelimsky update history
dchelimsky authored
185
3a931ab @dchelimsky fix changelog formatting
dchelimsky authored
186 Bug fixes
187
188 * change by 0 passes/fails correctly (Len Smith)
189 * Add description to satisfy matcher
de19d98 @dchelimsky update history
dchelimsky authored
190
51f64b1 @dchelimsky adjust history for beta.22 release
dchelimsky authored
191 ### 2.0.0.beta.22 / 2010-09-12
f859a68 @dchelimsky add beginnings of History
dchelimsky authored
192
51f64b1 @dchelimsky adjust history for beta.22 release
dchelimsky authored
193 [full changelog](http://github.com/rspec/rspec-expectations/compare/v2.0.0.beta.20...v2.0.0.beta.22)
f859a68 @dchelimsky add beginnings of History
dchelimsky authored
194
3a931ab @dchelimsky fix changelog formatting
dchelimsky authored
195 Enhancements
196
197 * diffing improvements
f859a68 @dchelimsky add beginnings of History
dchelimsky authored
198 * diff multiline strings
199 * don't diff single line strings
200 * don't diff numbers (silly)
201 * diff regexp + multiline string
202
3a931ab @dchelimsky fix changelog formatting
dchelimsky authored
203 Bug fixes
204 * `should[_not]` change now handles boolean values correctly
Something went wrong with that request. Please try again.