marameters 2.0.1 → 2.1.1

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: b9b61480ff2a0cb15c9104e77defa0736e41a8af85a587f3f140928c54a00c1c
4
- data.tar.gz: 25afa2124ebe96c6087493200b2f7c0c4b4cbf395324a8aaa34d545fbe154553
3
+ metadata.gz: 9249fb46df449bf49c0ad2083458607e5e9313b889efc664074dde6a0d244a03
4
+ data.tar.gz: 2c004793b90aeb75b2010cec9090857e0c6be96adecccb04dbafbfc79d5b219d
5
5
  SHA512:
6
- metadata.gz: ceed29a08dfa377ca5a7faee7b96e75d254abada31c8ec6c91f4d67725708f6686abc314d0fc5cc5a64310bfeabf76bd11ff7e910ed4b04a163bfed4433b25be
7
- data.tar.gz: c121d6aed324bca76e00ecc2fa6b805b9ac8c03171ef991ebd6a060c89e089f1ace4762298232d6d26f75d538d4854b2e105f7a20cc174415c8bbe1bdec6ce80
6
+ metadata.gz: fe7d92f2300ce2e8ce5e2bbf2a8c3265bafe4ab055f4200d8d54ee5e0c24bfb502003687c6e3a13c3aae0ec2468142504647d3f55b843aea348436f78c24ed80
7
+ data.tar.gz: 3e40183fa6f816c15cff98599d9ef092458f9a69c9991acf8ed46fadeb73592cd4a3aec674f57dba27387d85200ab84dc27c98515f999451119e2e6b25cfc5e3
checksums.yaml.gz.sig CHANGED
Binary file
data/lib/marameters.rb CHANGED
@@ -2,10 +2,18 @@
2
2
 
3
3
  require "zeitwerk"
4
4
 
5
- Zeitwerk::Loader.for_gem.setup
5
+ Zeitwerk::Loader.new.then do |loader|
6
+ loader.tag = File.basename __FILE__, ".rb"
7
+ loader.push_dir __dir__
8
+ loader.setup
9
+ end
6
10
 
7
11
  # Main namespace.
8
12
  module Marameters
13
+ def self.loader registry = Zeitwerk::Registry
14
+ @loader ||= registry.loaders.find { |loader| loader.tag == File.basename(__FILE__, ".rb") }
15
+ end
16
+
9
17
  def self.categorize(parameters, arguments) = Categorizer.new(parameters).call(arguments)
10
18
 
11
19
  def self.of(...) = Probe.of(...)
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 = "2.0.1"
5
+ spec.version = "2.1.1"
6
6
  spec.authors = ["Brooke Kuhlmann"]
7
7
  spec.email = ["brooke@alchemists.io"]
8
8
  spec.homepage = "https://alchemists.io/projects/marameters"
@@ -22,7 +22,7 @@ Gem::Specification.new do |spec|
22
22
  spec.signing_key = Gem.default_key_path
23
23
  spec.cert_chain = [Gem.default_cert_path]
24
24
 
25
- spec.required_ruby_version = "~> 3.2"
25
+ spec.required_ruby_version = [">= 3.2", "<= 3.3"]
26
26
  spec.add_dependency "refinements", "~> 11.0"
27
27
  spec.add_dependency "zeitwerk", "~> 2.6"
28
28
 
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: 2.0.1
4
+ version: 2.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brooke Kuhlmann
@@ -35,7 +35,7 @@ cert_chain:
35
35
  3n5C8/6Zh9DYTkpcwPSuIfAga6wf4nXc9m6JAw8AuMLaiWN/r/2s4zJsUHYERJEu
36
36
  gZGm4JqtuSg8pYjPeIJxS960owq+SfuC+jxqmRA54BisFCv/0VOJi7tiJVY=
37
37
  -----END CERTIFICATE-----
38
- date: 2023-06-19 00:00:00.000000000 Z
38
+ date: 2023-11-16 00:00:00.000000000 Z
39
39
  dependencies:
40
40
  - !ruby/object:Gem::Dependency
41
41
  name: refinements
@@ -101,16 +101,19 @@ require_paths:
101
101
  - lib
102
102
  required_ruby_version: !ruby/object:Gem::Requirement
103
103
  requirements:
104
- - - "~>"
104
+ - - ">="
105
105
  - !ruby/object:Gem::Version
106
106
  version: '3.2'
107
+ - - "<="
108
+ - !ruby/object:Gem::Version
109
+ version: '3.3'
107
110
  required_rubygems_version: !ruby/object:Gem::Requirement
108
111
  requirements:
109
112
  - - ">="
110
113
  - !ruby/object:Gem::Version
111
114
  version: '0'
112
115
  requirements: []
113
- rubygems_version: 3.4.14
116
+ rubygems_version: 3.4.22
114
117
  signing_key:
115
118
  specification_version: 4
116
119
  summary: A dynamic method parameter inspector.
metadata.gz.sig CHANGED
Binary file