Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 181 lines (108 sloc) 5.098 kB
5d3e1dc @dchelimsky Expose ArgumentListMatcher as a formal API
dchelimsky authored
1 ### dev
2
3 Enhancements
4
5 * expose ArgumentListMatcher as a formal API
6 * supports use by 3rd party mock frameworks like Surrogate
7
a11fcdc @myronmarston Update changelog.
myronmarston authored
8 Bug fixes
9
10 * Fix regression of edge case behavior. `double.should_receive(:foo) { a }`
11 was causing a NoMethodError when `double.stub(:foo).and_return(a, b)`
12 had been setup before (Myron Marston).
c64c605 @justinko changelog [ci skip]
justinko authored
13 * Infinite loop generated by using `any_instance` and `dup`. (Sidu Ponnappa @kaiwren)
dbe44e6 @dchelimsky `should_receive(x).at_least(:once).and_return(y)` always returns y ev…
dchelimsky authored
14 * `double.should_receive(:foo).at_least(:once).and_return(a)` always returns a
15 even if `:foo` is already stubbed.
a11fcdc @myronmarston Update changelog.
myronmarston authored
16
112b430 @dchelimsky bump to 2.10.1
dchelimsky authored
17 ### 2.10.1 / 2012-05-05
18 [full changelog](http://github.com/rspec/rspec-mocks/compare/v2.10.0...v2.10.1)
19
20 Bug fixes
21
22 * fix regression of edge case behavior
23 (https://github.com/rspec/rspec-mocks/issues/132)
24 * fixed failure of `object.should_receive(:message).at_least(0).times.and_return value`
25 * fixed failure of `object.should_not_receive(:message).and_return value`
26
4862911 @dchelimsky update changelog for 2.10 release
dchelimsky authored
27 ### 2.10.0 / 2012-05-03
28 [full changelog](http://github.com/rspec/rspec-mocks/compare/v2.9.0...v2.10.0)
fb9c76c @dchelimsky fail fast when an exactly or at_most expectation is exceeded
dchelimsky authored
29
30 Bug fixes
31
c64c605 @justinko changelog [ci skip]
justinko authored
32 * fail fast when an `exactly` or `at_most` expectation is exceeded
fb9c76c @dchelimsky fail fast when an exactly or at_most expectation is exceeded
dchelimsky authored
33
e62d381 @dchelimsky bump to 2.9.0
dchelimsky authored
34 ### 2.9.0 / 2012-03-17
35 [full changelog](http://github.com/rspec/rspec-mocks/compare/v2.8.0...v2.9.0)
de283b3 @justinko Allow a `as_null_object` to be passed to `with`. Closes #98
justinko authored
36
35f67e6 @dchelimsky Changelog for #101, #106
dchelimsky authored
37 Enhancements
38
39 * Support order constraints across objects (preethiramdev)
40
de283b3 @justinko Allow a `as_null_object` to be passed to `with`. Closes #98
justinko authored
41 Bug fixes
42
43 * Allow a `as_null_object` to be passed to `with`
6743cd7 @dchelimsky Changelog for #105
dchelimsky authored
44 * Pass proc to block passed to stub (Aubrey Rhodes)
59c41e8 @dchelimsky Changelog for #109
dchelimsky authored
45 * Initialize child message expectation args to match any args (#109 -
46 preethiramdev)
de283b3 @justinko Allow a `as_null_object` to be passed to `with`. Closes #98
justinko authored
47
ea8cc1f @dchelimsky bump to 2.8.0
dchelimsky authored
48 ### 2.8.0 / 2012-01-04
49
50 [full changelog](http://github.com/rspec/rspec-mocks/compare/v2.8.0.rc2...v2.8.0)
51
52 No changes for this release. Just releasing with the other rspec gems.
53
12506e1 @dchelimsky prep for 2.8.0.rc2
dchelimsky authored
54 ### 2.8.0.rc2 / 2011-12-19
55
56 [full changelog](http://github.com/rspec/rspec-mocks/compare/v2.8.0.rc1...v2.8.0.rc2)
57
58 No changes for this release. Just releasing with the other rspec gems.
59
349f127 @dchelimsky changelog
dchelimsky authored
60 ### 2.8.0.rc1 / 2011-11-06
61
62 [full changelog](http://github.com/rspec/rspec-mocks/compare/v2.7.0...v2.8.0.rc1)
5244b17 @dchelimsky changelog tweaks
dchelimsky authored
63
15199b8 @dchelimsky fix changelog formatting
dchelimsky authored
64 Enhancements
65
66 * Eliminate Ruby warnings (Matijs van Zuijlen)
5244b17 @dchelimsky changelog tweaks
dchelimsky authored
67
6a7c51a @dchelimsky update changelog for 2.7.0 release
dchelimsky authored
68 ### 2.7.0 / 2011-10-16
b3832f5 @dchelimsky Changlog for #85 and #86.
dchelimsky authored
69
6a7c51a @dchelimsky update changelog for 2.7.0 release
dchelimsky authored
70 [full changelog](http://github.com/rspec/rspec-mocks/compare/v2.6.0...v2.7.0)
8e8e62f @justinko Refactor any_instance to be instance agnostic - Closes #58
justinko authored
71
15199b8 @dchelimsky fix changelog formatting
dchelimsky authored
72 Enhancements
73
de283b3 @justinko Allow a `as_null_object` to be passed to `with`. Closes #98
justinko authored
74 * Use `__send__` rather than `send` (alextk)
15199b8 @dchelimsky fix changelog formatting
dchelimsky authored
75 * Add support for `any_instance.stub_chain` (Sidu Ponnappa)
76 * Add support for `any_instance` argument matching based on `with` (Sidu
77 Ponnappa and Andy Lindeman)
78
79 Changes
80
81 * Check for `failure_message_for_should` or `failure_message` instead of
82 `description` to detect a matcher (Tibor Claassen)
b970638 @justinko changelog
justinko authored
83
15199b8 @dchelimsky fix changelog formatting
dchelimsky authored
84 Bug fixes
0e482f4 @dchelimsky Changelog
dchelimsky authored
85
15199b8 @dchelimsky fix changelog formatting
dchelimsky authored
86 * pass a hash to `any_instance.stub`. (Justin Ko)
87 * allow `to_ary` to be called without raising `NoMethodError` (Mikhail
88 Dieterle)
89 * `any_instance` properly restores private methods (Sidu Ponnappa)
8e8e62f @justinko Refactor any_instance to be instance agnostic - Closes #58
justinko authored
90
3f1d77f @dchelimsky prep for 2.6.0
dchelimsky authored
91 ### 2.6.0 / 2011-05-12
4a02ebc @dchelimsky prep for 2.6.0.rc5
dchelimsky authored
92
3f1d77f @dchelimsky prep for 2.6.0
dchelimsky authored
93 [full changelog](http://github.com/rspec/rspec-mocks/compare/v2.5.0...v2.6.0)
ca2d837 @dchelimsky fix bug in which multiple chains with shared messages ending in hashes
dchelimsky authored
94
15199b8 @dchelimsky fix changelog formatting
dchelimsky authored
95 Enhancements
2d7caa5 @dchelimsky Changlog and some minor tweaks
dchelimsky authored
96
15199b8 @dchelimsky fix changelog formatting
dchelimsky authored
97 * Add support for `any_instance.stub` and `any_instance.should_receive` (Sidu
98 Ponnappa and Andy Lindeman)
99
100 Bug fixes
101
102 * fix bug in which multiple chains with shared messages ending in hashes failed
103 to return the correct value
ca2d837 @dchelimsky fix bug in which multiple chains with shared messages ending in hashes
dchelimsky authored
104
a6c98bd @dchelimsky prep for 2.5 release
dchelimsky authored
105 ### 2.5.0 / 2011-02-05
4e7ea7d @dchelimsky update history
dchelimsky authored
106
a6c98bd @dchelimsky prep for 2.5 release
dchelimsky authored
107 [full changelog](http://github.com/rspec/rspec-mocks/compare/v2.4.0...v2.5.0)
4e7ea7d @dchelimsky update history
dchelimsky authored
108
15199b8 @dchelimsky fix changelog formatting
dchelimsky authored
109 Bug fixes
110
111 * message expectation counts now work in combination with a stub (Damian
112 Nurzynski)
113 * fix failure message when message received with incorrect args (Josep M.
114 Bach)
3c467e9 @dchelimsky add history
dchelimsky authored
115
866f34a @dchelimsky prep for 2.4.0 release
dchelimsky authored
116 ### 2.4.0 / 2011-01-02
0358d7f @dchelimsky fix changelog link
dchelimsky authored
117
866f34a @dchelimsky prep for 2.4.0 release
dchelimsky authored
118 [full changelog](http://github.com/rspec/rspec-mocks/compare/v2.3.0...v2.4.0)
119
120 No functional changes in this release, which was made to align with the
121 rspec-core-2.4.0 release.
0358d7f @dchelimsky fix changelog link
dchelimsky authored
122
dd336af @dchelimsky prep for 2.3.0 release
dchelimsky authored
123 ### 2.3.0 / 2010-12-12
e16666a @dchelimsky history
dchelimsky authored
124
0358d7f @dchelimsky fix changelog link
dchelimsky authored
125 [full changelog](http://github.com/rspec/rspec-mocks/compare/v2.2.0...v2.3.0)
e16666a @dchelimsky history
dchelimsky authored
126
de283b3 @justinko Allow a `as_null_object` to be passed to `with`. Closes #98
justinko authored
127 Bug fixes
15199b8 @dchelimsky fix changelog formatting
dchelimsky authored
128
129 * Fix our Marshal extension so that it does not interfere with objects that
130 have their own `@mock_proxy` instance variable. (Myron Marston)
e16666a @dchelimsky history
dchelimsky authored
131
1024474 @dchelimsky prep for 2.2 release
dchelimsky authored
132 ### 2.2.0 / 2010-11-28
be136a4 @dchelimsky Added "rspec/mocks/standalone"
dchelimsky authored
133
134 [full changelog](http://github.com/rspec/rspec-mocks/compare/v2.1.0...v2.2.0)
135
15199b8 @dchelimsky fix changelog formatting
dchelimsky authored
136 Enhancements
137
138 * Added "rspec/mocks/standalone" for exploring the rspec-mocks in irb.
be136a4 @dchelimsky Added "rspec/mocks/standalone"
dchelimsky authored
139
15199b8 @dchelimsky fix changelog formatting
dchelimsky authored
140 Bug fix
141
142 * Eliminate warning on splat args without parens (Gioele Barabucci)
143 * Fix bug where `obj.should_receive(:foo).with(stub.as_null_object)` would pass
144 with a false positive.
8d35da8 @dchelimsky History
dchelimsky authored
145
506d9f6 @dchelimsky bump to 2.1.0
dchelimsky authored
146 ### 2.1.0 / 2010-11-07
31a9e6b @dchelimsky history
dchelimsky authored
147
506d9f6 @dchelimsky bump to 2.1.0
dchelimsky authored
148 [full changelog](http://github.com/rspec/rspec-mocks/compare/v2.0.1...v2.1.0)
31a9e6b @dchelimsky history
dchelimsky authored
149
15199b8 @dchelimsky fix changelog formatting
dchelimsky authored
150 Bug fixes
151
152 * Fix serialization of stubbed object (Josep M Bach)
31a9e6b @dchelimsky history
dchelimsky authored
153
0238b34 @dchelimsky prep for 2.0.0
dchelimsky authored
154 ### 2.0.0 / 2010-10-10
155
4830d09 @dchelimsky fix copy/paste error in history
dchelimsky authored
156 [full changelog](http://github.com/rspec/rspec-mocks/compare/v2.0.0.beta.22...v2.0.0)
0238b34 @dchelimsky prep for 2.0.0
dchelimsky authored
157
82891fe @dchelimsky update history
dchelimsky authored
158 ### 2.0.0.rc / 2010-10-05
c94a566 @dchelimsky update history
dchelimsky authored
159
82891fe @dchelimsky update history
dchelimsky authored
160 [full changelog](http://github.com/rspec/rspec-mocks/compare/v2.0.0.beta.22...v2.0.0.rc)
c94a566 @dchelimsky update history
dchelimsky authored
161
15199b8 @dchelimsky fix changelog formatting
dchelimsky authored
162 Enhancements
c94a566 @dchelimsky update history
dchelimsky authored
163
15199b8 @dchelimsky fix changelog formatting
dchelimsky authored
164 * support passing a block to an expectation block (Nicolas Braem)
165 * `obj.should_receive(:msg) {|&block| ... }`
166
167 Bug fixes
168
169 * Fix YAML serialization of stub (Myron Marston)
170 * Fix rdoc rake task (Hans de Graaff)
c94a566 @dchelimsky update history
dchelimsky authored
171
f36ed16 @dchelimsky adjust history for beta.22 release
dchelimsky authored
172 ### 2.0.0.beta.22 / 2010-09-12
3c467e9 @dchelimsky add history
dchelimsky authored
173
f36ed16 @dchelimsky adjust history for beta.22 release
dchelimsky authored
174 [full changelog](http://github.com/rspec/rspec-mocks/compare/v2.0.0.beta.20...v2.0.0.beta.22)
3c467e9 @dchelimsky add history
dchelimsky authored
175
15199b8 @dchelimsky fix changelog formatting
dchelimsky authored
176 Bug fixes
177
178 * fixed regression that broke `obj.stub_chain(:a, :b => :c)`
179 * fixed regression that broke `obj.stub_chain(:a, :b) { :c }`
180 * `respond_to?` always returns true when using `as_null_object`
Something went wrong with that request. Please try again.