sod 0.8.0 → 0.10.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 24e96c469f9eb3d407d6beacbd6fc4b8f9bd5202f675150af570a0b89737a913
4
- data.tar.gz: e7d1ac3e56967356562f81b76a920ef61a76db76f9b7abac81178c49a0fbda94
3
+ metadata.gz: 7f4fa726f491938adc0435472aaab635cb52aed674cc4fba8ea87f0008e03a62
4
+ data.tar.gz: '098b640de3e7a27e7ce13fde19d1ca5ade2d60a8add071c36c973a4fa75170f4'
5
5
  SHA512:
6
- metadata.gz: 024df79231fc3f7b6764743e0e7cd60ffe4ce5871888e610f605dc98215cddaf4c9bc728b5cc3bd270002b85b8fbe006dbdce02f3fbb44bc919188345e86d0fe
7
- data.tar.gz: 6cec5c7a5577835805c28aae8eb9483b22711fda1d73cc10ab06ba8c37d7b787a94e096444466f9813408c7f246d206cd9e62e526069b0f20dfe350172d7adc6
6
+ metadata.gz: 697024b2f525ee0098ea7d85f87b8a0cf916b91c7dae2c314884d05309e2614b4178362bb9c8996ae4e57cd1edc06b87fefca0c7ee89f10db37082c26fb48b96
7
+ data.tar.gz: eb8b04ac56af1a0cbc51d6c4baefb41bf10b99347eff10ff1b140b1a7e0fb15f4689d5ecf97f330528be68b441fcb665beb9bef89e9c444bcca79715e5ec792b
checksums.yaml.gz.sig CHANGED
Binary file
data/README.adoc CHANGED
@@ -523,7 +523,7 @@ end
523
523
 
524
524
  cli.call ["--echo"]
525
525
 
526
- # `Echo#call [[:rest, :*]]` must be implemented. (NotImplementedError)
526
+ # `Echo#call [[:rest, :*]]` must be implemented. (NoMethodError)
527
527
  ----
528
528
 
529
529
  At a minimum, your `#call` method needs to allow the forwarding of positional arguments which means you can use `def call(*)` if you want to ignore arguments or define which arguments you care about and ignore the rest. Up to you. Also, _all_ of the information defined within your action is available to you within the instance. Here's an example action which inspects itself:
data/lib/sod/action.rb CHANGED
@@ -52,7 +52,7 @@ module Sod
52
52
  end
53
53
 
54
54
  def call(*)
55
- fail NotImplementedError,
55
+ fail NoMethodError,
56
56
  "`#{self.class}##{__method__} #{method(__method__).parameters}` must be implemented."
57
57
  end
58
58
 
data/lib/sod/context.rb CHANGED
@@ -19,7 +19,7 @@ module Sod
19
19
 
20
20
  def to_h = attributes.dup
21
21
 
22
- def method_missing(name, *) = respond_to_missing?(name) ? attributes[name] : super(name, *)
22
+ def method_missing(name, *) = respond_to_missing?(name) ? attributes[name] : super
23
23
 
24
24
  private
25
25
 
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.8.0"
5
+ spec.version = "0.10.0"
6
6
  spec.authors = ["Brooke Kuhlmann"]
7
7
  spec.email = ["brooke@alchemists.io"]
8
8
  spec.homepage = "https://alchemists.io/projects/sod"
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.8.0
4
+ version: 0.10.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-04-03 00:00:00.000000000 Z
38
+ date: 2024-06-01 00:00:00.000000000 Z
39
39
  dependencies:
40
40
  - !ruby/object:Gem::Dependency
41
41
  name: cogger
@@ -183,7 +183,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
183
183
  - !ruby/object:Gem::Version
184
184
  version: '0'
185
185
  requirements: []
186
- rubygems_version: 3.5.7
186
+ rubygems_version: 3.5.11
187
187
  signing_key:
188
188
  specification_version: 4
189
189
  summary: A domain specific language for creating composable command line interfaces.
metadata.gz.sig CHANGED
Binary file