Skip to content

HTTPS clone URL

Subversion checkout URL

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