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 +4 -4
- checksums.yaml.gz.sig +2 -1
- data/lib/pennyworth/cli/parser.rb +2 -1
- data/lib/pennyworth/cli/parsers/core.rb +2 -1
- data/lib/pennyworth/cli/parsers/git_hub.rb +2 -1
- data/lib/pennyworth/cli/parsers/ruby_gems.rb +3 -1
- data/lib/pennyworth/cli/shell.rb +3 -1
- data/pennyworth.gemspec +2 -1
- data.tar.gz.sig +0 -0
- metadata +17 -3
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 774b72c51ab9df2e77ab583c517cf0a03975ef53d3e69390081d1506312430c6
|
4
|
+
data.tar.gz: 423357f3cba70b49969d76432a686b052b09acf6d19fc7ac194c75843b13b9dd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b152e6a35caa37a0f7220bb895a883573e98694b72a9b9a06fe2ad1e9ffbb1cca27ab430a53c6ee4aade45db35bd9ba3cf5d9578d8acc79020fbcb7bf8701f05
|
7
|
+
data.tar.gz: fec4bd0b88752189554ebdc0e8f9cffce510f4b1486ec2f96a599c531aa82ae5726dda9bb199d1ac8dab0b01d6859a104b3883f8b86145a1930c61f50ab679c6
|
checksums.yaml.gz.sig
CHANGED
@@ -1 +1,2 @@
|
|
1
|
-
|
1
|
+
���~��n��խ�m.�_X�eҋi��|�<`śD(��gKB�(9��jJ�K#�K_�����t��OrB�3M��$|���o3���`�x��%�2<�(@�nw�W�Ȼ�g���ܛ�LPī}�����\�,fg�+�`�IFg�2t��5����N3��&yY��+���#*4r|�^����t�fЦ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
|
data/lib/pennyworth/cli/shell.rb
CHANGED
@@ -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.
|
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.
|
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:
|
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.
|
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
|