marameters 1.0.1 → 1.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data/README.adoc +1 -1
- data/lib/marameters/splat.rb +2 -7
- data/marameters.gemspec +1 -1
- data.tar.gz.sig +0 -0
- metadata +3 -3
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 412515b3ab8097e97ba8afd6a50409a7147a348dea97496f1c0890ad59898106
|
4
|
+
data.tar.gz: 93d2fdca4a29bfedf5c26a0b09903054ebf24166195d51d0a49844ba3483d184
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8aa5d6593bc252c89e9e09df31662e399f659b69a8bb480c41020d38e559fba9446412bf2ec84738f69941718721f703ddced9d69d54ed03c194cf76e4821853
|
7
|
+
data.tar.gz: 2dbe53dfa534c25b6efe55791b72bb0164702d3c3b44e2c755909f5a11787bdc7bc5ee19e6468a97a4962cc1808bbce8e0e533fbf72fa97e1ea6d9de92da01f6
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data/README.adoc
CHANGED
data/lib/marameters/splat.rb
CHANGED
@@ -2,12 +2,7 @@
|
|
2
2
|
|
3
3
|
module Marameters
|
4
4
|
# Captures arguments, by category, for message splatting.
|
5
|
-
Splat = Struct.new :positionals, :keywords, :block
|
6
|
-
def initialize
|
7
|
-
super
|
8
|
-
|
9
|
-
self[:positionals] ||= []
|
10
|
-
self[:keywords] ||= {}
|
11
|
-
end
|
5
|
+
Splat = Struct.new :positionals, :keywords, :block do
|
6
|
+
def initialize(positionals: [], keywords: {}, block: nil) = super
|
12
7
|
end
|
13
8
|
end
|
data/marameters.gemspec
CHANGED
data.tar.gz.sig
CHANGED
Binary file
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: marameters
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Brooke Kuhlmann
|
@@ -28,7 +28,7 @@ cert_chain:
|
|
28
28
|
CxDe2+VuChj4I1nvIHdu+E6XoEVlanUPKmSg6nddhkKn2gC45Kyzh6FZqnzH/CRp
|
29
29
|
RFE=
|
30
30
|
-----END CERTIFICATE-----
|
31
|
-
date:
|
31
|
+
date: 2023-01-22 00:00:00.000000000 Z
|
32
32
|
dependencies:
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: refinements
|
@@ -103,7 +103,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
103
103
|
- !ruby/object:Gem::Version
|
104
104
|
version: '0'
|
105
105
|
requirements: []
|
106
|
-
rubygems_version: 3.4.
|
106
|
+
rubygems_version: 3.4.4
|
107
107
|
signing_key:
|
108
108
|
specification_version: 4
|
109
109
|
summary: Provides dynamic method parameter construction and deconstruction.
|
metadata.gz.sig
CHANGED
Binary file
|