named_return 1.0.0 → 1.1.0

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
- SHA1:
3
- metadata.gz: f6f0e72a7eaef30e12c8bc5abfc11339f2732646
4
- data.tar.gz: 190650a389ecfdedb126730708d1092bcb4fb774
2
+ SHA256:
3
+ metadata.gz: 8a75243d7f8bd420a723304523a16feff27280714932f6bfdfc31fb759c5a423
4
+ data.tar.gz: 6552919fff03167f964c7431c1a5a62e0a482c38e7714f051eafd8ff7d3d780e
5
5
  SHA512:
6
- metadata.gz: b2f2ce6f93c641021bdadc3f9f6315c9fcc11a00599707d02d3e58e5cf5d72e33fecbf8765debd17f6c6f77fe6f709b620ee9785c54eb2984ba3b4f96fd50923
7
- data.tar.gz: a904a67f9deff795abf69b863fb8c895fafa7d9eee9db054d5e3404a343c3a3cc83721854a39e3fbb2f4b1944700faa54ba2e064e6ebdc60e0098ef0ff47be5a
6
+ metadata.gz: 8c0e9ec42b06bacdd665507975d5578b04e703f8f7168109dede9ad310fa9fc397daff5403935fcb155c2e52c1a880d5679ce4f3180aded4a239420ab5d0c99f
7
+ data.tar.gz: faa6a85392ff9ae1d9721d80d026e5e784cf94d3a259224b75cdf29f5e437c53dc336f687ab3af5ed6ad54b88f20d4d04c6d86d6abb35621af88ddff9cab7567
@@ -35,7 +35,7 @@ module NamedReturn
35
35
  end
36
36
 
37
37
  def self.included(obj)
38
- proxy = Proxy.new(options || {}) # creating a closure
38
+ proxy = Proxy.new(**options || {}) # creating a closure
39
39
  obj.send(:define_singleton_method, :_named_return_proxy) { proxy }
40
40
  # obj.send(:private, :_named_return_proxy)
41
41
  obj.extend clone.const_get(:ClassMethods)
@@ -1,3 +1,3 @@
1
1
  module NamedReturn
2
- VERSION = "1.0.0".freeze
2
+ VERSION = "1.1.0".freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: named_return
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Simon George
8
- autorequire:
8
+ autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-03-03 00:00:00.000000000 Z
11
+ date: 2021-03-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -78,7 +78,7 @@ homepage: https://www.sfcgeorge.co.uk/
78
78
  licenses:
79
79
  - MIT
80
80
  metadata: {}
81
- post_install_message:
81
+ post_install_message:
82
82
  rdoc_options: []
83
83
  require_paths:
84
84
  - lib
@@ -93,9 +93,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
93
93
  - !ruby/object:Gem::Version
94
94
  version: '0'
95
95
  requirements: []
96
- rubyforge_project:
97
- rubygems_version: 2.5.1
98
- signing_key:
96
+ rubygems_version: 3.1.2
97
+ signing_key:
99
98
  specification_version: 4
100
99
  summary: Named return paths using `throw` and DSL around catch
101
100
  test_files: []