sod 0.18.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: 150f8a0cb2877dbac19dc0598d483f7e0807dd4442e2c91be5c794ba273d6420
4
- data.tar.gz: 75950ae3e356837862bafe4fb90b43967a4157197f480d317e61a0a6258702f8
3
+ metadata.gz: 6e18ccc16c72c1aeab009e55cc51719472c35a47a17e55049a036e1b20912452
4
+ data.tar.gz: 5287157da81dc61f1ee9c05a2a77047c96cb78d4250eeaf46c207ad02ec85ce3
5
5
  SHA512:
6
- metadata.gz: 85cb81b228071c58d3a7dde60252140aba84d35185062aaa4581a8ced594d11d632ab2d83e7f43c1002f4d5d5454645528c191e73a47b3db5fc163731896c4eb
7
- data.tar.gz: 876f82643d020f52d1f2c858e157fe2920c9a811ff77bfc1e916a0f9c25cccdcced05960e633511c6aa628e4389a04ba277399cc8ab841e57d717fc221e5f53c
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.18.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"
@@ -26,7 +26,7 @@ Gem::Specification.new do |spec|
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"
29
+ spec.add_dependency "optparse", "~> 0.6"
30
30
  spec.add_dependency "refinements", "~> 12.10"
31
31
  spec.add_dependency "tone", "~> 1.0"
32
32
  spec.add_dependency "zeitwerk", "~> 2.7"
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.18.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-11-05 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
@@ -85,14 +85,14 @@ 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
@@ -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.22
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