rspec-mocks 3.8.0 → 3.8.1

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 20312b11c0d1afe102fb10eece7ff42580873332
4
- data.tar.gz: '09febe88bdf3e5548b4aa472cc86163597a51049'
2
+ SHA256:
3
+ metadata.gz: f3f7e20db4f8b0c035ed417d9a296ff259df536e7edf7549995e69847f973a0f
4
+ data.tar.gz: ded2a5d855d788ebf30a3ddea4680913343b2c98bf40ad91be9172dc4432ce0e
5
5
  SHA512:
6
- metadata.gz: 25e25343ed7f1ecf2a913298c0ef36146bc6934a0d3b73eaccdc4e0645f369ec7e61dd59f811cb6bff4499d94682862e1d8ad8d56ea88f94dfa63b57dded7907
7
- data.tar.gz: 94cd883965c37989c5b0542c36e955cbb6fbd4ba94b7513326aaa14679966a5bb96449b6e7bc0deda51a77e13411fc9ee33c10c9bc25f73d2bed61770463c4c8
6
+ metadata.gz: c8f8d55e2b58ef5d7a49dd1d7ad1a9170b03a6a0b43847347360a35e29b9c45d73a71cc3a01926b51272676e57b1321371bed1c55479c8d3bb6fa608d46e82a2
7
+ data.tar.gz: 9fbc9ab27ddc1395348590f599870a669d97107395d5cf90ac0a007afba69dad6bd97b0d6dd0b94580628e8a2aee55795630c8979133706c93879654e2940584
Binary file
data.tar.gz.sig CHANGED
Binary file
@@ -1,3 +1,11 @@
1
+ ### 3.8.1 / 2019-06-13
2
+ [Full Changelog](http://github.com/rspec/rspec-mocks/compare/v3.8.0...v3.8.1)
3
+
4
+ Bug Fixes:
5
+
6
+ * Ensure stubbing methods does not change their visibility.
7
+ (Kevin Boschert, #1277)
8
+
1
9
  ### 3.8.0 / 2018-08-04
2
10
  [Full Changelog](http://github.com/rspec/rspec-mocks/compare/v3.7.0...v3.8.0)
3
11
 
@@ -59,7 +59,7 @@ module RSpec
59
59
  return if @method_is_proxied
60
60
 
61
61
  save_original_implementation_callable!
62
- definition_target.class_exec(self, method_name, visibility) do |method_double, method_name, visibility|
62
+ definition_target.class_exec(self, method_name, @original_visibility || visibility) do |method_double, method_name, visibility|
63
63
  define_method(method_name) do |*args, &block|
64
64
  method_double.proxy_method_invoked(self, *args, &block)
65
65
  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.8.0'
6
+ STRING = '3.8.1'
7
7
  end
8
8
  end
9
9
  end
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.8.0
4
+ version: 3.8.1
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: 2018-08-04 00:00:00.000000000 Z
48
+ date: 2019-06-13 00:00:00.000000000 Z
49
49
  dependencies:
50
50
  - !ruby/object:Gem::Dependency
51
51
  name: rspec-support
@@ -192,7 +192,12 @@ files:
192
192
  homepage: https://github.com/rspec/rspec-mocks
193
193
  licenses:
194
194
  - MIT
195
- metadata: {}
195
+ metadata:
196
+ bug_tracker_uri: https://github.com/rspec/rspec-mocks/issues
197
+ changelog_uri: https://github.com/rspec/rspec-mocks/blob/v3.8.1/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
196
201
  post_install_message:
197
202
  rdoc_options:
198
203
  - "--charset=UTF-8"
@@ -209,9 +214,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
209
214
  - !ruby/object:Gem::Version
210
215
  version: '0'
211
216
  requirements: []
212
- rubyforge_project:
213
- rubygems_version: 2.6.13
217
+ rubygems_version: 3.0.3
214
218
  signing_key:
215
219
  specification_version: 4
216
- summary: rspec-mocks-3.8.0
220
+ summary: rspec-mocks-3.8.1
217
221
  test_files: []
metadata.gz.sig CHANGED
Binary file