Skip to content

HTTPS clone URL

Subversion checkout URL

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