rspec-mocks 3.0.4 → 3.12.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (49) hide show
  1. checksums.yaml +5 -5
  2. checksums.yaml.gz.sig +0 -0
  3. data/.document +1 -1
  4. data/.yardopts +1 -1
  5. data/Changelog.md +512 -2
  6. data/{License.txt → LICENSE.md} +5 -4
  7. data/README.md +113 -30
  8. data/lib/rspec/mocks/any_instance/chain.rb +5 -3
  9. data/lib/rspec/mocks/any_instance/error_generator.rb +31 -0
  10. data/lib/rspec/mocks/any_instance/expect_chain_chain.rb +1 -5
  11. data/lib/rspec/mocks/any_instance/expectation_chain.rb +9 -8
  12. data/lib/rspec/mocks/any_instance/message_chains.rb +7 -8
  13. data/lib/rspec/mocks/any_instance/proxy.rb +14 -5
  14. data/lib/rspec/mocks/any_instance/recorder.rb +61 -31
  15. data/lib/rspec/mocks/any_instance/stub_chain.rb +15 -11
  16. data/lib/rspec/mocks/any_instance/stub_chain_chain.rb +1 -5
  17. data/lib/rspec/mocks/any_instance.rb +1 -0
  18. data/lib/rspec/mocks/argument_list_matcher.rb +55 -10
  19. data/lib/rspec/mocks/argument_matchers.rb +88 -30
  20. data/lib/rspec/mocks/configuration.rb +61 -13
  21. data/lib/rspec/mocks/error_generator.rb +250 -107
  22. data/lib/rspec/mocks/example_methods.rb +151 -28
  23. data/lib/rspec/mocks/instance_method_stasher.rb +17 -6
  24. data/lib/rspec/mocks/matchers/have_received.rb +50 -20
  25. data/lib/rspec/mocks/matchers/receive.rb +39 -11
  26. data/lib/rspec/mocks/matchers/receive_message_chain.rb +22 -7
  27. data/lib/rspec/mocks/matchers/receive_messages.rb +12 -7
  28. data/lib/rspec/mocks/message_chain.rb +3 -7
  29. data/lib/rspec/mocks/message_expectation.rb +466 -307
  30. data/lib/rspec/mocks/method_double.rb +88 -29
  31. data/lib/rspec/mocks/method_reference.rb +85 -25
  32. data/lib/rspec/mocks/minitest_integration.rb +68 -0
  33. data/lib/rspec/mocks/mutate_const.rb +50 -109
  34. data/lib/rspec/mocks/object_reference.rb +89 -32
  35. data/lib/rspec/mocks/order_group.rb +4 -5
  36. data/lib/rspec/mocks/proxy.rb +156 -60
  37. data/lib/rspec/mocks/space.rb +52 -35
  38. data/lib/rspec/mocks/standalone.rb +1 -1
  39. data/lib/rspec/mocks/syntax.rb +26 -30
  40. data/lib/rspec/mocks/targets.rb +55 -28
  41. data/lib/rspec/mocks/test_double.rb +43 -7
  42. data/lib/rspec/mocks/verifying_double.rb +27 -33
  43. data/lib/rspec/mocks/{verifying_message_expecation.rb → verifying_message_expectation.rb} +11 -16
  44. data/lib/rspec/mocks/verifying_proxy.rb +77 -26
  45. data/lib/rspec/mocks/version.rb +1 -1
  46. data/lib/rspec/mocks.rb +8 -1
  47. data.tar.gz.sig +0 -0
  48. metadata +80 -43
  49. metadata.gz.sig +0 -0
@@ -1,8 +1,22 @@
1
- RSpec::Support.require_rspec_mocks 'verifying_message_expecation'
1
+ RSpec::Support.require_rspec_mocks 'verifying_message_expectation'
2
2
  RSpec::Support.require_rspec_mocks 'method_reference'
3
3
 
4
4
  module RSpec
5
5
  module Mocks
6
+ # @private
7
+ class CallbackInvocationStrategy
8
+ def call(doubled_module)
9
+ RSpec::Mocks.configuration.verifying_double_callbacks.each do |block|
10
+ block.call doubled_module
11
+ end
12
+ end
13
+ end
14
+
15
+ # @private
16
+ class NoCallbackInvocationStrategy
17
+ def call(_doubled_module)
18
+ end
19
+ end
6
20
 
7
21
  # @private
8
22
  module VerifyingProxyMethods
@@ -22,28 +36,28 @@ module RSpec
22
36
  end
23
37
 
24
38
  def ensure_implemented(method_name)
25
- if method_reference[method_name].unimplemented?
26
- @error_generator.raise_unimplemented_error(
27
- @doubled_module,
28
- method_name
29
- )
30
- end
39
+ return unless method_reference[method_name].unimplemented?
40
+
41
+ @error_generator.raise_unimplemented_error(
42
+ @doubled_module,
43
+ method_name,
44
+ @object
45
+ )
31
46
  end
32
47
 
33
- def ensure_publicly_implemented(method_name, object)
48
+ def ensure_publicly_implemented(method_name, _object)
34
49
  ensure_implemented(method_name)
35
50
  visibility = method_reference[method_name].visibility
36
51
 
37
- unless visibility == :public
38
- @error_generator.raise_non_public_error(method_name, visibility)
39
- end
52
+ return if visibility == :public
53
+ @error_generator.raise_non_public_error(method_name, visibility)
40
54
  end
41
55
  end
42
56
 
43
57
  # A verifying proxy mostly acts like a normal proxy, except that it
44
58
  # contains extra logic to try and determine the validity of any expectation
45
59
  # set on it. This includes whether or not methods have been defined and the
46
- # validatiy of arguments on method calls.
60
+ # validity of arguments on method calls.
47
61
  #
48
62
  # In all other ways this behaves like a normal proxy. It only adds the
49
63
  # verification behaviour to specific methods then delegates to the parent
@@ -57,8 +71,8 @@ module RSpec
57
71
  class VerifyingProxy < TestDoubleProxy
58
72
  include VerifyingProxyMethods
59
73
 
60
- def initialize(object, order_group, name, doubled_module, method_reference_class)
61
- super(object, order_group, name)
74
+ def initialize(object, order_group, doubled_module, method_reference_class)
75
+ super(object, order_group)
62
76
  @object = object
63
77
  @doubled_module = doubled_module
64
78
  @method_reference_class = method_reference_class
@@ -73,28 +87,42 @@ module RSpec
73
87
 
74
88
  def method_reference
75
89
  @method_reference ||= Hash.new do |h, k|
76
- h[k] = @method_reference_class.new(@doubled_module, k)
90
+ h[k] = @method_reference_class.for(@doubled_module, k)
77
91
  end
78
92
  end
79
93
 
80
94
  def visibility_for(method_name)
81
95
  method_reference[method_name].visibility
82
96
  end
97
+
98
+ def validate_arguments!(method_name, args)
99
+ @method_doubles[method_name].validate_arguments!(args)
100
+ end
83
101
  end
84
102
 
103
+ # @private
104
+ DEFAULT_CALLBACK_INVOCATION_STRATEGY = CallbackInvocationStrategy.new
105
+
85
106
  # @private
86
107
  class VerifyingPartialDoubleProxy < PartialDoubleProxy
87
108
  include VerifyingProxyMethods
88
109
 
89
- def initialize(object, expectation_ordering)
110
+ def initialize(object, expectation_ordering, optional_callback_invocation_strategy=DEFAULT_CALLBACK_INVOCATION_STRATEGY)
90
111
  super(object, expectation_ordering)
91
112
  @doubled_module = DirectObjectReference.new(object)
92
113
 
93
114
  # A custom method double is required to pass through a way to lookup
94
115
  # methods to determine their parameters.
95
116
  @method_doubles = Hash.new do |h, k|
96
- h[k] = VerifyingExistingMethodDouble.new(object, k, self)
117
+ h[k] = VerifyingExistingMethodDouble.for(object, k, self)
97
118
  end
119
+
120
+ optional_callback_invocation_strategy.call(@doubled_module)
121
+ end
122
+
123
+ def ensure_implemented(_method_name)
124
+ return if Mocks.configuration.temporarily_suppress_partial_double_verification
125
+ super
98
126
  end
99
127
 
100
128
  def method_reference
@@ -119,7 +147,12 @@ module RSpec
119
147
  end
120
148
 
121
149
  def add_expectation(*args, &block)
122
- # explict params necessary for 1.8.7 see #626
150
+ # explicit params necessary for 1.8.7 see #626
151
+ super(*args, &block).tap { |x| x.method_reference = @method_reference }
152
+ end
153
+
154
+ def add_stub(*args, &block)
155
+ # explicit params necessary for 1.8.7 see #626
123
156
  super(*args, &block).tap { |x| x.method_reference = @method_reference }
124
157
  end
125
158
 
@@ -127,15 +160,12 @@ module RSpec
127
160
  validate_arguments!(args)
128
161
  super
129
162
  end
130
-
131
- private
163
+ ruby2_keywords :proxy_method_invoked if respond_to?(:ruby2_keywords, true)
132
164
 
133
165
  def validate_arguments!(actual_args)
134
166
  @method_reference.with_signature do |signature|
135
- verifier = Support::MethodSignatureVerifier.new(signature, actual_args)
136
- unless verifier.valid?
137
- raise ArgumentError, verifier.error_message
138
- end
167
+ verifier = Support::StrictSignatureVerifier.new(signature, actual_args)
168
+ raise ArgumentError, verifier.error_message unless verifier.valid?
139
169
  end
140
170
  end
141
171
  end
@@ -155,16 +185,37 @@ module RSpec
155
185
 
156
186
  # Trigger an eager find of the original method since if we find it any
157
187
  # later we end up getting a stubbed method with incorrect arity.
158
- save_original_method!
188
+ save_original_implementation_callable!
159
189
  end
160
190
 
161
191
  def with_signature
162
- yield Support::MethodSignature.new(original_method)
192
+ yield Support::MethodSignature.new(original_implementation_callable)
163
193
  end
164
194
 
165
195
  def unimplemented?
166
196
  !@valid_method
167
197
  end
198
+
199
+ def self.for(object, method_name, proxy)
200
+ if ClassNewMethodReference.applies_to?(method_name) { object }
201
+ VerifyingExistingClassNewMethodDouble
202
+ elsif Mocks.configuration.temporarily_suppress_partial_double_verification
203
+ MethodDouble
204
+ else
205
+ self
206
+ end.new(object, method_name, proxy)
207
+ end
208
+ end
209
+
210
+ # Used in place of a `VerifyingExistingMethodDouble` for the specific case
211
+ # of mocking or stubbing a `new` method on a class. In this case, we substitute
212
+ # the method signature from `#initialize` since new's signature is just `*args`.
213
+ #
214
+ # @private
215
+ class VerifyingExistingClassNewMethodDouble < VerifyingExistingMethodDouble
216
+ def with_signature
217
+ yield Support::MethodSignature.new(object.instance_method(:initialize))
218
+ end
168
219
  end
169
220
  end
170
221
  end
@@ -3,7 +3,7 @@ module RSpec
3
3
  # Version information for RSpec mocks.
4
4
  module Version
5
5
  # Version of RSpec mocks currently in use in SemVer format.
6
- STRING = '3.0.4'
6
+ STRING = '3.12.6'
7
7
  end
8
8
  end
9
9
  end
data/lib/rspec/mocks.rb CHANGED
@@ -87,12 +87,15 @@ module RSpec
87
87
 
88
88
  # Call the passed block and verify mocks after it has executed. This allows
89
89
  # mock usage in arbitrary places, such as a `before(:all)` hook.
90
+ #
91
+ # @return [Object] the return value from the block
90
92
  def self.with_temporary_scope
91
93
  setup
92
94
 
93
95
  begin
94
- yield
96
+ result = yield
95
97
  verify
98
+ result
96
99
  ensure
97
100
  teardown
98
101
  end
@@ -117,6 +120,10 @@ module RSpec
117
120
 
118
121
  # Namespace for mock-related matchers.
119
122
  module Matchers
123
+ # @private
124
+ # just a "tag" for rspec-mock matchers detection
125
+ module Matcher; end
126
+
120
127
  autoload :HaveReceived, "rspec/mocks/matchers/have_received"
121
128
  autoload :Receive, "rspec/mocks/matchers/receive"
122
129
  autoload :ReceiveMessageChain, "rspec/mocks/matchers/receive_message_chain"
data.tar.gz.sig CHANGED
Binary file
metadata CHANGED
@@ -1,39 +1,51 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rspec-mocks
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.4
4
+ version: 3.12.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Steven Baker
8
8
  - David Chelimsky
9
9
  - Myron Marston
10
- autorequire:
10
+ autorequire:
11
11
  bindir: bin
12
12
  cert_chain:
13
13
  - |
14
14
  -----BEGIN CERTIFICATE-----
15
- MIIDjjCCAnagAwIBAgIBATANBgkqhkiG9w0BAQUFADBGMRIwEAYDVQQDDAlyc3Bl
16
- Yy1kZXYxGzAZBgoJkiaJk/IsZAEZFgtnb29nbGVnb3VwczETMBEGCgmSJomT8ixk
17
- ARkWA2NvbTAeFw0xMzExMDcxOTQyNTlaFw0xNDExMDcxOTQyNTlaMEYxEjAQBgNV
18
- BAMMCXJzcGVjLWRldjEbMBkGCgmSJomT8ixkARkWC2dvb2dsZWdvdXBzMRMwEQYK
19
- CZImiZPyLGQBGRYDY29tMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA
20
- nhCeZouDLXWO55no+EdZNCtjXjfJQ1X9TbPcvBDD29OypIUce2h/VdKXB2gI7ZHs
21
- F5NkPggslTErGFmWAtIiur7u943RVqHOsyoIsy065F9fCtrykkA+22elvTDha4Iz
22
- RUCvuhQ3klatYk4jF+cGt1jNONNVdLOiy0bMynvcM7hoVQ2AomwGs+cEOWQ/4dkD
23
- JcNV3qfzF5QBcTD2372XNM53b25nYVQSX2KH5FF7BhlKyov33bOm2gA9M+mWIujW
24
- qgkyxVlfrlE+ZBgV3wXn1Cojg1LpTq35yOArgwioyrwwlZZJR9joN9s/nDklfr5A
25
- +dyETjFc6cmEPWZrt2cJBQIDAQABo4GGMIGDMAkGA1UdEwQCMAAwCwYDVR0PBAQD
26
- AgSwMB0GA1UdDgQWBBSW+WD7hn1swJ1A7i8tbuFeuNCJCjAkBgNVHREEHTAbgRly
27
- c3BlYy1kZXZAZ29vZ2xlZ291cHMuY29tMCQGA1Ud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/Fda5d0MxZyvLILGOrf5bN4cTbe/q9Cid
40
+ Xrik7Upm+mu3y3yQIfrw85xybHq6iNXyYHvCdSrFfCIKrGpd/0CAdmYnJlx59Fk/
41
+ UbD3Eyx4psBSkU+WKO0Uf+3zNI7N/nVeNIwU/Ft+l8l7/K+427656c+ZGWDO0Gt/
42
+ BeEOSTDKP7qQ1T+JvMrBcBQo+i0cnRT10J1aoV90BhxsvWTRizIbugbaqR6Tq3bj
43
+ Akt00cIlNSplL6DenIAKSh5kF7s0tRD0tC3bNkZmNjNGkdoGEcUODEpTB3RHKKiu
44
+ e6k2Jg6m00z5vGFQhOnROG/QaUzMA3A3mFBe1RHFo07xd0pFeoeWL3vF69Gx9Jwp
45
+ ZsVDj6a7lH3cNqtWXZxrb2wO38qV5AkYj8SQK7Hj3/Yui9myUX3crr+PdetazSqQ
46
+ F3MdtaDehhjC
35
47
  -----END CERTIFICATE-----
36
- date: 2014-08-14 00:00:00.000000000 Z
48
+ date: 2023-07-11 00:00:00.000000000 Z
37
49
  dependencies:
38
50
  - !ruby/object:Gem::Dependency
39
51
  name: rspec-support
@@ -41,56 +53,76 @@ dependencies:
41
53
  requirements:
42
54
  - - "~>"
43
55
  - !ruby/object:Gem::Version
44
- version: 3.0.0
56
+ version: 3.12.0
45
57
  type: :runtime
46
58
  prerelease: false
47
59
  version_requirements: !ruby/object:Gem::Requirement
48
60
  requirements:
49
61
  - - "~>"
50
62
  - !ruby/object:Gem::Version
51
- version: 3.0.0
63
+ version: 3.12.0
64
+ - !ruby/object:Gem::Dependency
65
+ name: diff-lcs
66
+ requirement: !ruby/object:Gem::Requirement
67
+ requirements:
68
+ - - ">="
69
+ - !ruby/object:Gem::Version
70
+ version: 1.2.0
71
+ - - "<"
72
+ - !ruby/object:Gem::Version
73
+ version: '2.0'
74
+ type: :runtime
75
+ prerelease: false
76
+ version_requirements: !ruby/object:Gem::Requirement
77
+ requirements:
78
+ - - ">="
79
+ - !ruby/object:Gem::Version
80
+ version: 1.2.0
81
+ - - "<"
82
+ - !ruby/object:Gem::Version
83
+ version: '2.0'
52
84
  - !ruby/object:Gem::Dependency
53
85
  name: rake
54
86
  requirement: !ruby/object:Gem::Requirement
55
87
  requirements:
56
- - - "~>"
88
+ - - ">"
57
89
  - !ruby/object:Gem::Version
58
90
  version: 10.0.0
59
91
  type: :development
60
92
  prerelease: false
61
93
  version_requirements: !ruby/object:Gem::Requirement
62
94
  requirements:
63
- - - "~>"
95
+ - - ">"
64
96
  - !ruby/object:Gem::Version
65
97
  version: 10.0.0
66
98
  - !ruby/object:Gem::Dependency
67
99
  name: cucumber
68
100
  requirement: !ruby/object:Gem::Requirement
69
101
  requirements:
70
- - - "~>"
102
+ - - ">="
71
103
  - !ruby/object:Gem::Version
72
- version: 1.3.15
104
+ version: '1.3'
73
105
  type: :development
74
106
  prerelease: false
75
107
  version_requirements: !ruby/object:Gem::Requirement
76
108
  requirements:
77
- - - "~>"
109
+ - - ">="
78
110
  - !ruby/object:Gem::Version
79
- version: 1.3.15
111
+ version: '1.3'
80
112
  - !ruby/object:Gem::Dependency
81
113
  name: aruba
82
114
  requirement: !ruby/object:Gem::Requirement
83
115
  requirements:
84
116
  - - "~>"
85
117
  - !ruby/object:Gem::Version
86
- version: '0.5'
118
+ version: '1.1'
87
119
  type: :development
88
120
  prerelease: false
89
121
  version_requirements: !ruby/object:Gem::Requirement
90
122
  requirements:
91
123
  - - "~>"
92
124
  - !ruby/object:Gem::Version
93
- version: '0.5'
125
+ version: '1.1'
94
126
  - !ruby/object:Gem::Dependency
95
127
  name: minitest
96
128
  requirement: !ruby/object:Gem::Requirement
@@ -114,11 +146,12 @@ files:
114
146
  - ".document"
115
147
  - ".yardopts"
116
148
  - Changelog.md
117
- - License.txt
149
+ - LICENSE.md
118
150
  - README.md
119
151
  - lib/rspec/mocks.rb
120
152
  - lib/rspec/mocks/any_instance.rb
121
153
  - lib/rspec/mocks/any_instance/chain.rb
154
+ - lib/rspec/mocks/any_instance/error_generator.rb
122
155
  - lib/rspec/mocks/any_instance/expect_chain_chain.rb
123
156
  - lib/rspec/mocks/any_instance/expectation_chain.rb
124
157
  - lib/rspec/mocks/any_instance/message_chains.rb
@@ -142,6 +175,7 @@ files:
142
175
  - lib/rspec/mocks/message_expectation.rb
143
176
  - lib/rspec/mocks/method_double.rb
144
177
  - lib/rspec/mocks/method_reference.rb
178
+ - lib/rspec/mocks/minitest_integration.rb
145
179
  - lib/rspec/mocks/mutate_const.rb
146
180
  - lib/rspec/mocks/object_reference.rb
147
181
  - lib/rspec/mocks/order_group.rb
@@ -152,14 +186,19 @@ files:
152
186
  - lib/rspec/mocks/targets.rb
153
187
  - lib/rspec/mocks/test_double.rb
154
188
  - lib/rspec/mocks/verifying_double.rb
155
- - lib/rspec/mocks/verifying_message_expecation.rb
189
+ - lib/rspec/mocks/verifying_message_expectation.rb
156
190
  - lib/rspec/mocks/verifying_proxy.rb
157
191
  - lib/rspec/mocks/version.rb
158
- homepage: http://github.com/rspec/rspec-mocks
192
+ homepage: https://github.com/rspec/rspec-mocks
159
193
  licenses:
160
194
  - MIT
161
- metadata: {}
162
- post_install_message:
195
+ metadata:
196
+ bug_tracker_uri: https://github.com/rspec/rspec-mocks/issues
197
+ changelog_uri: https://github.com/rspec/rspec-mocks/blob/v3.12.6/Changelog.md
198
+ documentation_uri: https://rspec.info/documentation/
199
+ mailing_list_uri: https://groups.google.com/forum/#!forum/rspec
200
+ source_code_uri: https://github.com/rspec/rspec-mocks
201
+ post_install_message:
163
202
  rdoc_options:
164
203
  - "--charset=UTF-8"
165
204
  require_paths:
@@ -175,10 +214,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
175
214
  - !ruby/object:Gem::Version
176
215
  version: '0'
177
216
  requirements: []
178
- rubyforge_project: rspec
179
- rubygems_version: 2.2.2
180
- signing_key:
217
+ rubygems_version: 3.4.1
218
+ signing_key:
181
219
  specification_version: 4
182
- summary: rspec-mocks-3.0.4
220
+ summary: rspec-mocks-3.12.6
183
221
  test_files: []
184
- has_rdoc:
metadata.gz.sig CHANGED
Binary file