sod 0.18.0 → 0.20.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: 379400ea01fd9bc48902df60bf60551da5f1cc64ea5b6807209008561d148b82
4
+ data.tar.gz: 78b156150bb626e991c3dc48b56b71b435752a8e4722feddddb2dbacac379663
5
5
  SHA512:
6
- metadata.gz: 85cb81b228071c58d3a7dde60252140aba84d35185062aaa4581a8ced594d11d632ab2d83e7f43c1002f4d5d5454645528c191e73a47b3db5fc163731896c4eb
7
- data.tar.gz: 876f82643d020f52d1f2c858e157fe2920c9a811ff77bfc1e916a0f9c25cccdcced05960e633511c6aa628e4389a04ba277399cc8ab841e57d717fc221e5f53c
6
+ metadata.gz: 350e64cf2b035185d16944908dc8be3ba8f77a341e95f454398f0ba864bfab5cbe8454737345759e39c3a1e74f51027ad6a3cc3d241a2642a801fdac85aad54c
7
+ data.tar.gz: f02c8f40d595b176938d6132b8d3db70cf013521e263461235aafd784680db3ee1a6d5bceadca969e2649c8bb31fbf657304643afba58952365cfc1a55121abf
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.20.0"
6
6
  spec.authors = ["Brooke Kuhlmann"]
7
7
  spec.email = ["brooke@alchemists.io"]
8
8
  spec.homepage = "https://alchemists.io/projects/sod"
@@ -23,12 +23,12 @@ 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.30"
26
+ spec.add_dependency "cogger", "~> 0.31"
27
27
  spec.add_dependency "containable", "~> 0.2"
28
- spec.add_dependency "infusible", "~> 3.11"
29
- spec.add_dependency "optparse", "~> 0.5"
28
+ spec.add_dependency "infusible", "~> 3.12"
29
+ spec.add_dependency "optparse", "~> 0.6"
30
30
  spec.add_dependency "refinements", "~> 12.10"
31
- spec.add_dependency "tone", "~> 1.0"
31
+ spec.add_dependency "tone", "~> 1.10"
32
32
  spec.add_dependency "zeitwerk", "~> 2.7"
33
33
 
34
34
  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: sod
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.18.0
4
+ version: 0.20.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-09 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.30'
46
+ version: '0.31'
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.30'
53
+ version: '0.31'
54
54
  - !ruby/object:Gem::Dependency
55
55
  name: containable
56
56
  requirement: !ruby/object:Gem::Requirement
@@ -71,28 +71,28 @@ dependencies:
71
71
  requirements:
72
72
  - - "~>"
73
73
  - !ruby/object:Gem::Version
74
- version: '3.11'
74
+ version: '3.12'
75
75
  type: :runtime
76
76
  prerelease: false
77
77
  version_requirements: !ruby/object:Gem::Requirement
78
78
  requirements:
79
79
  - - "~>"
80
80
  - !ruby/object:Gem::Version
81
- version: '3.11'
81
+ version: '3.12'
82
82
  - !ruby/object:Gem::Dependency
83
83
  name: optparse
84
84
  requirement: !ruby/object:Gem::Requirement
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
@@ -113,14 +113,14 @@ dependencies:
113
113
  requirements:
114
114
  - - "~>"
115
115
  - !ruby/object:Gem::Version
116
- version: '1.0'
116
+ version: '1.10'
117
117
  type: :runtime
118
118
  prerelease: false
119
119
  version_requirements: !ruby/object:Gem::Requirement
120
120
  requirements:
121
121
  - - "~>"
122
122
  - !ruby/object:Gem::Version
123
- version: '1.0'
123
+ version: '1.10'
124
124
  - !ruby/object:Gem::Dependency
125
125
  name: zeitwerk
126
126
  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