marameters 1.0.1 → 1.0.3

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: e1a183d2c4e38956749cd9eda9028d88cdcec1575d94708da21138d5d0693f3b
4
+ data.tar.gz: 831e0d4e8251f159cfb239866c80a9347e1c1c132963a1443fce0f0184af3577
5
5
  SHA512:
6
- metadata.gz: d26d64a6e4d0e228cb909f1f76bcfedfa0eebb71f1621581fed7bf7c3d19c8eb3fce57d8574d148ae1be8130347c19f4f63352d72eaafca3c504cffea959b209
7
- data.tar.gz: 1e713d605fbc0a6acce595f9425f082d1729741a4a601aa1ba857e548a74d4ba81a0df9de210d1a131dd3b3c51063c48ac4b084420802a2fc936500fe1f55bb5
6
+ metadata.gz: 418b5b8c33948795709a8b4377c91b400bf2e15dd4095f050b32ceed5416cf0c2dbff4e97548ae75e7f720ae104fa8ec3288564d699e946383eefe58258a2859
7
+ data.tar.gz: a45cbb04cf8fd94d8d5c1e5ca256927c9412ae4f8a83821419a811cdc14fb99b15b8c894ecee51f13ec33255481510e581a8046e579924fa207438fe80e0c386
checksums.yaml.gz.sig CHANGED
Binary file
data/README.adoc CHANGED
@@ -3,7 +3,7 @@
3
3
  :figure-caption!:
4
4
 
5
5
  :amazing_print_link: link:https://github.com/amazing-print/amazing_print[Amazing Print]
6
- :article_link: link:https://www.alchemists.io/articles/ruby_method_parameters_and_arguments[method parameters and arguments]
6
+ :article_link: link:https://alchemists.io/articles/ruby_method_parameters_and_arguments[method parameters and arguments]
7
7
 
8
8
  = Marameters
9
9
 
@@ -13,7 +13,7 @@ Marameters is a portmanteau (i.e. `[m]ethod + p[arameters] = marameters`) which
13
13
  * *Arguments*: Represents the _actual_ values passed to the method when messaged. Example: `demo 1, two: 2`.
14
14
 
15
15
  This gem will help you debug methods or aid your workflow when
16
- metaprogramming -- as used in the link:https://www.alchemists.io/projects/infusible[Infusible] gem -- when architecting more sophisticated applications.
16
+ metaprogramming -- as used in the link:https://alchemists.io/projects/infusible[Infusible] gem -- when architecting more sophisticated applications.
17
17
 
18
18
  toc::[]
19
19
 
@@ -405,22 +405,22 @@ To test, run:
405
405
 
406
406
  [source,bash]
407
407
  ----
408
- bundle exec rake
408
+ bin/rake
409
409
  ----
410
410
 
411
- == link:https://www.alchemists.io/policies/license[License]
411
+ == link:https://alchemists.io/policies/license[License]
412
412
 
413
- == link:https://www.alchemists.io/policies/security[Security]
413
+ == link:https://alchemists.io/policies/security[Security]
414
414
 
415
- == link:https://www.alchemists.io/policies/code_of_conduct[Code of Conduct]
415
+ == link:https://alchemists.io/policies/code_of_conduct[Code of Conduct]
416
416
 
417
- == link:https://www.alchemists.io/policies/contributions[Contributions]
417
+ == link:https://alchemists.io/policies/contributions[Contributions]
418
418
 
419
- == link:https://www.alchemists.io/projects/marameters/versions[Versions]
419
+ == link:https://alchemists.io/projects/marameters/versions[Versions]
420
420
 
421
- == link:https://www.alchemists.io/community[Community]
421
+ == link:https://alchemists.io/community[Community]
422
422
 
423
423
  == Credits
424
424
 
425
- * Built with link:https://www.alchemists.io/projects/gemsmith[Gemsmith].
426
- * Engineered by link:https://www.alchemists.io/team/brooke_kuhlmann[Brooke Kuhlmann].
425
+ * Built with link:https://alchemists.io/projects/gemsmith[Gemsmith].
426
+ * Engineered by link:https://alchemists.io/team/brooke_kuhlmann[Brooke Kuhlmann].
@@ -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,17 +2,17 @@
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.3"
6
6
  spec.authors = ["Brooke Kuhlmann"]
7
7
  spec.email = ["brooke@alchemists.io"]
8
- spec.homepage = "https://www.alchemists.io/projects/marameters"
8
+ spec.homepage = "https://alchemists.io/projects/marameters"
9
9
  spec.summary = "Provides dynamic method parameter construction and deconstruction."
10
10
  spec.license = "Hippocratic-2.1"
11
11
 
12
12
  spec.metadata = {
13
13
  "bug_tracker_uri" => "https://github.com/bkuhlmann/marameters/issues",
14
- "changelog_uri" => "https://www.alchemists.io/projects/marameters/versions",
15
- "documentation_uri" => "https://www.alchemists.io/projects/marameters",
14
+ "changelog_uri" => "https://alchemists.io/projects/marameters/versions",
15
+ "documentation_uri" => "https://alchemists.io/projects/marameters",
16
16
  "funding_uri" => "https://github.com/sponsors/bkuhlmann",
17
17
  "label" => "Marameters",
18
18
  "rubygems_mfa_required" => "true",
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.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brooke Kuhlmann
@@ -10,25 +10,32 @@ bindir: bin
10
10
  cert_chain:
11
11
  - |
12
12
  -----BEGIN CERTIFICATE-----
13
- MIIC/jCCAeagAwIBAgIBBTANBgkqhkiG9w0BAQsFADAlMSMwIQYDVQQDDBpicm9v
14
- a2UvREM9YWxjaGVtaXN0cy9EQz1pbzAeFw0yMjAzMTkxNzI0MzJaFw0yMzAzMTkx
15
- NzI0MzJaMCUxIzAhBgNVBAMMGmJyb29rZS9EQz1hbGNoZW1pc3RzL0RDPWlvMIIB
16
- IjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA6l1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I679vfI2yapLlIwpbBgmQTiTvPr3
32
+ qyyLUno9flYEOv9fmGHunSrM+gE0/0niGTXa5GgXBXYGS2he4LQGgSBfGp/cTwMU
33
+ rDKJRcusZ12lNBeDfgqACz/BBJF8FLodgk6rGMRZz7+ZmjjHEmpG5bQpR6Q2BuWL
34
+ XMtYk/QzaWuhiR7pWjiF8jbdd7RO6or0ohq7iFkokz/5xrtQ/vPzU2RQ3Qc6YaKw
35
+ 3n5C8/6Zh9DYTkpcwPSuIfAga6wf4nXc9m6JAw8AuMLaiWN/r/2s4zJsUHYERJEu
36
+ gZGm4JqtuSg8pYjPeIJxS960owq+SfuC+jxqmRA54BisFCv/0VOJi7tiJVY=
30
37
  -----END CERTIFICATE-----
31
- date: 2022-12-27 00:00:00.000000000 Z
38
+ date: 2023-03-22 00:00:00.000000000 Z
32
39
  dependencies:
33
40
  - !ruby/object:Gem::Dependency
34
41
  name: refinements
@@ -77,13 +84,13 @@ files:
77
84
  - lib/marameters/signature.rb
78
85
  - lib/marameters/splat.rb
79
86
  - marameters.gemspec
80
- homepage: https://www.alchemists.io/projects/marameters
87
+ homepage: https://alchemists.io/projects/marameters
81
88
  licenses:
82
89
  - Hippocratic-2.1
83
90
  metadata:
84
91
  bug_tracker_uri: https://github.com/bkuhlmann/marameters/issues
85
- changelog_uri: https://www.alchemists.io/projects/marameters/versions
86
- documentation_uri: https://www.alchemists.io/projects/marameters
92
+ changelog_uri: https://alchemists.io/projects/marameters/versions
93
+ documentation_uri: https://alchemists.io/projects/marameters
87
94
  funding_uri: https://github.com/sponsors/bkuhlmann
88
95
  label: Marameters
89
96
  rubygems_mfa_required: 'true'
@@ -103,7 +110,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
103
110
  - !ruby/object:Gem::Version
104
111
  version: '0'
105
112
  requirements: []
106
- rubygems_version: 3.4.1
113
+ rubygems_version: 3.4.9
107
114
  signing_key:
108
115
  specification_version: 4
109
116
  summary: Provides dynamic method parameter construction and deconstruction.
metadata.gz.sig CHANGED
Binary file