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