marameters 2.1.0 → 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: a8df57ccd9387a553ab4464f393d5094e8bbeec8424828c956f38e6f3543d74e
4
- data.tar.gz: 957f194b809a18b0584d9bbcbc913139de9635e88f65c0e18b8efaa7026558e1
3
+ metadata.gz: 9249fb46df449bf49c0ad2083458607e5e9313b889efc664074dde6a0d244a03
4
+ data.tar.gz: 2c004793b90aeb75b2010cec9090857e0c6be96adecccb04dbafbfc79d5b219d
5
5
  SHA512:
6
- metadata.gz: 05bae744bc15794664ba18a426024180380050124d90d5c7e878188b992c7ef9a5de65aafe04f985d268f6bdc592f3248d61ed21a7b1d10fb4f0345cd3064ad3
7
- data.tar.gz: 66a310872de8a1882d992e7b5acd3cf87d06201c277797725bd2b40b754571d8a19fb6f1df5cc5cbd895545ddcbf12f7ffb1c0d0023738259be08cd4c0a8783b
6
+ metadata.gz: fe7d92f2300ce2e8ce5e2bbf2a8c3265bafe4ab055f4200d8d54ee5e0c24bfb502003687c6e3a13c3aae0ec2468142504647d3f55b843aea348436f78c24ed80
7
+ data.tar.gz: 3e40183fa6f816c15cff98599d9ef092458f9a69c9991acf8ed46fadeb73592cd4a3aec674f57dba27387d85200ab84dc27c98515f999451119e2e6b25cfc5e3
checksums.yaml.gz.sig CHANGED
Binary file
data/lib/marameters.rb CHANGED
@@ -10,7 +10,9 @@ end
10
10
 
11
11
  # Main namespace.
12
12
  module Marameters
13
- def self.loader(registry = Zeitwerk::Registry) = registry.loader_for __FILE__
13
+ def self.loader registry = Zeitwerk::Registry
14
+ @loader ||= registry.loaders.find { |loader| loader.tag == File.basename(__FILE__, ".rb") }
15
+ end
14
16
 
15
17
  def self.categorize(parameters, arguments) = Categorizer.new(parameters).call(arguments)
16
18
 
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.1.0"
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.1.0
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-10-01 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.20
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