rr 1.1.0 → 1.1.1.rc1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (72) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGES.md +138 -102
  3. data/README.md +27 -23
  4. data/VERSION +1 -1
  5. data/lib/rr/adapters.rb +2 -19
  6. data/lib/rr/autohook.rb +3 -29
  7. data/lib/rr/integrations.rb +44 -2
  8. data/lib/rr/integrations/decorator.rb +40 -0
  9. data/lib/rr/integrations/minitest.rb +2 -0
  10. data/lib/rr/integrations/minitest_4.rb +3 -0
  11. data/lib/rr/integrations/minitest_4_active_support.rb +2 -0
  12. data/lib/rr/integrations/minitest_active_support.rb +2 -0
  13. data/lib/rr/integrations/rspec_1.rb +5 -1
  14. data/lib/rr/integrations/rspec_2.rb +5 -1
  15. data/lib/rr/integrations/test_unit_1.rb +11 -2
  16. data/lib/rr/integrations/test_unit_2.rb +3 -1
  17. data/lib/rr/integrations/test_unit_200.rb +27 -0
  18. data/lib/rr/integrations/test_unit_200_active_support.rb +25 -0
  19. data/lib/rr/integrations/test_unit_2_active_support.rb +6 -3
  20. data/lib/rr/without_autohook.rb +10 -4
  21. data/spec/global_helper.rb +45 -4
  22. data/spec/spec.opts +2 -0
  23. data/spec/suite.rb +23 -7
  24. data/spec/suites/common/adapter_integration_tests.rb +94 -31
  25. data/spec/suites/common/adapter_tests.rb +6 -0
  26. data/spec/suites/common/{rails_integration_test.rb → rails_integration_tests.rb} +40 -58
  27. data/spec/suites/minitest/integration/minitest_test.rb +5 -5
  28. data/spec/suites/minitest/test_helper.rb +5 -1
  29. data/spec/suites/minitest_4/integration/minitest_test.rb +13 -0
  30. data/spec/suites/minitest_4/test_helper.rb +7 -0
  31. data/spec/suites/rspec_1/helper.rb +24 -0
  32. data/spec/suites/rspec_1/integration/rspec_1_spec.rb +20 -18
  33. data/spec/suites/rspec_1/integration/test_unit_1_spec.rb +10 -14
  34. data/spec/suites/rspec_1/integration/test_unit_2_spec.rb +11 -18
  35. data/spec/suites/rspec_1/spec_helper.rb +2 -23
  36. data/spec/suites/{rspec_1/integration/test_unit_1_rails_spec.rb → rspec_1_rails_2/integration/test_unit_1_rails_2_spec.rb} +15 -16
  37. data/spec/suites/rspec_1_rails_2/integration/test_unit_2_rails_2_spec.rb +57 -0
  38. data/spec/suites/rspec_1_rails_2/spec_helper.rb +3 -0
  39. data/spec/suites/rspec_2/helper.rb +27 -0
  40. data/spec/suites/rspec_2/integration/minitest_4_spec.rb +8 -18
  41. data/spec/suites/rspec_2/integration/minitest_spec.rb +8 -10
  42. data/spec/suites/rspec_2/integration/rspec_2_spec.rb +22 -21
  43. data/spec/suites/rspec_2/integration/test_unit_200_spec.rb +57 -0
  44. data/spec/suites/rspec_2/integration/{test_unit_spec.rb → test_unit_2_spec.rb} +9 -11
  45. data/spec/suites/rspec_2/spec_helper.rb +2 -26
  46. data/spec/suites/{rspec_2/integration/minitest_4_rails_spec.rb → rspec_2_rails_3/integration/minitest_4_rails_3_spec.rb} +12 -18
  47. data/spec/suites/{rspec_2/integration/test_unit_rails_spec.rb → rspec_2_rails_3/integration/test_unit_200_rails_3_spec.rb} +16 -18
  48. data/spec/suites/{rspec_1/integration/test_unit_2_rails_spec.rb → rspec_2_rails_3/integration/test_unit_2_rails_3_spec.rb} +19 -28
  49. data/spec/suites/rspec_2_rails_3/spec_helper.rb +3 -0
  50. data/spec/suites/{rspec_2/integration/minitest_rails_spec.rb → rspec_2_rails_4/integration/minitest_4_rails_4_spec.rb} +14 -16
  51. data/spec/suites/rspec_2_rails_4/integration/rspec_2_rails_4_spec.rb +156 -0
  52. data/spec/suites/rspec_2_rails_4/integration/test_unit_200_rails_4_spec.rb +66 -0
  53. data/spec/suites/rspec_2_rails_4/integration/test_unit_2_rails_4_spec.rb +66 -0
  54. data/spec/suites/rspec_2_rails_4/spec_helper.rb +3 -0
  55. data/spec/suites/test_unit_1/integration/test_unit_1_test.rb +4 -0
  56. data/spec/suites/test_unit_1/test_helper.rb +4 -1
  57. data/spec/suites/test_unit_2/integration/test_unit_2_test.rb +4 -0
  58. data/spec/suites/test_unit_2/test_helper.rb +5 -2
  59. data/spec/suites/test_unit_200/integration/test_unit_200_test.rb +10 -0
  60. data/spec/suites/test_unit_200/test_helper.rb +6 -0
  61. data/spec/suites/test_unit_200_rails_3/integration/test_unit_200_rails_3_test.rb +10 -0
  62. data/spec/suites/test_unit_200_rails_3/test_helper.rb +7 -0
  63. data/spec/suites/test_unit_200_rails_4/integration/test_unit_200_rails_4_test.rb +10 -0
  64. data/spec/suites/test_unit_200_rails_4/test_helper.rb +7 -0
  65. data/spec/suites/test_unit_2_rails_2/integration/test_unit_2_rails_2_test.rb +10 -0
  66. data/spec/suites/test_unit_2_rails_2/test_helper.rb +7 -0
  67. data/spec/suites/test_unit_2_rails_3/integration/test_unit_2_rails_3_test.rb +10 -0
  68. data/spec/suites/test_unit_2_rails_3/test_helper.rb +7 -0
  69. data/spec/suites/test_unit_2_rails_4/integration/test_unit_2_rails_4_test.rb +10 -0
  70. data/spec/suites/test_unit_2_rails_4/test_helper.rb +7 -0
  71. metadata +71 -19
  72. data/lib/rr/integrations/none.rb +0 -17
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2daf22a60639e0dd24e3b9970f6821c5526255dd
4
- data.tar.gz: 5524c107d4d211a166bfc36333115467b768267b
3
+ metadata.gz: a584672b5a5ce3c3c03093ce18e53fbbfadfa346
4
+ data.tar.gz: fc6f53501f6fb256fe532ce42ee656785271f616
5
5
  SHA512:
6
- metadata.gz: 4ec04ba9cc534dd1ae95e813b065037cbf96e795e204579a4bd0ece78e2da0c1d36bdb89df9ac99f825abb897dcfb9e89ef1f8d397f756a0632d32672646f819
7
- data.tar.gz: 67e19c91bf0ae6bf1736fce396e2a529a7217c363e1f46edfd5f422045dc9e2b3be59f23b26182f7bca5d444f8850f7431c46f433d16495b01a9f6b5f8842759
6
+ metadata.gz: 2b046b021e0a98b897d2fc9ad9aa1ea7dd4f07ce1bd309f5939bf17ecfad2e43469427b0698bbc38a0e257988bd088ea77f9d3b8a1f24758c8a6f214ce91d830
7
+ data.tar.gz: e1bcb162b15baa2873f48973f6ec621c0df9c3eac885ada650d6aaadfc93957ffc4197baf605a08dd82f273667298a77970e93f88133e6f3f4d0a604029a9f56
data/CHANGES.md CHANGED
@@ -1,6 +1,18 @@
1
1
  # Changelog
2
2
 
3
- ## 1.1.0 (2013-05-20)
3
+ ## 1.1.1 (UNRELEASED)
4
+
5
+ * Fix incompatibility issues with Rails 4 ([#26][i26]) and Cucumber
6
+ ([#29][i29]).
7
+ * Add missing adapter for Test::Unit 2.0.0 (version which is built into Ruby
8
+ 1.9/2.0). The tests for Jekyll were failing because of this ([#27][i27]).
9
+ * If an error occurs while checking to see whether an adapter applies or when
10
+ loading the adapter itself, it is now swallowed so that the user can move on.
11
+
12
+ ## 1.1.0 (May 20, 2013)
13
+
14
+ NOTE: RR development moved from [btakita/rr][btakita-rr] to [rr/rr][rr-rr].
15
+ Issues are re-numbered beginning from 1 from this point on.
4
16
 
5
17
  * Fix a line in RR::Injections::DoubleInjection to use top-level RR constant
6
18
  ([#3][i3]) [[@Thibaut][Thibaut]]
@@ -25,7 +37,7 @@
25
37
  where X.Y.Z represents a version. I have retroactively packaged the tests for
26
38
  1.0.4 and 1.0.5.
27
39
 
28
- ## 1.0.5 (2013-03-28)
40
+ ## 1.0.5 (March 28, 2013)
29
41
 
30
42
  * Compatibility with RSpec-2. There are now two adapters for RSpec, one that
31
43
  works with RSpec-1 and a new one that works with RSpec-2. Currently, saying
@@ -33,7 +45,7 @@
33
45
  one, you say `RSpec.configure {|c| c.mock_framework = RR::Adapters::RSpec2 }`.
34
46
  ([#66][xi66], [#68][xi68], [#80][xi80]) [[@njay][njay], [@james2m][james2m]]
35
47
  * Fix MethodMissingInjection so that `[stub].flatten` works without throwing a
36
- NoMethodError (undefined method #to_ary) error under Ruby 1.9 ([#44][xi44])
48
+ NoMethodError (`undefined method `to_ary'`) error under Ruby 1.9 ([#44][xi44])
37
49
  * Raise a MiniTest::Assertion error in the MiniTest adapter so that mock
38
50
  failures appear in the output as failures rather than uncaught exceptions
39
51
  ([#69][xi69]) [[@jayferd][jayferd]]
@@ -41,130 +53,123 @@
41
53
  mention of #new_instance_of from the README
42
54
  * Fix tests so they all work and pass again
43
55
 
44
- ## 1.0.4 (2011-06-11)
56
+ ## 1.0.4 (June 11, 2011)
45
57
 
46
58
  * Fixed bug using workaround with leftover MethodMissingInjections
47
59
 
48
- ## 1.0.3 (2011-06-11)
60
+ ## 1.0.3 (June 11, 2011)
49
61
 
50
- * Eliminate usage of ObjectSpace._id2ref (Patch Evan Phoenix)
51
- * Added minitest adapter (Patch Caleb Spare)
52
- * Added instructions on installing the gem (Patch Gavin Miller)
53
- * delete missing scratch.rb file from gemspec (Patch bonkydog)
62
+ * Eliminate usage of ObjectSpace._id2ref ([#63][xi63]) [[@evanphx][evanphx]]
63
+ * Added minitest adapter ([#62][xi62]) [[@cespare][cespare]]
64
+ * Added instructions on installing the gem ([#57][xi57])
65
+ [[@gavingmiller][gavingmiller]]
66
+ * delete missing scratch.rb file from gemspec ([#60][xi60])
67
+ [[@bonkydog][bonkydog]]
54
68
 
55
- ## 1.0.2 (2010-11-01)
69
+ ## 1.0.2 (November 1, 2010)
56
70
 
57
71
  * Fixed Two calls recorded to a mock expecting only one call when called via
58
- another mock's yield block
59
- (http://github.com/btakita/rr/issues/closed#issue/42). Patch by Eugene Pimenov
60
- (http://github.com/libc).
72
+ another mock's yield block ([#42][xi42]) [[@libc][libc]]
61
73
 
62
- ## 1.0.1 (2010-10-30)
74
+ ## 1.0.1 (October 30, 2010)
63
75
 
64
76
  * Removed new_instance_of for Ruby 1.9.2 compatibility. instance_of is now an
65
77
  alias for any_instance_of.
66
78
  * Compatible with Ruby 1.9.2
67
79
 
68
- ## 1.0.0 (2010-08-23)
80
+ ## 1.0.0 (August 23, 2010)
69
81
 
70
82
  * Added any_instance_of (aliased by all_instances_of), which binds methods
71
83
  directly to the class (instead of the eigenclass).
72
84
  * Subclasses of a injected class do not have their methods overridden.
73
85
  * any_instance_of and new_instance_of now have a block syntax
74
86
 
75
- ## 0.10.11 (2010-03-22)
87
+ ## 0.10.11 (March 22, 2010)
76
88
 
77
89
  * Added RR.blank_slate_whitelist
78
90
  * Fixed class_eval method redefinition warning in jruby
79
91
 
80
- ## 0.10.10 (2010-02-25)
92
+ ## 0.10.10 (February 25, 2010)
81
93
 
82
94
  * Suite passes for Ruby 1.9.1
83
95
 
84
- ## 0.10.9 (2010-02-17)
96
+ ## 0.10.9 (February 17, 2010)
85
97
 
86
98
  * Fixed 1.8.6 bug for real
87
99
 
88
- ## 0.10.8 (2010-02-16)
100
+ ## 0.10.8 (February 17, 2010)
89
101
 
90
102
  * Fixed 1.8.6 bug
91
103
 
92
- ## 0.10.7 (2010-02-15)
104
+ ## 0.10.7 (February 15, 2010)
93
105
 
94
106
  * Fixed issue with DoubleInjections binding to objects overriding the method
95
107
  method.
96
108
 
97
- ## 0.10.6 (2010-02-15)
109
+ ## 0.10.6 (February 15, 2010)
98
110
 
99
111
  * Added MIT license
100
- * Fixed Bug - dont_allow doesn't work when it follows stub
101
- (http://github.com/btakita/rr/issues#issue/20)
102
- * Fixed exception with DoubleInjections on proxy objects
103
- (http://github.com/btakita/rr/issues#issue/24)
112
+ * Fixed Bug - dont_allow doesn't work when it follows stub ([#20][xi20])
113
+ * Fixed exception with DoubleInjections on proxy objects ([#24][xi24])
104
114
  * Fixed Bug - Can't stub attribute methods on a BelongsToAssociation
105
- (http://github.com/btakita/rr/issues#issue/24)
115
+ ([#24][xi24])
106
116
 
107
- ## 0.10.5 (2009-12-20)
117
+ ## 0.10.5 (December 20, 2009)
108
118
 
109
119
  * Fixed stack overflow caused by double include in Test::Unit adapter
110
- [http://github.com/btakita/rr/issues#issue/16]. Identified by Dave Myron
111
- (http://github.com/contentfree)
112
- * Fixed warnings (Patch by Bryan Helmkamp)
120
+ ([#16][xi16])
121
+ * Fixed warnings [[@brynary][brynary]]
113
122
 
114
- ## 0.10.4 (2009-09-26)
123
+ ## 0.10.4 (September 26, 2009)
115
124
 
116
125
  * Handle lazily defined methods (where respond_to? returns true yet the method
117
126
  is not yet defined and the first call to method_missing defines the method).
118
127
  This pattern is used in ActiveRecord and ActionMailer.
119
128
  * Fixed warning about aliasing #instance_exec in jruby.
120
- http://github.com/btakita/rr/issues#issue/9 (Patch by Nathan Sobo)
129
+ ([#9][xi9]) [[@nathansobo][nathansobo]]
121
130
 
122
- ## 0.10.2 (2009-08-30)
131
+ ## 0.10.2 (August 30, 2009)
123
132
 
124
- * RR properly proxies subjects with private methods
125
- [http://github.com/btakita/rr/issues/#issue/7]. Identified by Matthew
126
- O'Connor.
133
+ * RR properly proxies subjects with private methods ([#7][xi7])
127
134
 
128
135
  ## 0.10.1 (???)
129
136
 
130
137
  * Fixed issue with DoubleInjection not invoking methods that are lazily created
131
- [http://github.com/btakita/rr/issues/#issue/4]. Identified by davidlee
132
- (http://github.com/davidlee)
133
- * Fixed issue with mock.proxy and returns
134
- [http://github.com/btakita/rr/issues/#issue/2]. Identified by trogdoro
135
- (http://github.com/trogdoro)
138
+ ([#4][xi4])
139
+ * Fixed issue with mock.proxy and returns ([#2][xi2])
136
140
 
137
- ## 0.10.0 (2009-06-01)
141
+ ## 0.10.0 (June 1, 2009)
138
142
 
139
143
  * Method is no longer invoked if respond_to? returns false. This was in place to
140
144
  support ActiveRecord association proxies, and is no longer needed.
141
145
 
142
- ## 0.9.0 (2009-04-25)
146
+ ## 0.9.0 (April 25, 2009)
143
147
 
144
148
  * instance_of Doubles now apply to methods invoked in the subject's #initialize
145
149
  method.
146
150
 
147
- ## 0.8.1 (2009-03-29)
151
+ ## 0.8.1 (March 29, 2009)
148
152
 
149
153
  * Fixed exception where the Subject uses method delegation via method_missing
150
154
  (e.g. certain ActiveRecord AssociationProxy methods)
151
155
 
152
- ## 0.8.0 (2009-03-29)
156
+ ## 0.8.0 (March 29, 2009)
153
157
 
154
- * Fixed compatability issues with Ruby 1.9
158
+ * Fixed compatibility issues with Ruby 1.9
155
159
  * Aliased any_number_of_times with any_times
156
- * Better error messages for have_received and assert_received matchers (Patch by
157
- Joe Ferris)
158
- * Better documentation on RR wilcard matchers (Patch by Phil Arnowsky)
160
+ * Better error messages for have_received and assert_received matchers
161
+ [[@jferris][jferris]]
162
+ * Better documentation on RR wilcard matchers [[@phildarnowsky][phildarnowsky]]
159
163
 
160
- ## 0.7.1 (2009-01-16)
164
+ ## 0.7.1 (January 16, 2009)
161
165
 
162
166
  * Performance improvements
163
167
 
164
- ## 0.7.0 (2008-12-14)
168
+ ## 0.7.0 (December 14, 2008)
165
169
 
166
- * Added spies (Patchs by Joe Ferris, Michael Niessner & Mike Mangino)
167
- * Added strongly typed reimplementation doubles (Patch by Michael Niessner)
170
+ * Added spies [[@jferris][jferris], [@niessner][niessner],
171
+ [@mmangino][mmangino]]
172
+ * Added strongly typed reimplementation doubles [[@niessner][niessner]]
168
173
 
169
174
  ## 0.6.2 (???)
170
175
 
@@ -176,128 +181,128 @@
176
181
  arity is not 1. When the arity is 1, the block is yielded with the
177
182
  DoubleDefinitionCreatorProxy passed in.
178
183
 
179
- ## 0.6.0 (2008-10-13)
184
+ ## 0.6.0 (October 13, 2008)
180
185
 
181
186
  * Friendlier DoubleNotFound error message
182
187
  * Implemented Double strategy creation methods (#mock, #stub, #proxy,
183
188
  #instance_of, and ! equivalents) on DoubleDefinition
184
- * Implemented hash_including matcher (Patch by Matthew O'Conner)
185
- * Implemented satisfy matcher (Patch by Matthew O'Conner)
189
+ * Implemented hash_including matcher [Matthew O'Connor]
190
+ * Implemented satisfy matcher [Matthew O'Connor]
186
191
  * Implemented DoubleDefinitionCreator#mock!, #stub!, and #dont_allow!
187
192
  * Modified api to method chain Doubles
188
193
  * Fix conflict with Mocha overriding Object#verify
189
194
 
190
195
  ## 0.5.0 (???)
191
196
 
192
- * Method chaining Doubles (Patch by Nick Kallen)
193
- * Chained ordered expectations (Patch by Nick Kallen)
197
+ * Method chaining Doubles [[@nkallen][nkallen]]
198
+ * Chained ordered expectations [[@nkallen][nkallen]]
194
199
  * Space#verify_doubles can take one or more objects with DoubleInjections to be
195
200
  verified
196
201
 
197
- ## 0.4.10 (2008-07-06)
202
+ ## 0.4.10 (July 6, 2008)
198
203
 
199
204
  * DoubleDefinitionCreatorProxy does not undef #object_id
200
205
  * Fixed rdoc pointer to README
201
206
 
202
- ## 0.4.9 (2008-06-18)
207
+ ## 0.4.9 (June 18, 2008)
203
208
 
204
209
  * Proxying from RR module to RR::Space.instance
205
210
 
206
- ## 0.4.8 (2008-01-23)
211
+ ## 0.4.8 (January 23, 2008)
207
212
 
208
213
  * Fixed issue with Hash arguments
209
214
 
210
- ## 0.4.7 (2008-01-23)
215
+ ## 0.4.7 (January 23, 2008)
211
216
 
212
217
  * Improved error message
213
218
 
214
- ## 0.4.6 (2008-01-23)
219
+ ## 0.4.6 (January 23, 2008)
215
220
 
216
221
  * Added Double#verbose and Double#verbose?
217
222
 
218
- ## 0.4.5 (2008-01-15)
223
+ ## 0.4.5 (January 15, 2008)
219
224
 
220
225
  * Fixed doubles for == and #eql? methods
221
226
 
222
- ## 0.4.4 (2008-01-15)
227
+ ## 0.4.4 (January 15, 2008)
223
228
 
224
229
  * Doc improvements
225
230
  * Methods that are not alphabetic, such as ==, can be doubles
226
231
 
227
- ## 0.4.3 (2008-01-07)
232
+ ## 0.4.3 (January 7, 2008)
228
233
 
229
234
  * Doc improvements
230
235
  * Cleanup
231
236
  * Finished renaming scenario to double
232
237
 
233
- ## 0.4.2 (2007-12-31)
238
+ ## 0.4.2 (December 31, 2007)
234
239
 
235
240
  * Renamed DoubleInsertion to DoubleInjection to be consistent with Mocha
236
241
  terminology
237
242
 
238
- ## 0.4.1 (2007-12-31)
243
+ ## 0.4.1 (December 31, 2007)
239
244
 
240
245
  * Fixed backward compatability issues with rspec
241
246
  * Renamed Space#verify_double_insertions to #verify_doubles
242
247
 
243
- ## 0.4.0 (2007-12-30)
248
+ ## 0.4.0 (December 30, 2007)
244
249
 
245
250
  * Documentation improvements
246
251
  * Renamed Double to DoubleInsertion
247
252
  * Renamed Scenario to Double
248
253
 
249
- ## 0.3.11 (2007-09-06)
254
+ ## 0.3.11 (September 6, 2007)
250
255
 
251
256
  * Fixed [#13724] Mock Proxy on Active Record Association proxies causes error
252
257
 
253
- ## 0.3.10 (2007-08-18)
258
+ ## 0.3.10 (August 18, 2007)
254
259
 
255
260
  * Fixed [#13139] Blocks added to proxy sets the return_value and not the
256
261
  after_call callback
257
262
 
258
- ## 0.3.9 (2007-08-14)
263
+ ## 0.3.9 (August 14, 2007)
259
264
 
260
265
  * Alias probe to proxy
261
266
 
262
- ## 0.3.8 (2007-08-12)
267
+ ## 0.3.8 (August 12, 2007)
263
268
 
264
269
  * Implemented [#13009] Better error mesage from TimesCalledMatcher
265
270
 
266
- ## 0.3.7 (2007-08-09)
271
+ ## 0.3.7 (August 9, 2007)
267
272
 
268
273
  * Fixed [#12928] Reset doubles fails on Rails association proxies
269
274
 
270
- ## 0.3.6 (2007-08-01)
275
+ ## 0.3.6 (August 1, 2007)
271
276
 
272
277
  * Fixed [#12765] Issues with ObjectSpace._id2ref
273
278
 
274
- ## 0.3.5 (2007-07-29)
279
+ ## 0.3.5 (July 29, 2007)
275
280
 
276
281
  * trim_backtrace is only set for Test::Unit
277
282
 
278
- ## 0.3.4 (2007-07-22)
283
+ ## 0.3.4 (July 22, 2007)
279
284
 
280
285
  * Implemented instance_of
281
286
 
282
- ## 0.3.3 (2007-07-22)
287
+ ## 0.3.3 (July 22, 2007)
283
288
 
284
289
  * Fixed [#12495] Error Probing method_missing interaction
285
290
 
286
- ## 0.3.2 (2007-07-22)
291
+ ## 0.3.2 (July 22, 2007)
287
292
 
288
293
  * Fixed [#12486] ScenarioMethodProxy when Kernel passed into instance methods
289
294
 
290
- ## 0.3.1 (2007-07-22)
295
+ ## 0.3.1 (July 22, 2007)
291
296
 
292
297
  * Automatically require Test::Unit and Rspec adapters
293
298
 
294
- ## 0.3.0 (2007-07-22)
299
+ ## 0.3.0 (July 22, 2007)
295
300
 
296
301
  * ScenarioCreator strategy method chaining
297
302
  * Removed mock_probe
298
303
  * Removed stub_probe
299
304
 
300
- ## 0.2.5 (2007-07-21)
305
+ ## 0.2.5 (July 21, 2007)
301
306
 
302
307
  * mock takes method_name argument
303
308
  * stub takes method_name argument
@@ -307,22 +312,22 @@
307
312
  * dont_allow takes method_name argument
308
313
  * do_not_allow takes method_name argument
309
314
 
310
- ## 0.2.4 (2007-07-19)
315
+ ## 0.2.4 (July 19, 2007)
311
316
 
312
317
  * Space#doubles key is now the object id
313
318
  * Fixed [#12402] Stubbing return value of probes fails after calling the stubbed
314
319
  method two times
315
320
 
316
- ## 0.2.3 (2007-07-18)
321
+ ## 0.2.3 (July 18, 2007)
317
322
 
318
323
  * Added RRMethods#rr_verify and RRMethods#rr_reset
319
324
 
320
- ## 0.2.2 (2007-07-17)
325
+ ## 0.2.2 (July 17, 2007)
321
326
 
322
327
  * Fixed "singleton method bound for a different object"
323
328
  * Doing Method aliasing again to store original method
324
329
 
325
- ## 0.2.1 (2007-07-17)
330
+ ## 0.2.1 (July 17, 2007)
326
331
 
327
332
  * Added mock_probe
328
333
  * Added stub_probe
@@ -333,11 +338,11 @@
333
338
  * Renamed DoubleMethods to RRMethods
334
339
  * Added RRMethods#mock_probe
335
340
 
336
- ## 0.1.15 (2007-07-17)
341
+ ## 0.1.15 (July 17, 2007)
337
342
 
338
343
  * Fixed [#12333] Rebinding original_methods causes blocks not to work
339
344
 
340
- ## 0.1.14 (2007-07-16)
345
+ ## 0.1.14 (July 16, 2007)
341
346
 
342
347
  * Introduced concept of Terminal and NonTerminal TimesCalledMatchers
343
348
  * Doubles that can be called many times can be replaced
@@ -345,36 +350,36 @@
345
350
  * Error message tweaking
346
351
  * Raise error when making a Scenarios with NonTerminal TimesMatcher Ordered
347
352
 
348
- ## 0.1.13 (2007-07-14)
353
+ ## 0.1.13 (July 14, 2007)
349
354
 
350
355
  * Fixed [#12290] Scenario#returns with false causes a return value of nil
351
356
 
352
- ## 0.1.12 (2007-07-14)
357
+ ## 0.1.12 (July 14, 2007)
353
358
 
354
359
  * Fixed bug where Creators methods are not removed when methods are defined on
355
360
  Object
356
361
  * Fixed [#12289] Creators methods are not removed in Rails environment
357
362
 
358
- ## 0.1.11 (2007-07-14)
363
+ ## 0.1.11 (July 14, 2007)
359
364
 
360
365
  * Fixed [#12287] AtLeastMatcher does not cause Scenario to be called
361
366
 
362
- ## 0.1.10 (2007-07-14)
367
+ ## 0.1.10 (July 14, 2007)
363
368
 
364
369
  * Fixed [#12286] AnyArgumentExpectation#expected_arguments not implemented
365
370
 
366
- ## 0.1.9 (2007-07-14)
371
+ ## 0.1.9 (July 14, 2007)
367
372
 
368
373
  * Added DoubleMethods#any_times
369
374
  * Added Scenario#any_number_of_times
370
375
 
371
- ## 0.1.8 (2007-07-14)
376
+ ## 0.1.8 (July 14, 2007)
372
377
 
373
378
  * TimesCalledError Message Formatted to be on multiple lines
374
379
  * ScenarioNotFoundError Message includes all Scenarios for the Double
375
380
  * ScenarioOrderError shows list of remaining ordered scenarios
376
381
 
377
- ## 0.1.7 (2007-07-14)
382
+ ## 0.1.7 (July 14, 2007)
378
383
 
379
384
  * Fixed [#12194] Double#reset_doubles are not clearing Ordered Scenarios bug
380
385
  * Added Space#reset
@@ -382,40 +387,42 @@
382
387
  * Added Scenario#at_least
383
388
  * Added Scenario#at_most
384
389
 
385
- ## 0.1.6 (2007-07-10)
390
+ ## 0.1.6 (July 10, 2007)
386
391
 
387
392
  * [#12120] probe allows a the return value to be intercepted
388
393
 
389
- ## 0.1.5 (2007-07-09)
394
+ ## 0.1.5 (July 9, 2007)
390
395
 
391
396
  * TimesCalledExpectation says how many times were called and how many times
392
397
  called were expected on error
393
398
 
394
- ## 0.1.4 (2007-07-09)
399
+ ## 0.1.4 (July 9, 2007)
395
400
 
396
401
  * TimesCalledError prints the backtrace to where the Scenario was defined when
397
402
  being verified
398
403
  * Error message includes method name when Scenario is not found
399
404
 
400
- ## 0.1.3 (2007-07-09)
405
+ ## 0.1.3 (July 9, 2007)
401
406
 
402
407
  * Fixed issue where Double#placeholder_name issues when Double method name has a
403
408
  ! or ?
404
409
 
405
- ## 0.1.2 (2007-07-08)
410
+ ## 0.1.2 (July 8, 2007)
406
411
 
407
412
  * Scenario#returns also accepts an argument
408
413
  * Implemented Scenario#yields
409
414
 
410
- ## 0.1.1 (2007-07-08)
415
+ ## 0.1.1 (July 8, 2007)
411
416
 
412
417
  * Trim the backtrace for Rspec and Test::Unit
413
418
  * Rspec and Test::Unit integration fixes
414
419
 
415
- ## 0.1.0 (2007-07-07)
420
+ ## 0.1.0 (July 7, 2007)
416
421
 
417
422
  * Initial Release
418
423
 
424
+ [btakita-rr]: http://github.com/btakita/rr
425
+ [rr-rr]: http://github.com/rr/rr
419
426
  [i2]: http://github.com/rr/rr/issues/2
420
427
  [i3]: http://github.com/rr/rr/issues/3
421
428
  [Thibaut]: http://github.com/Thibaut
@@ -429,3 +436,32 @@
429
436
  [xi69]: http://github.com/btakita/rr/issues/69
430
437
  [jayferd]: http://github.com/jayferd
431
438
  [autohook]: https://github.com/rr/rr/blob/master/lib/rr/autohook.rb
439
+ [evanphx]: http://github.com/evanphx
440
+ [xi63]: http://github.com/btakita/rr/issues/63
441
+ [xi63]: http://github.com/btakita/rr/issues/62
442
+ [cespare]: http://github.com/cespare
443
+ [gavingmiller]: http://github.com/gavingmiller
444
+ [bonkydog]: http://github.com/bonkydog
445
+ [xi42]: http://github.com/btakita/rr/issues/42
446
+ [libc]: http://github.com/libc
447
+ [brynary]: http://github.com/brynary
448
+ [xi9]: http://github.com/btakita/rr/issues/9
449
+ [nathansobo]: http://github.com/nathansobo
450
+ [xi7]: http://github.com/btakita/rr/issues/7
451
+ [xi4]: http://github.com/btakita/rr/issues/4
452
+ [xi2]: http://github.com/btakita/rr/issues/2
453
+ [nkallen]: http://github.com/nkallen
454
+ [jferris]: http://github.com/jferris
455
+ [phildarnowsky]: http://github.com/phildarnowsky
456
+ [niessner]: http://github.com/niessner
457
+ [mmangino]: http://github.com/mmangino
458
+ [xi20]: http://github.com/btakita/rr/issues/20
459
+ [xi24]: http://github.com/btakita/rr/issues/24
460
+ [xi16]: http://github.com/btakita/rr/issues/16
461
+ [xi62]: http://github.com/btakita/rr/issues/62
462
+ [xi57]: http://github.com/btakita/rr/issues/57
463
+ [xi60]: http://github.com/btakita/rr/issues/60
464
+ [i26]: http://github.com/rr/rr/issues/26
465
+ [i29]: http://github.com/rr/rr/issues/29
466
+ [i27]: http://github.com/rr/rr/issues/27
467
+