marameters 2.1.1 → 3.1.0

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: 9249fb46df449bf49c0ad2083458607e5e9313b889efc664074dde6a0d244a03
4
- data.tar.gz: 2c004793b90aeb75b2010cec9090857e0c6be96adecccb04dbafbfc79d5b219d
3
+ metadata.gz: eddad0b36e6b51b6d2790944d894fe60a82092c49c55df3c73ab20dacbbfa5ad
4
+ data.tar.gz: df99fe00399e5940a98a43bc2d47220a208a76d05d2867abdc65906550961bc7
5
5
  SHA512:
6
- metadata.gz: fe7d92f2300ce2e8ce5e2bbf2a8c3265bafe4ab055f4200d8d54ee5e0c24bfb502003687c6e3a13c3aae0ec2468142504647d3f55b843aea348436f78c24ed80
7
- data.tar.gz: 3e40183fa6f816c15cff98599d9ef092458f9a69c9991acf8ed46fadeb73592cd4a3aec674f57dba27387d85200ab84dc27c98515f999451119e2e6b25cfc5e3
6
+ metadata.gz: 7af77065ad7723f0ea2a09ebd364f850ad66adab2a4fae5caab3446d1a8d49f6143feff5555c823946aad6b6b16ae0cbb0b25ec047da66108af4a1b2a3822ef8
7
+ data.tar.gz: 64dfe2d0a6a2a9fe94e114a875794f17ae582faff3f7136248f27219fc21fbc23ea80385fd855315f8e9a6525d7cb2d4ce5f28fae9c77f094699c08d9f4213bf
checksums.yaml.gz.sig CHANGED
Binary file
@@ -1,11 +1,11 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require "refinements/structs"
3
+ require "refinements/struct"
4
4
 
5
5
  module Marameters
6
6
  # Builds the primary argument categories based on method parameters and arguments.
7
7
  class Categorizer
8
- using Refinements::Structs
8
+ using Refinements::Struct
9
9
 
10
10
  def initialize parameters, model: Splat
11
11
  @parameters = parameters
@@ -70,7 +70,7 @@ module Marameters
70
70
 
71
71
  def define_variable category, kinds
72
72
  parameters.filter_map { |kind, name| next name if kinds.include? kind }
73
- .then { |collection| instance_variable_set "@#{category}", collection }
73
+ .then { |collection| instance_variable_set :"@#{category}", collection }
74
74
  end
75
75
  end
76
76
  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 = "2.1.1"
5
+ spec.version = "3.1.0"
6
6
  spec.authors = ["Brooke Kuhlmann"]
7
7
  spec.email = ["brooke@alchemists.io"]
8
8
  spec.homepage = "https://alchemists.io/projects/marameters"
@@ -22,8 +22,8 @@ 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", "<= 3.3"]
26
- spec.add_dependency "refinements", "~> 11.0"
25
+ spec.required_ruby_version = "~> 3.3"
26
+ spec.add_dependency "refinements", "~> 12.0"
27
27
  spec.add_dependency "zeitwerk", "~> 2.6"
28
28
 
29
29
  spec.extra_rdoc_files = Dir["README*", "LICENSE*"]
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.1
4
+ version: 3.1.0
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-11-16 00:00:00.000000000 Z
38
+ date: 2024-02-20 00:00:00.000000000 Z
39
39
  dependencies:
40
40
  - !ruby/object:Gem::Dependency
41
41
  name: refinements
@@ -43,14 +43,14 @@ dependencies:
43
43
  requirements:
44
44
  - - "~>"
45
45
  - !ruby/object:Gem::Version
46
- version: '11.0'
46
+ version: '12.0'
47
47
  type: :runtime
48
48
  prerelease: false
49
49
  version_requirements: !ruby/object:Gem::Requirement
50
50
  requirements:
51
51
  - - "~>"
52
52
  - !ruby/object:Gem::Version
53
- version: '11.0'
53
+ version: '12.0'
54
54
  - !ruby/object:Gem::Dependency
55
55
  name: zeitwerk
56
56
  requirement: !ruby/object:Gem::Requirement
@@ -101,10 +101,7 @@ require_paths:
101
101
  - lib
102
102
  required_ruby_version: !ruby/object:Gem::Requirement
103
103
  requirements:
104
- - - ">="
105
- - !ruby/object:Gem::Version
106
- version: '3.2'
107
- - - "<="
104
+ - - "~>"
108
105
  - !ruby/object:Gem::Version
109
106
  version: '3.3'
110
107
  required_rubygems_version: !ruby/object:Gem::Requirement
@@ -113,7 +110,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
113
110
  - !ruby/object:Gem::Version
114
111
  version: '0'
115
112
  requirements: []
116
- rubygems_version: 3.4.22
113
+ rubygems_version: 3.5.6
117
114
  signing_key:
118
115
  specification_version: 4
119
116
  summary: A dynamic method parameter inspector.
metadata.gz.sig CHANGED
Binary file