rspec-mocks 3.12.3 → 3.12.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8c8abef40b0c7af1e3c4e31c39dd5ea6b00b0a38585852d6c7f1c0eaafaf4b01
4
- data.tar.gz: c96bca0c8abb7db7344dd431f34a3eac93813e476ab20cb7d34709862ef26b64
3
+ metadata.gz: efbe21159038369570929be696cd7f44b23c367f6e96d3c037aa791454a1c739
4
+ data.tar.gz: 7a5d840187a13422c78b8ac6fffc205bd6b4841b8ba2c150be8026a5e650d381
5
5
  SHA512:
6
- metadata.gz: 5174ad99df46d9c45b1e2fddb7564163a46c9bd5c2def07853abc5113a590b50cd752690fa4e89cd103eb57d79a311df144cd6abfb3f60b7dbae9ce170aa73d0
7
- data.tar.gz: 924bf170ff82d03b801006aaae1d5457351e8d95c2590cacca34db87d23097b158bc688fb0c0494a2435b1f4dc9540cc63db5ddf63737c514592f54f8b71a29a
6
+ metadata.gz: 325a0c1eee0cd639bb0645f927bae2a41793eaaaadc9871046906f1101d515585dbea17320d56840ff9741d19a61c9203c2fa9073297a10f9ba90fb21b068c5a
7
+ data.tar.gz: 3334fed9cb0f29768ed9faa0d335572a42484f4930f7bc2f837045a6d7f250d9357059468fed3eb67aa67464cddb4a728e95beb21e0c8c282a75f731167c4fcb
checksums.yaml.gz.sig CHANGED
Binary file
data/Changelog.md CHANGED
@@ -1,5 +1,14 @@
1
1
  ### Development
2
- [Full Changelog](http://github.com/rspec/rspec-mocks/compare/v3.12.3...3-12-maintenance)
2
+ [Full Changelog](http://github.com/rspec/rspec-mocks/compare/v3.12.4...3-12-maintenance)
3
+
4
+ ### 3.12.4 / 2023-01-17
5
+ [Full Changelog](http://github.com/rspec/rspec-mocks/compare/v3.12.3...v3.12.4)
6
+
7
+ Bug Fixes:
8
+
9
+ * Fix an issue with asserting that Array#reverse is never called. (Brad Trick, #1533)
10
+ * Fix compatibility issue with Rails where active_support monkey patches `with`.
11
+ (Jean Boussier, #1531, #1534)
3
12
 
4
13
  ### 3.12.3 / 2023-01-17
5
14
  [Full Changelog](http://github.com/rspec/rspec-mocks/compare/v3.12.2...v3.12.3)
@@ -55,8 +55,9 @@ module RSpec
55
55
  setup_any_instance_method_substitute(subject, :stub, block)
56
56
  end
57
57
 
58
+ own_methods = (instance_methods - superclass.instance_methods)
58
59
  MessageExpectation.public_instance_methods(false).each do |method|
59
- next if method_defined?(method)
60
+ next if own_methods.include?(method)
60
61
 
61
62
  define_method(method) do |*args, &block|
62
63
  @recorded_customizations << ExpectationCustomization.new(method, args, block)
@@ -77,9 +77,9 @@ module RSpec
77
77
 
78
78
  def reset_all
79
79
  proxies.each_value { |proxy| proxy.reset }
80
- @constant_mutators.reverse.each { |mut| mut.idempotently_reset }
81
80
  any_instance_recorders.each_value { |recorder| recorder.stop_all_observation! }
82
81
  any_instance_recorders.clear
82
+ @constant_mutators.reverse.each { |mut| mut.idempotently_reset }
83
83
  end
84
84
 
85
85
  def register_constant_mutator(mutator)
@@ -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.12.3'
6
+ STRING = '3.12.4'
7
7
  end
8
8
  end
9
9
  end
data.tar.gz.sig CHANGED
@@ -1,3 +1,2 @@
1
- N�O ���bL hR��RZ��dJפŹ?F:�������rք�63\�7a��_���&|�{(�\-�ÛZesT:��Ӻ�f"��m��dmPbK+�b�'�rTkNj;(xQxSol��b;��qn=p�f��p�̹��O��;��G����g������7���F� �e$$�c3o1����U��B ��(��'%yq�P��
2
- �!̅N�j�o
3
- [���yY5g$r�ׂ���9?�=��o�8�[I�Q�vb��(M�/��v��,6��.$�����t<�ݻ�!��/�Bd���}�j�3�ppy@���P�t��)������d;8���u�֘�^��۵�o�|��ĚZ�7�gd���=_�\(s_U&�"��c+p����c�i�ôL.��9!�!�ڐ����zv~�]�f#�.Y
1
+ ��S��*�c�@���3�ɞ-�x��U�#!r�I~pI�O��!v8��sRov<�n:+$���X˭��{\�\Qlb�ā*�6Bvy��Y(���qan'�{���0Jc_���'ˋ
2
+ #jQ 5Mn� �B��px�T`��K̈,����h��bϰ���9����j��B���|���Ժ�O_�?�����zJ/9�nS�g<��5̽�A�������C�}jF�ws�� �_m_M^a�(�C^oK�ag��P=m)B�A�������+�����^bFի�A �
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rspec-mocks
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.12.3
4
+ version: 3.12.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Steven Baker
@@ -45,7 +45,7 @@ cert_chain:
45
45
  ZsVDj6a7lH3cNqtWXZxrb2wO38qV5AkYj8SQK7Hj3/Yui9myUX3crr+PdetazSqQ
46
46
  F3MdtaDehhjC
47
47
  -----END CERTIFICATE-----
48
- date: 2023-01-17 00:00:00.000000000 Z
48
+ date: 2023-03-12 00:00:00.000000000 Z
49
49
  dependencies:
50
50
  - !ruby/object:Gem::Dependency
51
51
  name: rspec-support
@@ -115,14 +115,14 @@ dependencies:
115
115
  requirements:
116
116
  - - "~>"
117
117
  - !ruby/object:Gem::Version
118
- version: 0.14.10
118
+ version: '1.1'
119
119
  type: :development
120
120
  prerelease: false
121
121
  version_requirements: !ruby/object:Gem::Requirement
122
122
  requirements:
123
123
  - - "~>"
124
124
  - !ruby/object:Gem::Version
125
- version: 0.14.10
125
+ version: '1.1'
126
126
  - !ruby/object:Gem::Dependency
127
127
  name: minitest
128
128
  requirement: !ruby/object:Gem::Requirement
@@ -194,7 +194,7 @@ licenses:
194
194
  - MIT
195
195
  metadata:
196
196
  bug_tracker_uri: https://github.com/rspec/rspec-mocks/issues
197
- changelog_uri: https://github.com/rspec/rspec-mocks/blob/v3.12.3/Changelog.md
197
+ changelog_uri: https://github.com/rspec/rspec-mocks/blob/v3.12.4/Changelog.md
198
198
  documentation_uri: https://rspec.info/documentation/
199
199
  mailing_list_uri: https://groups.google.com/forum/#!forum/rspec
200
200
  source_code_uri: https://github.com/rspec/rspec-mocks
@@ -214,8 +214,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
214
214
  - !ruby/object:Gem::Version
215
215
  version: '0'
216
216
  requirements: []
217
- rubygems_version: 3.3.26
217
+ rubygems_version: 3.4.1
218
218
  signing_key:
219
219
  specification_version: 4
220
- summary: rspec-mocks-3.12.3
220
+ summary: rspec-mocks-3.12.4
221
221
  test_files: []
metadata.gz.sig CHANGED
Binary file