sod 0.17.0 → 0.19.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: c57b996ab8015b8a840ad20ae102553705036b6a4a87ee67fdfbe69762b2e4c7
4
- data.tar.gz: e5f5a4cb30a3d97b57171a718880a3ca20dd0b55df6cab72f0131534ffa42b6e
3
+ metadata.gz: 6e18ccc16c72c1aeab009e55cc51719472c35a47a17e55049a036e1b20912452
4
+ data.tar.gz: 5287157da81dc61f1ee9c05a2a77047c96cb78d4250eeaf46c207ad02ec85ce3
5
5
  SHA512:
6
- metadata.gz: 34d8638e938dfc8c9abece9cf3b95902a6af83a2f173ad8f83400d38cb1528fee7e1828e37feb83697db41c812a60d12d303c59ffeca97a23a37e9d93a2928a3
7
- data.tar.gz: d83fb71ac4c43f2395034d90cf087abc4ac40467ad7f954ae7f354066ec2ae9ccdb2333194d3263f0e4ecceadd13f1217ba97278ecc8b70cb9688767ba627672
6
+ metadata.gz: b2b36236912b4094ef69c359903dd6a05a42db389bd4b8771c7c6bdc1be1ba708b6c517c4a50a7f6a2a6a869b12f0e738af08ad185941732ee23ee9643620a25
7
+ data.tar.gz: b61a11491007d4fc6f87a69d3c95321c2c73d6e25a7fc45aa2b693c43d4cac384962d71f950f4328f4d052f86abac59ab3f538db89e35ea738cb9734e0d5d516
checksums.yaml.gz.sig CHANGED
Binary file
@@ -59,10 +59,10 @@ module Sod
59
59
 
60
60
  # :reek:FeatureEnvy
61
61
  def alter_callback_for parser
62
- parser.define_singleton_method :callback! do |function, max_arity, *positionals|
63
- return function.call if function.arity == -1 && positionals.empty?
62
+ parser.define_singleton_method :callback! do |function, max_arity, value|
63
+ return function.call if function.arity == -1 && !value
64
64
 
65
- super(function, max_arity, *positionals)
65
+ super(function, max_arity, value)
66
66
  end
67
67
  end
68
68
 
data/sod.gemspec CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |spec|
4
4
  spec.name = "sod"
5
- spec.version = "0.17.0"
5
+ spec.version = "0.19.0"
6
6
  spec.authors = ["Brooke Kuhlmann"]
7
7
  spec.email = ["brooke@alchemists.io"]
8
8
  spec.homepage = "https://alchemists.io/projects/sod"
@@ -23,11 +23,11 @@ Gem::Specification.new do |spec|
23
23
  spec.cert_chain = [Gem.default_cert_path]
24
24
 
25
25
  spec.required_ruby_version = ">= 3.3", "<= 3.4"
26
- spec.add_dependency "cogger", "~> 0.26"
26
+ spec.add_dependency "cogger", "~> 0.30"
27
27
  spec.add_dependency "containable", "~> 0.2"
28
28
  spec.add_dependency "infusible", "~> 3.11"
29
- spec.add_dependency "optparse", "~> 0.5"
30
- spec.add_dependency "refinements", "~> 12.9"
29
+ spec.add_dependency "optparse", "~> 0.6"
30
+ spec.add_dependency "refinements", "~> 12.10"
31
31
  spec.add_dependency "tone", "~> 1.0"
32
32
  spec.add_dependency "zeitwerk", "~> 2.7"
33
33
 
data.tar.gz.sig CHANGED
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sod
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.17.0
4
+ version: 0.19.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: 2024-10-13 00:00:00.000000000 Z
38
+ date: 2024-11-08 00:00:00.000000000 Z
39
39
  dependencies:
40
40
  - !ruby/object:Gem::Dependency
41
41
  name: cogger
@@ -43,14 +43,14 @@ dependencies:
43
43
  requirements:
44
44
  - - "~>"
45
45
  - !ruby/object:Gem::Version
46
- version: '0.26'
46
+ version: '0.30'
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: '0.26'
53
+ version: '0.30'
54
54
  - !ruby/object:Gem::Dependency
55
55
  name: containable
56
56
  requirement: !ruby/object:Gem::Requirement
@@ -85,28 +85,28 @@ dependencies:
85
85
  requirements:
86
86
  - - "~>"
87
87
  - !ruby/object:Gem::Version
88
- version: '0.5'
88
+ version: '0.6'
89
89
  type: :runtime
90
90
  prerelease: false
91
91
  version_requirements: !ruby/object:Gem::Requirement
92
92
  requirements:
93
93
  - - "~>"
94
94
  - !ruby/object:Gem::Version
95
- version: '0.5'
95
+ version: '0.6'
96
96
  - !ruby/object:Gem::Dependency
97
97
  name: refinements
98
98
  requirement: !ruby/object:Gem::Requirement
99
99
  requirements:
100
100
  - - "~>"
101
101
  - !ruby/object:Gem::Version
102
- version: '12.9'
102
+ version: '12.10'
103
103
  type: :runtime
104
104
  prerelease: false
105
105
  version_requirements: !ruby/object:Gem::Requirement
106
106
  requirements:
107
107
  - - "~>"
108
108
  - !ruby/object:Gem::Version
109
- version: '12.9'
109
+ version: '12.10'
110
110
  - !ruby/object:Gem::Dependency
111
111
  name: tone
112
112
  requirement: !ruby/object:Gem::Requirement
@@ -200,7 +200,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
200
200
  - !ruby/object:Gem::Version
201
201
  version: '0'
202
202
  requirements: []
203
- rubygems_version: 3.5.21
203
+ rubygems_version: 3.5.23
204
204
  signing_key:
205
205
  specification_version: 4
206
206
  summary: A domain specific language for creating composable command line interfaces.
metadata.gz.sig CHANGED
Binary file