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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: '0239bc01a276d9772d90353fad489b7028ad67af2453952b79c8900216be0d87'
4
- data.tar.gz: 849864aa69885987aa60c17ec2f7b05e7dd37520b47b6f84afc1b3df8cc75942
3
+ metadata.gz: 412515b3ab8097e97ba8afd6a50409a7147a348dea97496f1c0890ad59898106
4
+ data.tar.gz: 93d2fdca4a29bfedf5c26a0b09903054ebf24166195d51d0a49844ba3483d184
5
5
  SHA512:
6
- metadata.gz: d26d64a6e4d0e228cb909f1f76bcfedfa0eebb71f1621581fed7bf7c3d19c8eb3fce57d8574d148ae1be8130347c19f4f63352d72eaafca3c504cffea959b209
7
- data.tar.gz: 1e713d605fbc0a6acce595f9425f082d1729741a4a601aa1ba857e548a74d4ba81a0df9de210d1a131dd3b3c51063c48ac4b084420802a2fc936500fe1f55bb5
6
+ metadata.gz: 8aa5d6593bc252c89e9e09df31662e399f659b69a8bb480c41020d38e559fba9446412bf2ec84738f69941718721f703ddced9d69d54ed03c194cf76e4821853
7
+ data.tar.gz: 2dbe53dfa534c25b6efe55791b72bb0164702d3c3b44e2c755909f5a11787bdc7bc5ee19e6468a97a4962cc1808bbce8e0e533fbf72fa97e1ea6d9de92da01f6
checksums.yaml.gz.sig CHANGED
Binary file
data/README.adoc CHANGED
@@ -405,7 +405,7 @@ To test, run:
405
405
 
406
406
  [source,bash]
407
407
  ----
408
- bundle exec rake
408
+ bin/rake
409
409
  ----
410
410
 
411
411
  == link:https://www.alchemists.io/policies/license[License]
@@ -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, keyword_init: true do
6
- def initialize *arguments
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
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |spec|
4
4
  spec.name = "marameters"
5
- spec.version = "1.0.1"
5
+ spec.version = "1.0.2"
6
6
  spec.authors = ["Brooke Kuhlmann"]
7
7
  spec.email = ["brooke@alchemists.io"]
8
8
  spec.homepage = "https://www.alchemists.io/projects/marameters"
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.1
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: 2022-12-27 00:00:00.000000000 Z
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.1
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