pennyworth 14.0.0 → 14.1.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: 93d16f682b00a348d30b98f13d0c4c5d1db1ba8694d72f6e9911021806568083
4
- data.tar.gz: 242c572a1a138efd7140430e050a5e8347d1d44b775572bcc06550ef5b6f3991
3
+ metadata.gz: 774b72c51ab9df2e77ab583c517cf0a03975ef53d3e69390081d1506312430c6
4
+ data.tar.gz: 423357f3cba70b49969d76432a686b052b09acf6d19fc7ac194c75843b13b9dd
5
5
  SHA512:
6
- metadata.gz: 2f12042ed873e355f7146b16ad8c11dbd7ac1bcf93d5c2ec8f577d21ea1eadb04cbfa763749332317c86d3425862336c9438c08690ea87769b8e1eb04af2c7d3
7
- data.tar.gz: 200a0fe420af8c07a6f93e8ee9524753f15a79972f730b5d2c1778e8e1a477709104b02f148dfb748c58a77c55dbc9a0fd899a7e4db48f236dcfabbcb6159e35
6
+ metadata.gz: b152e6a35caa37a0f7220bb895a883573e98694b72a9b9a06fe2ad1e9ffbb1cca27ab430a53c6ee4aade45db35bd9ba3cf5d9578d8acc79020fbcb7bf8701f05
7
+ data.tar.gz: fec4bd0b88752189554ebdc0e8f9cffce510f4b1486ec2f96a599c531aa82ae5726dda9bb199d1ac8dab0b01d6859a104b3883f8b86145a1930c61f50ab679c6
checksums.yaml.gz.sig CHANGED
@@ -1 +1,2 @@
1
- d��Z*���Rh6��w\c��x�.H3-�����r+�������y�< YAjF]?������ |�[y�@�dO�:]޽��Pa��!9��5Q��ET-2qCN(���r̆����]�@�q��5��n8��*R
1
+ ���~��n��խ�m.�_X�eҋi��|�<`śD(��gKB(9��jJ�K#�K_�����t��OrB�3M��$|���o3���`�x��%�2<�(@�nwW�Ȼ�g���ܛ�LPī}�����\�,fg�+�`�IFg�2t��5����N3��&yY��+���#*4r|�^����tfЦL�����H٩Z����C&��/����X������/��� �M�=�}�ǟ�o՛���lEܼ�܏y�
2
+ �#�u��
@@ -1,5 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
+ require "core"
3
4
  require "optparse"
4
5
 
5
6
  module Pennyworth
@@ -17,7 +18,7 @@ module Pennyworth
17
18
  @client = client
18
19
  end
19
20
 
20
- def call arguments = []
21
+ def call arguments = Core::EMPTY_ARRAY
21
22
  sections.each { |parser| parser.call configuration_duplicate, client: }
22
23
  client.parse arguments
23
24
  configuration_duplicate.freeze
@@ -1,5 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
+ require "core"
3
4
  require "refinements/structs"
4
5
 
5
6
  module Pennyworth
@@ -21,7 +22,7 @@ module Pennyworth
21
22
  @client = client
22
23
  end
23
24
 
24
- def call arguments = []
25
+ def call arguments = ::Core::EMPTY_ARRAY
25
26
  client.banner = specification.labeled_summary
26
27
  client.separator "\nUSAGE:\n"
27
28
  collate
@@ -1,5 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
+ require "core"
3
4
  require "refinements/structs"
4
5
 
5
6
  module Pennyworth
@@ -16,7 +17,7 @@ module Pennyworth
16
17
  @client = client
17
18
  end
18
19
 
19
- def call arguments = []
20
+ def call arguments = ::Core::EMPTY_ARRAY
20
21
  client.separator "\nGITHUB OPTIONS:\n"
21
22
  private_methods.sort.grep(/add_/).each { |method| __send__ method }
22
23
  client.parse arguments
@@ -1,5 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
+ require "core"
4
+
3
5
  module Pennyworth
4
6
  module CLI
5
7
  module Parsers
@@ -12,7 +14,7 @@ module Pennyworth
12
14
  @client = client
13
15
  end
14
16
 
15
- def call arguments = []
17
+ def call arguments = ::Core::EMPTY_ARRAY
16
18
  client.separator "\nRUBYGEMS OPTIONS:\n"
17
19
  add_owner
18
20
  client.parse arguments
@@ -1,5 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
+ require "core"
4
+
3
5
  module Pennyworth
4
6
  module CLI
5
7
  # The main Command Line Interface (CLI) object.
@@ -23,7 +25,7 @@ module Pennyworth
23
25
  @parser = parser
24
26
  end
25
27
 
26
- def call arguments = []
28
+ def call arguments = Core::EMPTY_ARRAY
27
29
  perform parser.call(arguments)
28
30
  rescue OptionParser::ParseError, KeyError => error
29
31
  logger.error { error.message }
data/pennyworth.gemspec CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |spec|
4
4
  spec.name = "pennyworth"
5
- spec.version = "14.0.0"
5
+ spec.version = "14.1.0"
6
6
  spec.authors = ["Brooke Kuhlmann"]
7
7
  spec.email = ["brooke@alchemists.io"]
8
8
  spec.homepage = "https://www.alchemists.io/projects/pennyworth"
@@ -24,6 +24,7 @@ Gem::Specification.new do |spec|
24
24
 
25
25
  spec.required_ruby_version = "~> 3.2"
26
26
  spec.add_dependency "cogger", "~> 0.5"
27
+ spec.add_dependency "core", "~> 0.1"
27
28
  spec.add_dependency "dry-container", "~> 0.11"
28
29
  spec.add_dependency "ghub", "~> 0.3"
29
30
  spec.add_dependency "http", "~> 5.1"
data.tar.gz.sig CHANGED
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pennyworth
3
3
  version: !ruby/object:Gem::Version
4
- version: 14.0.0
4
+ version: 14.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brooke Kuhlmann
@@ -28,7 +28,7 @@ cert_chain:
28
28
  CxDe2+VuChj4I1nvIHdu+E6XoEVlanUPKmSg6nddhkKn2gC45Kyzh6FZqnzH/CRp
29
29
  RFE=
30
30
  -----END CERTIFICATE-----
31
- date: 2022-12-27 00:00:00.000000000 Z
31
+ date: 2023-01-07 00:00:00.000000000 Z
32
32
  dependencies:
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: cogger
@@ -44,6 +44,20 @@ dependencies:
44
44
  - - "~>"
45
45
  - !ruby/object:Gem::Version
46
46
  version: '0.5'
47
+ - !ruby/object:Gem::Dependency
48
+ name: core
49
+ requirement: !ruby/object:Gem::Requirement
50
+ requirements:
51
+ - - "~>"
52
+ - !ruby/object:Gem::Version
53
+ version: '0.1'
54
+ type: :runtime
55
+ prerelease: false
56
+ version_requirements: !ruby/object:Gem::Requirement
57
+ requirements:
58
+ - - "~>"
59
+ - !ruby/object:Gem::Version
60
+ version: '0.1'
47
61
  - !ruby/object:Gem::Dependency
48
62
  name: dry-container
49
63
  requirement: !ruby/object:Gem::Requirement
@@ -264,7 +278,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
264
278
  - !ruby/object:Gem::Version
265
279
  version: '0'
266
280
  requirements: []
267
- rubygems_version: 3.4.1
281
+ rubygems_version: 3.4.2
268
282
  signing_key:
269
283
  specification_version: 4
270
284
  summary: A command line interface that augments Alfred workflows.
metadata.gz.sig CHANGED
Binary file