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 +5 -5
- data/lib/named_return/core.rb +1 -1
- data/lib/named_return/version.rb +1 -1
- metadata +6 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 8a75243d7f8bd420a723304523a16feff27280714932f6bfdfc31fb759c5a423
|
4
|
+
data.tar.gz: 6552919fff03167f964c7431c1a5a62e0a482c38e7714f051eafd8ff7d3d780e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8c0e9ec42b06bacdd665507975d5578b04e703f8f7168109dede9ad310fa9fc397daff5403935fcb155c2e52c1a880d5679ce4f3180aded4a239420ab5d0c99f
|
7
|
+
data.tar.gz: faa6a85392ff9ae1d9721d80d026e5e784cf94d3a259224b75cdf29f5e437c53dc336f687ab3af5ed6ad54b88f20d4d04c6d86d6abb35621af88ddff9cab7567
|
data/lib/named_return/core.rb
CHANGED
@@ -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)
|
data/lib/named_return/version.rb
CHANGED
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.
|
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:
|
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
|
-
|
97
|
-
|
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: []
|