Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 267 lines (199 sloc) 8.841 kb
11c17b1 Version 1.0.3
Brian Takita authored
1 1.0.3
2 - Eliminate usage of ObjectSpace._id2ref (Patch Evan Phoenix)
3 - Added minitest adapter (Patch Caleb Spare)
4 - Added instructions on installing the gem (Patch Gavin Miller)
5 - delete missing scratch.rb file from gemspec (Patch bonkydog)
6
36801c4 Added changes.
Brian Takita authored
7 1.0.2
8 - Fixed Two calls recorded to a mock expecting only one call when called via another mock's yield block (http://github.com/btakita/rr/issues/closed#issue/42). Patch by Eugene Pimenov (http://github.com/libc).
9
f08f279 Added 1.0.1 changes.
Brian Takita authored
10 1.0.1
11 - Removed new_instance_of for Ruby 1.9.2 compatibility. instance_of is now an alias for any_instance_of.
12 - Compatible with Ruby 1.9.2
13
1a8d012 Changes.
Brian Takita authored
14 1.0.0
15 - Added any_instance_of (aliased by all_instances_of), which binds methods directly to the class (instead of the eigenclass).
25fd460 - Subclasses of a injected class do not have their methods overridden.
Brian Takita authored
16 - Subclasses of a injected class do not have their methods overridden.
1a8d012 Changes.
Brian Takita authored
17 - any_instance_of and new_instance_of now have a block syntax
e907620 Documenting change.
Brian Takita authored
18
bc62b95 Version 0.10.11
Brian Takita authored
19 0.10.11
b534b65 - Fixed class_eval method redefinition warning in jruby
Brian Takita authored
20 - Added RR.blank_slate_whitelist
21 - Fixed class_eval method redefinition warning in jruby
22
b501723 Version 0.10.10.
Brian Takita authored
23 0.10.10
24 - Suite passes for Ruby 1.9.1
25
01535d3 - Fixed 1.8.6 bug for real
Brian Takita authored
26 0.10.9
27 - Fixed 1.8.6 bug for real
28
54e5825 - Fixed 1.8.6 bug
Brian Takita authored
29 0.10.8
30 - Fixed 1.8.6 bug
31
32 0.10.7
eac6a3a - Fixed issue with DoubleInjections binding to objects overriding the me...
Brian Takita authored
33 - Fixed issue with DoubleInjections binding to objects overriding the method method.
34
35 0.10.6
99e4750 Added license addition to change log.
Brian Takita authored
36 - Added MIT license
cc6ec2d - Fixed Bug - dont_allow doesn't work when it follows stub (http://githu...
Brian Takita authored
37 - Fixed Bug - dont_allow doesn't work when it follows stub (http://github.com/btakita/rr/issues#issue/20)
3d29a64 - Fixed exception with DoubleInjections on proxy objects (http://github....
Brian Takita authored
38 - Fixed exception with DoubleInjections on proxy objects (http://github.com/btakita/rr/issues#issue/24)
39 - Fixed Bug - Can't stub attribute methods on a BelongsToAssociation (http://github.com/btakita/rr/issues#issue/24)
cc6ec2d - Fixed Bug - dont_allow doesn't work when it follows stub (http://githu...
Brian Takita authored
40
35df74f Updated verion in CHANGES.
Brian Takita authored
41 0.10.5
6412080 Tweaked change list item.
Brian Takita authored
42 - Fixed stack overflow caused by double include in Test::Unit adapter [http://github.com/btakita/rr/issues#issue/16]. Identified by Dave Myron (http://github.com/contentfree)
0e133e7 Attributions.
Brian Takita authored
43 - Fixed warnings (Patch by Bryan Helmkamp)
44
45 0.10.4
793bdfd Brian Takita - Handle lazily defined methods (where respond_to? returns true yet the ...
authored
46 - Handle lazily defined methods (where respond_to? returns true yet the method is not yet defined and the first call to method_missing defines the method). This pattern is used in ActiveRecord and ActionMailer.
c388abe Brian Takita - Fixed warning about aliasing #instance_exec in jruby. http://github.co...
authored
47 - Fixed warning about aliasing #instance_exec in jruby. http://github.com/btakita/rr/issues#issue/9 (Patch by Nathan Sobo)
48
b35627c Brian Takita 0.10.2
authored
49 0.10.2
376a6c5 Brian Takita - RR properly proxies subjects with private methods [http://github.com/b...
authored
50 - RR properly proxies subjects with private methods [http://github.com/btakita/rr/issues/#issue/7]. Identified by Matthew O'Connor.
51
46a9e4a Brian Takita Version 0.10.1
authored
52 0.10.1
385a339 Brian Takita updates
authored
53 - Fixed issue with DoubleInjection not invoking methods that are lazily created [http://github.com/btakita/rr/issues/#issue/4]. Identified by davidlee (http://github.com/davidlee)
54 - Fixed issue with mock.proxy and returns [http://github.com/btakita/rr/issues/#issue/2]. Identified by trogdoro (http://github.com/trogdoro)
7104856 Brian Takita - Fixed issue with mock.proxy and returns [2]. Identified by trogdoro (h...
authored
55
b1b64b7 Brian Takita Added change about removing invocation of the method on the object when ...
authored
56 * 0.10.0
57 - Method is no longer invoked if respond_to? returns false. This was in place to support ActiveRecord association proxies, and is no longer needed.
58
9c2021f 0.9.0 changes.
Brian Takita authored
59 * 0.9.0
5fa9728 - instance_of Doubles now apply to methods invoked in the subject's #ini...
Brian Takita authored
60 - instance_of Doubles now apply to methods invoked in the subject's #initialize method.
61
c61ac9e Finalize Version 0.8.1
Brian Takita authored
62 * 0.8.1
03c82c6 - Fixed exception where the Subject uses method delegation via method_mi...
Brian Takita authored
63 - Fixed exception where the Subject uses method delegation via method_missing (e.g. certain ActiveRecord AssociationProxy methods)
64
fba73c1 Finalizing 0.8.0 release.
Brian Takita authored
65 * 0.8.0
d41f9d6 Added the following to CHANGES:
Brian Takita authored
66 - Fixed compatability issues with Ruby 1.9
67 - Aliased any_number_of_times with any_times
6e5dd96 Added - Better error messages for have_received and assert_received matc...
Brian Takita authored
68 - Better error messages for have_received and assert_received matchers (Patch by Joe Ferris)
69 - Better documentation on RR wilcard matchers (Patch by Phil Arnowsky)
f15b979 Added - Better documentation on RR wilcard matchers to CHANGES.
Brian Takita authored
70
fc94b73 Added latest version to change log.
Brian Takita authored
71 * 0.7.1
f3facf0 Logging performance improvements.
Brian Takita authored
72 - Performance improvements
73
ddd7123 Added version 0.7.0 to CHANGES.
Brian Takita authored
74 * 0.7.0
4a86b53 Attributions
Brian Takita authored
75 - Added spies (Patchs by Joe Ferris, Michael Niessner & Mike Mangino)
e6604db Attributions.
Brian Takita authored
76 - Added strongly typed reimplementation doubles (Patch by Michael Niessner)
3875994 Moved strong specs into high_level_spec. Updated CHANGES.
Brian Takita authored
77
22535b7 Version 0.6.2
Brian Takita authored
78 * 0.6.2
e33239d - Fixed DoubleDefinition chaining edge cases
Brian Takita authored
79 - Fixed DoubleDefinition chaining edge cases
80
15add2a Version 0.6.1
Brian Takita authored
81 * 0.6.1
e64124d - DoubleDefinitionCreatorProxy definition eval block is instance_evaled ...
Brian Takita authored
82 - DoubleDefinitionCreatorProxy definition eval block is instance_evaled when the arity is not 1. When the arity is 1, the block is yielded with the DoubleDefinitionCreatorProxy passed in.
83
427a998 Merge branch 'master' of git@github.com:btakita/rr
btakita authored
84 * 0.6.0
2166a8f - Friendlier DoubleNotFound error message
btakita authored
85 - Friendlier DoubleNotFound error message
6e98be0 - Implemented Double strategy creation methods (#mock, #stub, #proxy, #i...
btakita authored
86 - Implemented Double strategy creation methods (#mock, #stub, #proxy, #instance_of, and ! equivalents) on DoubleDefinition
02efd8a Attributions.
btakita authored
87 - Implemented hash_including matcher (Patch by Matthew O'Conner)
88 - Implemented satisfy matcher (Patch by Matthew O'Conner)
c797ef6 Implemented DoubleDefinitionCreator#mock!, #stub!, and #dont_allow!
btakita authored
89 - Implemented DoubleDefinitionCreator#mock!, #stub!, and #dont_allow!
4c2b1e0 Modified api to method chain Doubles.
btakita authored
90 - Modified api to method chain Doubles
f07ee65 - Fix conflict with Mocha overriding Object#verify
btakita authored
91 - Fix conflict with Mocha overriding Object#verify
92
f0acd22 Version 0.5.0
btakita authored
93 * 0.5.0
f4feac7 Updates.
btakita authored
94 - Method chaining Doubles (Patch by Nick Kallen)
95 - Chained ordered expectations (Patch by Nick Kallen)
b3533dd Merge branch 'master' of git@github.com:grockit/rr
btakita authored
96 - Space#verify_doubles can take one or more objects with DoubleInjections to be verified
f4feac7 Updates.
btakita authored
97
6c8ae29 Version 0.4.10
btakita authored
98 * 0.4.10
9dff2a3 DoubleDefinitionCreatorProxy does not undef #object_id.
btakita authored
99 - DoubleDefinitionCreatorProxy does not undef #object_id
6c90c5a Fixed rdoc pointer to README.
btakita authored
100 - Fixed rdoc pointer to README
9dff2a3 DoubleDefinitionCreatorProxy does not undef #object_id.
btakita authored
101
3e65821 Version 0.4.9
btakita authored
102 * 0.4.9
ea2cf8a Performance increase on RR module methods.
btakita authored
103 - Proxying from RR module to RR::Space.instance
104
a8311c1 version 0.4.8
btakita authored
105 * 0.4.8
d406b71 Fixed issue with Hash arguments
btakita authored
106 - Fixed issue with Hash arguments
107
b1ff820 Version 0.4.7
btakita authored
108 * 0.4.7
109 - Improved error message
110
f280452 version 0.4.6
btakita authored
111 * 0.4.6
611a9e0 Added Double#verbose and Double#verbose?.
btakita authored
112 - Added Double#verbose and Double#verbose?
113
cb7e9b3 Version 0.4.5
btakita authored
114 * 0.4.5
494b25f - Fixed doubles for == and #eql? methods
btakita authored
115 - Fixed doubles for == and #eql? methods
116
fa3c955 Version 0.4.4
btakita authored
117 * 0.4.4
e0e2307 Removed space attr from DoubleMethodProxy
btakita authored
118 - Doc improvements
fa3c955 Version 0.4.4
btakita authored
119 - Methods that are not alphabetic, such as ==, can be doubles
e0e2307 Removed space attr from DoubleMethodProxy
btakita authored
120
f64eabd Version 0.4.3
btakita authored
121 * 0.4.3
8c60d37 Added instructions for installing RR with Test::Unit and rspec.
btakita authored
122 - Doc improvements
123 - Cleanup
124 - Finished renaming scenario to double
125
20c6d94 Version 0.4.2
btakita authored
126 * 0.4.2
3fd2c97 Renamed DoubleInsertion to DoubleInjection to be consistent with Mocha t...
btakita authored
127 - Renamed DoubleInsertion to DoubleInjection to be consistent with Mocha terminology
128
59869b6 Version 0.4.1
btakita authored
129 * 0.4.1
65dcb88 Fixed backward compatability issues with rspec
btakita authored
130 - Fixed backward compatability issues with rspec
ff6222f Renamed Space#verify_double_insertions to #verify_doubles
btakita authored
131 - Renamed Space#verify_double_insertions to #verify_doubles
65dcb88 Fixed backward compatability issues with rspec
btakita authored
132
5476fe2 Version 0.4.0
btakita authored
133 * 0.4.0
470b3a7 Renamed Double to DoubleInsertion.
btakita authored
134 - Documentation improvements
135 - Renamed Double to DoubleInsertion
ed2696b Renamed Scenario to Double
btakita authored
136 - Renamed Scenario to Double
470b3a7 Renamed Double to DoubleInsertion.
btakita authored
137
9c90fe1 Version 0.3.11
btakita authored
138 * 0.3.11
0fc341d Fixed [#13724] Mock Proxy on Active Record Association proxies causes er...
btakita authored
139 - Fixed [#13724] Mock Proxy on Active Record Association proxies causes error
140
616795e Release 0.3.10
btakita authored
141 * 0.3.10
e377797 - Fixed [#13139] Blocks added to proxy sets the return_value and not the...
btakita authored
142 - Fixed [#13139] Blocks added to proxy sets the return_value and not the after_call callback
143
3236ca4 Version 0.3.9
btakita authored
144 * 0.3.9
82e5562 proxy aliases probe.
btakita authored
145 - Alias probe to proxy
146
feb56ff Version 0.3.8
btakita authored
147 * 0.3.8
70cfd56 Implemented [#13009] Better error mesage from TimesCalledMatcher
btakita authored
148 - Implemented [#13009] Better error mesage from TimesCalledMatcher
149
de20af5 Version 0.3.7
btakita authored
150 * 0.3.7
4d47dec - Fixed [#12928] Reset doubles fails on Rails association proxies
btakita authored
151 - Fixed [#12928] Reset doubles fails on Rails association proxies
152
de8eb4d Version 0.3.6
btakita authored
153 * 0.3.6
9aabc9b Fixed [#12765] Issues with ObjectSpace._id2ref
btakita authored
154 - Fixed [#12765] Issues with ObjectSpace._id2ref
155
92a4ac6 Version 0.3.5. Also added tag_release tag
btakita authored
156 * 0.3.5
a0a4775 - trim_backtrace is only set for Test::Unit
btakita authored
157 - trim_backtrace is only set for Test::Unit
158
b413bf1 Version 0.3.4
btakita authored
159 * 0.3.4
cafa870 - Implemented instance_of
btakita authored
160 - Implemented instance_of
161
f5ba62e Version 0.3.3
btakita authored
162 * 0.3.3
d6198ff Fixed [#12495] Error Probing method_missing interaction
btakita authored
163 - Fixed [#12495] Error Probing method_missing interaction
164
9e798de Version 0.3.2
btakita authored
165 * 0.3.2
7fcbafd Fixed [#12486] ScenarioMethodProxy when Kernel passed into instance meth...
btakita authored
166 - Fixed [#12486] ScenarioMethodProxy when Kernel passed into instance methods
167
499b287 Version 0.3.1
btakita authored
168 * 0.3.1
b8bb00f Automatically require Test::Unit and Rspec adapters
btakita authored
169 - Automatically require Test::Unit and Rspec adapters
170
aecd882 Version 0.3.0
btakita authored
171 * 0.3.0
427b4c6 Updated change list
btakita authored
172 - ScenarioCreator strategy method chaining
173 - Removed mock_probe
174 - Removed stub_probe
175
d1b0582 Version 0.2.5
btakita authored
176 * 0.2.5
0fac3ec Added method_name argument changes
btakita authored
177 - mock takes method_name argument
178 - stub takes method_name argument
179 - mock_probe takes method_name argument
180 - stub_probe takes method_name argument
181 - probe takes method_name argument
182 - dont_allow takes method_name argument
183 - do_not_allow takes method_name argument
184
cdaaf6f Version 0.2.3
btakita authored
185 * 0.2.4
1b12f78 - Space#doubles key is now the object id
btakita authored
186 - Space#doubles key is now the object id
187 - Fixed [#12402] Stubbing return value of probes fails after calling the stubbed method two times
188
8beaf22 Version 0.2.3
btakita authored
189 * 0.2.3
67b1d7d Renamed InstanceMethods to RRMethods.
btakita authored
190 - Added RRMethods#rr_verify and RRMethods#rr_reset
cf74336 - Added InstanceMethods#rr_verify and InstanceMethods#rr_reset
btakita authored
191
b4c5338 Version 0.2.2
btakita authored
192 * 0.2.2
bfd53be Doing method aliasing because there are issues with Rails.
btakita authored
193 - Fixed "singleton method bound for a different object"
194 - Doing Method aliasing again to store original method
195
5bee3c7 Version 0.2.1
btakita authored
196 * 0.2.1
490af0b - Added mock_probe
btakita authored
197 - Added mock_probe
198 - Added stub_probe
916416b - Probe returns the return value of the passed in block, instead of igno...
btakita authored
199 - Probe returns the return value of the passed in block, instead of ignoring its return value
200 - Scenario#after_call returns the return value of the passed in block
eba7d5d Using define_method instead of method aliasing to rebind original method...
btakita authored
201 - Not using method aliasing to store original method
67b1d7d Renamed InstanceMethods to RRMethods.
btakita authored
202 - Renamed DoubleMethods to RRMethods
203 - Added RRMethods#mock_probe
eba7d5d Using define_method instead of method aliasing to rebind original method...
btakita authored
204
d993cfa Version 0.1.15
btakita authored
205 * 0.1.15
aabeaa2 Fixed [#12333] Rebinding original_methods causes blocks not to work
btakita authored
206 - Fixed [#12333] Rebinding original_methods causes blocks not to work
207
36dd67b Version 0.1.14
btakita authored
208 * 0.1.14
15cf9a5 Renamed Deterministic and NonDeterministic to Terminal and NonTerminal.
btakita authored
209 - Introduced concept of Terminal and NonTerminal TimesCalledMatchers
aefc7f4 - Doubles that can be called many times can be replaced
btakita authored
210 - Doubles that can be called many times can be replaced
211 - Terminal Scenarios are called before NonTerminal Scenarios
212 - Error message tweaking
4140a19 Fixed Changes file
btakita authored
213 - Raise error when making a Scenarios with NonTerminal TimesMatcher Ordered
3b6db6b Error message tweaking.
btakita authored
214
c6399d4 Version 0.1.13
btakita authored
215 * 0.1.13
b3972dd Fixed [#12290] Scenario#returns with false causes a return value of nil
btakita authored
216 - Fixed [#12290] Scenario#returns with false causes a return value of nil
217
1cd5a88 Version 0.1.12
btakita authored
218 * 0.1.12
d2737d4 - Fixed bug where Creators methods are not removed when methods are defi...
btakita authored
219 - Fixed bug where Creators methods are not removed when methods are defined on Object
220 - Fixed [#12289] Creators methods are not removed in Rails environment
221
836556b Version 0.1.11
btakita authored
222 * 0.1.11
abcf1f8 Fixed bug [#12287] AtLeastMatcher does not cause Scenario to be called. ...
btakita authored
223 - Fixed [#12287] AtLeastMatcher does not cause Scenario to be called
224
221d471 Version 0.1.10
btakita authored
225 * 0.1.10
8065d70 Fixed [#12286] AnyArgumentExpectation#expected_arguments not implemented
btakita authored
226 - Fixed [#12286] AnyArgumentExpectation#expected_arguments not implemented
227
4b13ae0 Version 0.1.9
btakita authored
228 * 0.1.9
94ef1b9 StubCreator user AnyTimesMatcher.
btakita authored
229 - Added DoubleMethods#any_times
230 - Added Scenario#any_number_of_times
231
0c7229a Version 0.1.8
btakita authored
232 * 0.1.8
997aba2 Added TimesCalledError Message Formatted to be on multiple lines to chan...
btakita authored
233 - TimesCalledError Message Formatted to be on multiple lines
bd7dfa7 ScenarioOrderError shows list of remaining ordered scenarios
btakita authored
234 - ScenarioNotFoundError Message includes all Scenarios for the Double
235 - ScenarioOrderError shows list of remaining ordered scenarios
a7e7ee2 Added AnyTimesMatcher. TimesCalledError messages are on multiple times t...
btakita authored
236
8f84a7f Release 0.1.7
btakita authored
237 * 0.1.7
d799fef Fixed [#12194] Double#reset_doubles are not clearing Ordered Scenarios b...
btakita authored
238 - Fixed [#12194] Double#reset_doubles are not clearing Ordered Scenarios bug
239 - Added Space#reset
240 - Space#reset_doubles and Space#reset_ordered_scenarios is now protected
8f84a7f Release 0.1.7
btakita authored
241 - Added Scenario#at_least
242 - Added Scenario#at_most
d799fef Fixed [#12194] Double#reset_doubles are not clearing Ordered Scenarios b...
btakita authored
243
cf75238 Release 0.1.6.
btakita authored
244 * 0.1.6
f8487ac Implemented [#12120] probe allows a the return value to be intercepted f...
btakita authored
245 - [#12120] probe allows a the return value to be intercepted
246
8357560 Release 0.1.5
btakita authored
247 * 0.1.5
dd5f0a6 TimesCalledExpectation says how many times were called and how many time...
btakita authored
248 - TimesCalledExpectation says how many times were called and how many times called were expected on error
249
6f722b1 Release 0.1.4
btakita authored
250 * 0.1.4
251 - TimesCalledError prints the backtrace to where the Scenario was defined when being verified
252 - Error message includes method name when Scenario is not found
253
3de7bfe Release 0.1.3
btakita authored
254 * 0.1.3
bb99131 Fixed issue where Double#placeholder_name issues when Double method name...
btakita authored
255 - Fixed issue where Double#placeholder_name issues when Double method name has a ! or ?
256
96fa02c Release 0.1.2
btakita authored
257 * 0.1.2
6cdffc5 Scenario#returns also accepts an argument.
btakita authored
258 - Scenario#returns also accepts an argument
1a7a3ad RDoc changes
btakita authored
259 - Implemented Scenario#yields
6cdffc5 Scenario#returns also accepts an argument.
btakita authored
260
3fd3599 Version 0.1.1
btakita authored
261 * 0.1.1
262 - Trim the backtrace for Rspec and Test::Unit
263 - Rspec and Test::Unit integration fixes
264
a72a37f Added changes file.
btakita authored
265 * 0.1.0
36801c4 Added changes.
Brian Takita authored
266 - Initial Release
Something went wrong with that request. Please try again.