marameters 0.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: 0a92d21f1146d77f296e63cf36db2f70a2b71318c6d117bb962fc4d4ac34616c
4
+ data.tar.gz: 102690432048fb246e14f6bce38ed34d1ac6415ed82a7356ac3f43313bf78eeb
5
+ SHA512:
6
+ metadata.gz: 91efba790017f9d67f5de1513027455a34915822346b6e0e4502dfb6d4e1d0bb4e638342b364108caac35a8598cd18344f6df7d68743107db355cf36eb9470cd
7
+ data.tar.gz: 7931c8990397233aac682ca43701b5b90c4d045263abde99c3d52ac800050acbaabea5b96d02e5f0fae687d635894d3d1681d9f0eb856a1cd5f27219c0e8b6cb
checksums.yaml.gz.sig ADDED
@@ -0,0 +1 @@
1
+ ��-�dY�T���6��s�6����hj�V�����΋������7�?A+�'GHFt�����!fG֨o2N d:h�PPn��O-�+^�hP��p[&�aB?r�Z#Z�Y>��nvQ�+;���5a6=#o�/=(��(#�M.*C�J�@�)�OU9��LT���3zG ,+p�T P��%ڝ1E�sdJQDkh�@ׂ�
data/LICENSE.adoc ADDED
@@ -0,0 +1,134 @@
1
+ = Hippocratic License
2
+
3
+ Version: 2.1.0.
4
+
5
+ Purpose. The purpose of this License is for the Licensor named above to
6
+ permit the Licensee (as defined below) broad permission, if consistent
7
+ with Human Rights Laws and Human Rights Principles (as each is defined
8
+ below), to use and work with the Software (as defined below) within the
9
+ full scope of Licensor’s copyright and patent rights, if any, in the
10
+ Software, while ensuring attribution and protecting the Licensor from
11
+ liability.
12
+
13
+ Permission and Conditions. The Licensor grants permission by this
14
+ license ("License"), free of charge, to the extent of Licensor’s
15
+ rights under applicable copyright and patent law, to any person or
16
+ entity (the "Licensee") obtaining a copy of this software and
17
+ associated documentation files (the "Software"), to do everything with
18
+ the Software that would otherwise infringe (i) the Licensor’s copyright
19
+ in the Software or (ii) any patent claims to the Software that the
20
+ Licensor can license or becomes able to license, subject to all of the
21
+ following terms and conditions:
22
+
23
+ * Acceptance. This License is automatically offered to every person and
24
+ entity subject to its terms and conditions. Licensee accepts this
25
+ License and agrees to its terms and conditions by taking any action with
26
+ the Software that, absent this License, would infringe any intellectual
27
+ property right held by Licensor.
28
+ * Notice. Licensee must ensure that everyone who gets a copy of any part
29
+ of this Software from Licensee, with or without changes, also receives
30
+ the License and the above copyright notice (and if included by the
31
+ Licensor, patent, trademark and attribution notice). Licensee must cause
32
+ any modified versions of the Software to carry prominent notices stating
33
+ that Licensee changed the Software. For clarity, although Licensee is
34
+ free to create modifications of the Software and distribute only the
35
+ modified portion created by Licensee with additional or different terms,
36
+ the portion of the Software not modified must be distributed pursuant to
37
+ this License. If anyone notifies Licensee in writing that Licensee has
38
+ not complied with this Notice section, Licensee can keep this License by
39
+ taking all practical steps to comply within 30 days after the notice. If
40
+ Licensee does not do so, Licensee’s License (and all rights licensed
41
+ hereunder) shall end immediately.
42
+ * Compliance with Human Rights Principles and Human Rights Laws.
43
+ [arabic]
44
+ . Human Rights Principles.
45
+ [loweralpha]
46
+ .. Licensee is advised to consult the articles of the United Nations
47
+ Universal Declaration of Human Rights and the United Nations Global
48
+ Compact that define recognized principles of international human rights
49
+ (the "Human Rights Principles"). Licensee shall use the Software in a
50
+ manner consistent with Human Rights Principles.
51
+ .. Unless the Licensor and Licensee agree otherwise, any dispute,
52
+ controversy, or claim arising out of or relating to (i) Section 1(a)
53
+ regarding Human Rights Principles, including the breach of Section 1(a),
54
+ termination of this License for breach of the Human Rights Principles,
55
+ or invalidity of Section 1(a) or (ii) a determination of whether any Law
56
+ is consistent or in conflict with Human Rights Principles pursuant to
57
+ Section 2, below, shall be settled by arbitration in accordance with the
58
+ Hague Rules on Business and Human Rights Arbitration (the "Rules");
59
+ provided, however, that Licensee may elect not to participate in such
60
+ arbitration, in which event this License (and all rights licensed
61
+ hereunder) shall end immediately. The number of arbitrators shall be one
62
+ unless the Rules require otherwise.
63
+ +
64
+ Unless both the Licensor and Licensee agree to the contrary: (1) All
65
+ documents and information concerning the arbitration shall be public and
66
+ may be disclosed by any party; (2) The repository referred to under
67
+ Article 43 of the Rules shall make available to the public in a timely
68
+ manner all documents concerning the arbitration which are communicated
69
+ to it, including all submissions of the parties, all evidence admitted
70
+ into the record of the proceedings, all transcripts or other recordings
71
+ of hearings and all orders, decisions and awards of the arbitral
72
+ tribunal, subject only to the arbitral tribunal’s powers to take such
73
+ measures as may be necessary to safeguard the integrity of the arbitral
74
+ process pursuant to Articles 18, 33, 41 and 42 of the Rules; and (3)
75
+ Article 26(6) of the Rules shall not apply.
76
+ . Human Rights Laws. The Software shall not be used by any person or
77
+ entity for any systems, activities, or other uses that violate any Human
78
+ Rights Laws. "Human Rights Laws" means any applicable laws,
79
+ regulations, or rules (collectively, "Laws") that protect human,
80
+ civil, labor, privacy, political, environmental, security, economic, due
81
+ process, or similar rights; provided, however, that such Laws are
82
+ consistent and not in conflict with Human Rights Principles (a dispute
83
+ over the consistency or a conflict between Laws and Human Rights
84
+ Principles shall be determined by arbitration as stated above). Where
85
+ the Human Rights Laws of more than one jurisdiction are applicable or in
86
+ conflict with respect to the use of the Software, the Human Rights Laws
87
+ that are most protective of the individuals or groups harmed shall
88
+ apply.
89
+ . Indemnity. Licensee shall hold harmless and indemnify Licensor (and
90
+ any other contributor) against all losses, damages, liabilities,
91
+ deficiencies, claims, actions, judgments, settlements, interest, awards,
92
+ penalties, fines, costs, or expenses of whatever kind, including
93
+ Licensor’s reasonable attorneys’ fees, arising out of or relating to
94
+ Licensee’s use of the Software in violation of Human Rights Laws or
95
+ Human Rights Principles.
96
+ * Failure to Comply. Any failure of Licensee to act according to the
97
+ terms and conditions of this License is both a breach of the License and
98
+ an infringement of the intellectual property rights of the Licensor
99
+ (subject to exceptions under Laws, e.g., fair use). In the event of a
100
+ breach or infringement, the terms and conditions of this License may be
101
+ enforced by Licensor under the Laws of any jurisdiction to which
102
+ Licensee is subject. Licensee also agrees that the Licensor may enforce
103
+ the terms and conditions of this License against Licensee through
104
+ specific performance (or similar remedy under Laws) to the extent
105
+ permitted by Laws. For clarity, except in the event of a breach of this
106
+ License, infringement, or as otherwise stated in this License, Licensor
107
+ may not terminate this License with Licensee.
108
+ * Enforceability and Interpretation. If any term or provision of this
109
+ License is determined to be invalid, illegal, or unenforceable by a
110
+ court of competent jurisdiction, then such invalidity, illegality, or
111
+ unenforceability shall not affect any other term or provision of this
112
+ License or invalidate or render unenforceable such term or provision in
113
+ any other jurisdiction; provided, however, subject to a court
114
+ modification pursuant to the immediately following sentence, if any term
115
+ or provision of this License pertaining to Human Rights Laws or Human
116
+ Rights Principles is deemed invalid, illegal, or unenforceable against
117
+ Licensee by a court of competent jurisdiction, all rights in the
118
+ Software granted to Licensee shall be deemed null and void as between
119
+ Licensor and Licensee. Upon a determination that any term or provision
120
+ is invalid, illegal, or unenforceable, to the extent permitted by Laws,
121
+ the court may modify this License to affect the original purpose that
122
+ the Software be used in compliance with Human Rights Principles and
123
+ Human Rights Laws as closely as possible. The language in this License
124
+ shall be interpreted as to its fair meaning and not strictly for or
125
+ against any party.
126
+ * Disclaimer. TO THE FULL EXTENT ALLOWED BY LAW, THIS SOFTWARE COMES
127
+ "AS IS," WITHOUT ANY WARRANTY, EXPRESS OR IMPLIED, AND LICENSOR AND
128
+ ANY OTHER CONTRIBUTOR SHALL NOT BE LIABLE TO ANYONE FOR ANY DAMAGES OR
129
+ OTHER LIABILITY ARISING FROM, OUT OF, OR IN CONNECTION WITH THE SOFTWARE
130
+ OR THIS LICENSE, UNDER ANY KIND OF LEGAL CLAIM.
131
+
132
+ This Hippocratic License is an link:https://ethicalsource.dev[Ethical Source license] and is offered
133
+ for use by licensors and licensees at their own risk, on an "AS IS" basis, and with no warranties
134
+ express or implied, to the maximum extent permitted by Laws.
data/README.adoc ADDED
@@ -0,0 +1,127 @@
1
+ :toc: macro
2
+ :toclevels: 5
3
+ :figure-caption!:
4
+
5
+ = Marameters
6
+
7
+ Marameters is short for method parameters (i.e. [m]ethod + p[arameters] = marameters) which is
8
+ designed to provide additional insight and diagnostics to method parameters. For context, the
9
+ difference between a method's parameters and arguments is:
10
+
11
+ * *Parameters*: Represents the _expected_ values to be passed to a method when messaged as defined
12
+ when the method is implemented. Example: `def demo(one, two: nil)`.
13
+ * *Arguments*: Represents the _actual_ values passed to the method when messaged.
14
+ Example: `demo 1, two :2`.
15
+
16
+ This gem will help you debug methods or -- more importantly -- aid your workflow when
17
+ metaprogramming and architecting more sophisticated applications.
18
+
19
+ toc::[]
20
+
21
+ == Features
22
+
23
+ * Provides a core object as a primary interface.
24
+ * Provides specialized objects for keyword, positional, and splatted parameters.
25
+
26
+ == Requirements
27
+
28
+ . link:https://www.ruby-lang.org[Ruby].
29
+
30
+ == Setup
31
+
32
+ To install, run:
33
+
34
+ [source,bash]
35
+ ----
36
+ gem install marameters
37
+ ----
38
+
39
+ Add the following to your Gemfile file:
40
+
41
+ [source,ruby]
42
+ ----
43
+ gem "marameters"
44
+ ----
45
+
46
+ == Usage
47
+
48
+ The primary object you'll most likely want to interact with is the `Marameters::Core` class. The
49
+ following code snippet will help demonstrate the Object API:
50
+
51
+ [source,ruby]
52
+ ----
53
+ class Demo
54
+ def example one, two = nil, *three, four:, five: nil, **six, &seven
55
+ [one, two, three, four, five, six, seven]
56
+ end
57
+ end
58
+
59
+ marameters = Marameters::Core.new Demo.instance_method(:example).parameters
60
+
61
+ marameters.empty? # false
62
+ marameters.keyword? :one # false
63
+ marameters.keyword? :four # true
64
+ marameters.keywords # [:four, :five]
65
+ marameters.kinds # [:req, :opt, :keyreq, :key, :rest, :keyrest]
66
+ marameters.named_single_splat_only? # false
67
+ marameters.names # [:one, :two, :four, :five, :three, :six]
68
+ marameters.positional? # true
69
+ marameters.positionals # [:one, :two]
70
+ marameters.to_a # [[:req, :one], [:opt, :two], [:rest, :three], [:keyreq, :four], [:key, :five], [:keyrest, :six], [:block, :seven]]
71
+ marameters.unnamed_splats_only? # false
72
+ ----
73
+
74
+ The `Marameters::Core` delegates to the following classes which you can use individually as well:
75
+
76
+ [source,ruby]
77
+ ----
78
+ class Demo
79
+ def example one, two = nil, *three, four:, five: nil, **six, &seven
80
+ [one, two, three, four, five, six, seven]
81
+ end
82
+ end
83
+
84
+ # Specializes in positional method parameters only.
85
+ positional = Marameters::Positional.new Demo.instance_method(:example).parameters
86
+
87
+ # Specializes in keyword method parameters only.
88
+ keyword = Marameters::Keyword.new Demo.instance_method(:example).parameters
89
+
90
+ # Specializes in splatted method parameters only.
91
+ splat = Marameters::Splat.new Demo.instance_method(:example).parameters
92
+ ----
93
+
94
+ == Development
95
+
96
+ You can also use the IRB console for direct access to all objects:
97
+
98
+ [source,bash]
99
+ ----
100
+ bin/console
101
+ ----
102
+
103
+ == Tests
104
+
105
+ To test, run:
106
+
107
+ [source,bash]
108
+ ----
109
+ bundle exec rake
110
+ ----
111
+
112
+ == link:https://www.alchemists.io/policies/license[License]
113
+
114
+ == link:https://www.alchemists.io/policies/security[Security]
115
+
116
+ == link:https://www.alchemists.io/policies/code_of_conduct[Code of Conduct]
117
+
118
+ == link:https://www.alchemists.io/policies/contributions[Contributions]
119
+
120
+ == link:https://www.alchemists.io/projects/marameters/versions[Versions]
121
+
122
+ == link:https://www.alchemists.io/community[Community]
123
+
124
+ == Credits
125
+
126
+ * Built with link:https://www.alchemists.io/projects/gemsmith[Gemsmith].
127
+ * Engineered by link:https://www.alchemists.io/team/brooke_kuhlmann[Brooke Kuhlmann].
@@ -0,0 +1,64 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Marameters
4
+ # Provides access to method arguments for meta-programming and/or debugging purposes.
5
+ class Core
6
+ # Order matters.
7
+ DELEGATES = {positional: Positional, keyword: Keyword, splat: Splat}.freeze
8
+
9
+ # :reek:TooManyStatements
10
+ def self.of klass, name, collection: []
11
+ method = klass.instance_method name
12
+
13
+ return collection unless method
14
+
15
+ collection << new(method.parameters)
16
+ super_method = method.super_method
17
+ of super_method.owner, super_method.name, collection:
18
+ rescue NameError
19
+ collection
20
+ end
21
+
22
+ def initialize parameters, delegates: DELEGATES
23
+ @parameters = parameters
24
+
25
+ @delegates = delegates.reduce({}) do |accumulator, (key, klass)|
26
+ accumulator.merge key => klass.new(parameters)
27
+ end
28
+ end
29
+
30
+ def empty? = parameters.empty?
31
+
32
+ def keyword?(name) = keyword.name? name
33
+
34
+ def keywords = keyword.names
35
+
36
+ def kinds = delegates.values.reduce([]) { |collection, delegate| collection + delegate.kinds }
37
+
38
+ def named_single_splat_only? = splat.named_single_only?
39
+
40
+ def names = delegates.values.reduce([]) { |collection, delegate| collection + delegate.names }
41
+
42
+ def positional? = !positional.empty?
43
+
44
+ def positionals = positional.names
45
+
46
+ def slice collection, keys:
47
+ collection.select { |key| !keys.include?(key) || keyword.names.include?(key) }
48
+ end
49
+
50
+ def to_a = parameters
51
+
52
+ def unnamed_splats_only? = splat.unnamed_only?
53
+
54
+ private
55
+
56
+ attr_reader :parameters, :delegates
57
+
58
+ def keyword = delegates.fetch(__method__)
59
+
60
+ def splat = delegates.fetch(__method__)
61
+
62
+ def positional = delegates.fetch(__method__)
63
+ end
64
+ end
@@ -0,0 +1,25 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Marameters
4
+ # Specializes in providing keyword method parameter information only.
5
+ class Keyword
6
+ PATTERN = %i[key keyreq].freeze
7
+
8
+ def initialize parameters, pattern: PATTERN, transformer: TRANSFORMER
9
+ @parameters = parameters
10
+ @collection = transformer.call parameters, pattern
11
+ end
12
+
13
+ def empty? = collection.empty?
14
+
15
+ def kinds = collection.keys
16
+
17
+ def name?(name) = collection.value? name
18
+
19
+ def names = collection.values
20
+
21
+ private
22
+
23
+ attr_reader :parameters, :collection
24
+ end
25
+ end
@@ -0,0 +1,23 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Marameters
4
+ # Specializes in providing positional method paratemer information only.
5
+ class Positional
6
+ PATTERN = %i[req opt].freeze
7
+
8
+ def initialize parameters, pattern: PATTERN, transformer: TRANSFORMER
9
+ @parameters = parameters
10
+ @collection = transformer.call parameters, pattern
11
+ end
12
+
13
+ def empty? = collection.empty?
14
+
15
+ def kinds = collection.keys
16
+
17
+ def names = collection.values
18
+
19
+ private
20
+
21
+ attr_reader :parameters, :collection
22
+ end
23
+ end
@@ -0,0 +1,29 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Marameters
4
+ # Specializes in providing passthrough method parameter information only.
5
+ class Splat
6
+ PATTERN = %i[rest keyrest].freeze
7
+
8
+ def initialize parameters, pattern: PATTERN, transformer: TRANSFORMER
9
+ @parameters = parameters
10
+ @collection = transformer.call parameters, pattern
11
+ end
12
+
13
+ def empty? = collection.empty?
14
+
15
+ def kinds = collection.keys
16
+
17
+ def names = collection.values
18
+
19
+ def named_double_only? = (parameters in [[:keyrest, *]])
20
+
21
+ def named_single_only? = (parameters in [[:rest, *]])
22
+
23
+ def unnamed_only? = (parameters in [[:rest]] | [[:keyrest]] | [[:rest], [:keyrest]])
24
+
25
+ private
26
+
27
+ attr_reader :parameters, :collection
28
+ end
29
+ end
data/lib/marameters.rb ADDED
@@ -0,0 +1,13 @@
1
+ # frozen_string_literal: true
2
+
3
+ require "zeitwerk"
4
+
5
+ Zeitwerk::Loader.for_gem.setup
6
+
7
+ # Main namespace.
8
+ module Marameters
9
+ TRANSFORMER = lambda do |parameters, pattern|
10
+ parameters.select { |kind, _name| pattern.include? kind }
11
+ .reduce({}) { |collection, (kind, name)| collection.merge kind => name }
12
+ end
13
+ end
@@ -0,0 +1,30 @@
1
+ # frozen_string_literal: true
2
+
3
+ Gem::Specification.new do |spec|
4
+ spec.name = "marameters"
5
+ spec.version = "0.0.0"
6
+ spec.authors = ["Brooke Kuhlmann"]
7
+ spec.email = ["brooke@alchemists.io"]
8
+ spec.homepage = "https://www.alchemists.io/projects/marameters"
9
+ spec.summary = "Provides method parameter introspection."
10
+ spec.license = "Hippocratic-2.1"
11
+
12
+ spec.metadata = {
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",
16
+ "label" => "Marameters",
17
+ "rubygems_mfa_required" => "true",
18
+ "source_code_uri" => "https://github.com/bkuhlmann/marameters"
19
+ }
20
+
21
+ spec.signing_key = Gem.default_key_path
22
+ spec.cert_chain = [Gem.default_cert_path]
23
+
24
+ spec.required_ruby_version = "~> 3.1"
25
+ spec.add_dependency "refinements", "~> 9.2"
26
+ spec.add_dependency "zeitwerk", "~> 2.5"
27
+
28
+ spec.extra_rdoc_files = Dir["README*", "LICENSE*"]
29
+ spec.files = Dir["*.gemspec", "lib/**/*"]
30
+ end
data.tar.gz.sig ADDED
Binary file
metadata ADDED
@@ -0,0 +1,107 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: marameters
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.0
5
+ platform: ruby
6
+ authors:
7
+ - Brooke Kuhlmann
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain:
11
+ - |
12
+ -----BEGIN CERTIFICATE-----
13
+ MIIC/jCCAeagAwIBAgIBBDANBgkqhkiG9w0BAQsFADAlMSMwIQYDVQQDDBpicm9v
14
+ a2UvREM9YWxjaGVtaXN0cy9EQz1pbzAeFw0yMTAzMTkxMjQ4MDZaFw0yMjAzMTkx
15
+ MjQ4MDZaMCUxIzAhBgNVBAMMGmJyb29rZS9EQz1hbGNoZW1pc3RzL0RDPWlvMIIB
16
+ IjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA6l1qpXTiomH1RfMRloyw7MiE
17
+ xyVx/x8Yc3EupdH7uhNaTXQGyORN6aOY//1QXXMHIZ9tW74nZLhesWMSUMYy0XhB
18
+ brs+KkurHnc9FnEJAbG7ebGvl/ncqZt72nQvaxpDxvuCBHgJAz+8i5wl6FhLw+oT
19
+ 9z0A8KcGhz67SdcoQiD7qiCjL/2NTeWHOzkpPrdGlt088+VerEEGf5I13QCvaftP
20
+ D5vkU0YlAm1r98BymuJlcQ1qdkVEI1d48ph4kcS0S0nv1RiuyVb6TCAR3Nu3VaVq
21
+ 3fPzZKJLZBx67UvXdbdicWPiUR75elI4PXpLIic3xytaF52ZJYyKZCNZJhNwfQID
22
+ AQABozkwNzAJBgNVHRMEAjAAMAsGA1UdDwQEAwIEsDAdBgNVHQ4EFgQU0nzow9vc
23
+ 2CdikiiE3fJhP/gY4ggwDQYJKoZIhvcNAQELBQADggEBAEjpaOXHHp8s/7GL2qCb
24
+ YAs7urOLv9VHSPfQWAwaTMVnSsIf3Sw4xzISOP/mmfEPBPXtz61K5esrE/uTFtgb
25
+ FyjxQk2H0sEWgrRXGGNHBWQRhhEs7LP/TByoC15A0br++xLxRz4r7HBLGAWQQDpg
26
+ 66BJ2TBVjxS6K64tKbq7+ACyrOZGgTfNHACh4M076y0x0oRf/rwBrU39/KRfuhbb
27
+ cm+nNCEtO35gTmZ2bVDHLGvWazi3gJt6+huQjfXTCUUG2YYBxwhu+GPdAGQPxpf9
28
+ lkHilIrX69jq8wMPpBhlaw2mRmeSL50Wv5u6xVBvOHhXFSP1crXM95vfLhLyRYod
29
+ W2A=
30
+ -----END CERTIFICATE-----
31
+ date: 2022-03-06 00:00:00.000000000 Z
32
+ dependencies:
33
+ - !ruby/object:Gem::Dependency
34
+ name: refinements
35
+ requirement: !ruby/object:Gem::Requirement
36
+ requirements:
37
+ - - "~>"
38
+ - !ruby/object:Gem::Version
39
+ version: '9.2'
40
+ type: :runtime
41
+ prerelease: false
42
+ version_requirements: !ruby/object:Gem::Requirement
43
+ requirements:
44
+ - - "~>"
45
+ - !ruby/object:Gem::Version
46
+ version: '9.2'
47
+ - !ruby/object:Gem::Dependency
48
+ name: zeitwerk
49
+ requirement: !ruby/object:Gem::Requirement
50
+ requirements:
51
+ - - "~>"
52
+ - !ruby/object:Gem::Version
53
+ version: '2.5'
54
+ type: :runtime
55
+ prerelease: false
56
+ version_requirements: !ruby/object:Gem::Requirement
57
+ requirements:
58
+ - - "~>"
59
+ - !ruby/object:Gem::Version
60
+ version: '2.5'
61
+ description:
62
+ email:
63
+ - brooke@alchemists.io
64
+ executables: []
65
+ extensions: []
66
+ extra_rdoc_files:
67
+ - README.adoc
68
+ - LICENSE.adoc
69
+ files:
70
+ - LICENSE.adoc
71
+ - README.adoc
72
+ - lib/marameters.rb
73
+ - lib/marameters/core.rb
74
+ - lib/marameters/keyword.rb
75
+ - lib/marameters/positional.rb
76
+ - lib/marameters/splat.rb
77
+ - marameters.gemspec
78
+ homepage: https://www.alchemists.io/projects/marameters
79
+ licenses:
80
+ - Hippocratic-2.1
81
+ metadata:
82
+ bug_tracker_uri: https://github.com/bkuhlmann/marameters/issues
83
+ changelog_uri: https://www.alchemists.io/projects/marameters/versions
84
+ documentation_uri: https://www.alchemists.io/projects/marameters
85
+ label: Marameters
86
+ rubygems_mfa_required: 'true'
87
+ source_code_uri: https://github.com/bkuhlmann/marameters
88
+ post_install_message:
89
+ rdoc_options: []
90
+ require_paths:
91
+ - lib
92
+ required_ruby_version: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - "~>"
95
+ - !ruby/object:Gem::Version
96
+ version: '3.1'
97
+ required_rubygems_version: !ruby/object:Gem::Requirement
98
+ requirements:
99
+ - - ">="
100
+ - !ruby/object:Gem::Version
101
+ version: '0'
102
+ requirements: []
103
+ rubygems_version: 3.3.8
104
+ signing_key:
105
+ specification_version: 4
106
+ summary: Provides method parameter introspection.
107
+ test_files: []
metadata.gz.sig ADDED
Binary file