sod 0.8.0 → 0.9.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: 24e96c469f9eb3d407d6beacbd6fc4b8f9bd5202f675150af570a0b89737a913
4
- data.tar.gz: e7d1ac3e56967356562f81b76a920ef61a76db76f9b7abac81178c49a0fbda94
3
+ metadata.gz: 8b3d76cd0a7e490d9a4181bb22d72e4fe26fbdb2cbeda43dfb760b0d5b0237f3
4
+ data.tar.gz: b9d2aa316b594f0459ac4ad7f4c902aded093d7456313f42ab565ef5338ae8e8
5
5
  SHA512:
6
- metadata.gz: 024df79231fc3f7b6764743e0e7cd60ffe4ce5871888e610f605dc98215cddaf4c9bc728b5cc3bd270002b85b8fbe006dbdce02f3fbb44bc919188345e86d0fe
7
- data.tar.gz: 6cec5c7a5577835805c28aae8eb9483b22711fda1d73cc10ab06ba8c37d7b787a94e096444466f9813408c7f246d206cd9e62e526069b0f20dfe350172d7adc6
6
+ metadata.gz: 03a5722e4c51fcc84c8e5caf82e2e34c1e88d5c9be4e2d1b035945f8775e5200e412d6db563c437d1d86c59fb6a69c6046c9e8cad78f4919930093eb1f3e2ddf
7
+ data.tar.gz: a769daae74027d89ff0da331b06158da0e564480ce8a08a14091c1faa3f71fe05d3b0b7e01aafb3ce9f98315c1d3cae6d0ce0c632cb3cfdf26ed5cb69ea35a23
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/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.9.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.9.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-05-02 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.9
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