pennyworth 14.1.0 → 14.1.2
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 +0 -0
- data/README.adoc +43 -3
- data/lib/pennyworth/cli/actions/config.rb +2 -2
- data/lib/pennyworth/cli/actions/encodings.rb +2 -2
- data/lib/pennyworth/cli/actions/git_hub.rb +2 -2
- data/lib/pennyworth/cli/actions/http_statuses.rb +2 -2
- data/lib/pennyworth/cli/actions/ruby_gems.rb +2 -2
- data/lib/pennyworth/cli/actions/standard_errors.rb +2 -2
- data/lib/pennyworth/cli/actions/system/errors.rb +2 -2
- data/lib/pennyworth/cli/actions/system/signals.rb +2 -2
- data/lib/pennyworth/cli/actions/text.rb +2 -2
- data/lib/pennyworth/cli/parsers/core.rb +2 -4
- data/lib/pennyworth/cli/shell.rb +4 -4
- data/lib/pennyworth/loaders/http_statuses.rb +2 -4
- data/pennyworth.gemspec +1 -1
- data.tar.gz.sig +0 -0
- metadata +3 -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: 00e4f1ea91951c61489f4d7db8379ac4cfd6a93420a55608f0900302981db541
|
4
|
+
data.tar.gz: 96552a951d94c8df12e7e3e41ce5787822f14ecc487abe8b7a61e27c4af3b875
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 355e7e7a4021194b89a17f7540dd318b7d0fa5342afa7783e7aa5e4ac3829b009181cb7b738d8c6d35354fa83bc562773b2163cd94e490c1dc889f53545dc9b3
|
7
|
+
data.tar.gz: d871308b2aeee9a9ea0ab4ebf65c3036a4115f6c8edf336496a651dc98a56bf521182189727d92bb51dae42695223568c9570541cdf54435d1a82baf31f172be
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data/README.adoc
CHANGED
@@ -423,12 +423,22 @@ Provides quick access to link:https://github.com[GitHub] resources.
|
|
423
423
|
|
424
424
|
image:https://www.alchemists.io/images/projects/pennyworth/screenshots/hanami.png[Hanami workflow screenshot.,width=706,height=632,role=focal_point]
|
425
425
|
|
426
|
-
Provides quick access to link:https://hanamirb.org[Hanami]
|
426
|
+
Provides quick access to the link:https://hanamirb.org[Hanami] web framework.
|
427
427
|
|
428
428
|
1. link:https://www.alchemists.io/public/alfred/workflows/hanami.alfredworkflow[Download] and
|
429
429
|
double click to install.
|
430
430
|
2. Click on _Configure Workflow_ to view documentation.
|
431
431
|
|
432
|
+
===== HTMX
|
433
|
+
|
434
|
+
image:https://www.alchemists.io/images/projects/pennyworth/screenshots/htmx.png[HTMX workflow screenshot.,width=706,height=523,role=focal_point]
|
435
|
+
|
436
|
+
Provides quick access to the link:https://htmx.org[HTMX] JavaScript library.
|
437
|
+
|
438
|
+
1. link:https://www.alchemists.io/public/alfred/workflows/htmx.alfredworkflow[Download] and
|
439
|
+
double click to install.
|
440
|
+
2. Click on _Configure Workflow_ to view documentation.
|
441
|
+
|
432
442
|
===== Jitsi
|
433
443
|
|
434
444
|
image:https://www.alchemists.io/images/projects/pennyworth/screenshots/jitsi.png[Jitsi workflow screenshot.,width=706,height=254,role=focal_point]
|
@@ -459,6 +469,26 @@ Provides quick access to link:https://github.com/rack/rack[Rack] resources.
|
|
459
469
|
click to install.
|
460
470
|
2. Click on _Configure Workflow_ to view documentation.
|
461
471
|
|
472
|
+
===== Roda
|
473
|
+
|
474
|
+
image:https://www.alchemists.io/images/projects/pennyworth/screenshots/roda.png[Roda workflow screenshot.,width=706,height=577,role=focal_point]
|
475
|
+
|
476
|
+
Provides quick access to the link:http://roda.jeremyevans.net[Roda] web framework.
|
477
|
+
|
478
|
+
1. link:https://www.alchemists.io/public/alfred/workflows/roda.alfredworkflow[Download] and double
|
479
|
+
click to install.
|
480
|
+
2. Click on _Configure Workflow_ to view documentation.
|
481
|
+
|
482
|
+
===== ROM
|
483
|
+
|
484
|
+
image:https://www.alchemists.io/images/projects/pennyworth/screenshots/rom.png[ROM workflow screenshot.,width=706,height=415,role=focal_point]
|
485
|
+
|
486
|
+
Provides quick access to link:https://rom-rb.org[Ruby Object Mapper (ROM)] resources.
|
487
|
+
|
488
|
+
1. link:https://www.alchemists.io/public/alfred/workflows/rom.alfredworkflow[Download] and double
|
489
|
+
click to install.
|
490
|
+
2. Click on _Configure Workflow_ to view documentation.
|
491
|
+
|
462
492
|
===== RSpec
|
463
493
|
|
464
494
|
image:https://www.alchemists.io/images/projects/pennyworth/screenshots/rspec.png[RSpec workflow screenshot.,width=706,height=362,role=focal_point]
|
@@ -473,11 +503,21 @@ Provides quick access to link:https://rspec.info[RSpec] resources.
|
|
473
503
|
|
474
504
|
image:https://www.alchemists.io/images/projects/pennyworth/screenshots/ruby_on_rails.png[Ruby on Rails workflow screenshot.,width=706,height=524,role=focal_point]
|
475
505
|
|
476
|
-
Provides access to link:https://https://rubyonrails.org[Ruby on Rails]
|
506
|
+
Provides access to the link:https://https://rubyonrails.org[Ruby on Rails] web framework.
|
477
507
|
|
478
508
|
1. link:https://www.alchemists.io/public/alfred/workflows/ruby_on_rails.alfredworkflow[Download] and double click to install.
|
479
509
|
2. Click on _Configure Workflow_ to view documentation.
|
480
510
|
|
511
|
+
===== Search
|
512
|
+
|
513
|
+
image:https://www.alchemists.io/images/projects/pennyworth/screenshots/search.png[Search workflow screenshot.,width=706,height=631,role=focal_point]
|
514
|
+
|
515
|
+
Provides quick access to search resources.
|
516
|
+
|
517
|
+
1. link:https://www.alchemists.io/public/alfred/workflows/search.alfredworkflow[Download] and
|
518
|
+
double click to install.
|
519
|
+
2. Click on _Configure Workflow_ to view documentation.
|
520
|
+
|
481
521
|
===== Slack
|
482
522
|
|
483
523
|
image:https://www.alchemists.io/images/projects/pennyworth/screenshots/slack.png[Slack workflow screenshot.,width=706,height=524,role=focal_point]
|
@@ -559,7 +599,7 @@ To test, run:
|
|
559
599
|
|
560
600
|
[source,bash]
|
561
601
|
----
|
562
|
-
|
602
|
+
bin/rake
|
563
603
|
----
|
564
604
|
|
565
605
|
== link:https://www.alchemists.io/policies/license[License]
|
@@ -7,8 +7,8 @@ module Pennyworth
|
|
7
7
|
class Config
|
8
8
|
include Pennyworth::Import[:kernel, :logger]
|
9
9
|
|
10
|
-
def initialize
|
11
|
-
super(**
|
10
|
+
def initialize(configuration: Configuration::Loader::CLIENT, **)
|
11
|
+
super(**)
|
12
12
|
@configuration = configuration
|
13
13
|
end
|
14
14
|
|
@@ -7,8 +7,8 @@ module Pennyworth
|
|
7
7
|
class Encodings
|
8
8
|
include Pennyworth::Import[:logger]
|
9
9
|
|
10
|
-
def initialize
|
11
|
-
super(**
|
10
|
+
def initialize(processor: Processor.for_encodings, **)
|
11
|
+
super(**)
|
12
12
|
@processor = processor
|
13
13
|
end
|
14
14
|
|
@@ -7,8 +7,8 @@ module Pennyworth
|
|
7
7
|
class GitHub
|
8
8
|
include Pennyworth::Import[:logger]
|
9
9
|
|
10
|
-
def initialize
|
11
|
-
super(**
|
10
|
+
def initialize(processor: Processor.for_projects, **)
|
11
|
+
super(**)
|
12
12
|
@processor = processor
|
13
13
|
end
|
14
14
|
|
@@ -7,8 +7,8 @@ module Pennyworth
|
|
7
7
|
class HTTPStatuses
|
8
8
|
include Pennyworth::Import[:logger]
|
9
9
|
|
10
|
-
def initialize
|
11
|
-
super(**
|
10
|
+
def initialize(processor: Processor.for_http_statuses, **)
|
11
|
+
super(**)
|
12
12
|
@processor = processor
|
13
13
|
end
|
14
14
|
|
@@ -7,8 +7,8 @@ module Pennyworth
|
|
7
7
|
class RubyGems
|
8
8
|
include Pennyworth::Import[:logger]
|
9
9
|
|
10
|
-
def initialize
|
11
|
-
super(**
|
10
|
+
def initialize(processor: Processor.for_gems, **)
|
11
|
+
super(**)
|
12
12
|
@processor = processor
|
13
13
|
end
|
14
14
|
|
@@ -7,8 +7,8 @@ module Pennyworth
|
|
7
7
|
class StandardErrors
|
8
8
|
include Pennyworth::Import[:logger]
|
9
9
|
|
10
|
-
def initialize
|
11
|
-
super(**
|
10
|
+
def initialize(processor: Processor.for_standard_errors, **)
|
11
|
+
super(**)
|
12
12
|
@processor = processor
|
13
13
|
end
|
14
14
|
|
@@ -8,8 +8,8 @@ module Pennyworth
|
|
8
8
|
class Errors
|
9
9
|
include Pennyworth::Import[:logger]
|
10
10
|
|
11
|
-
def initialize
|
12
|
-
super(**
|
11
|
+
def initialize(processor: Processor.for_system_errors, **)
|
12
|
+
super(**)
|
13
13
|
@processor = processor
|
14
14
|
end
|
15
15
|
|
@@ -8,8 +8,8 @@ module Pennyworth
|
|
8
8
|
class Signals
|
9
9
|
include Pennyworth::Import[:logger]
|
10
10
|
|
11
|
-
def initialize
|
12
|
-
super(**
|
11
|
+
def initialize(processor: Processor.for_system_signals, **)
|
12
|
+
super(**)
|
13
13
|
@processor = processor
|
14
14
|
end
|
15
15
|
|
@@ -7,8 +7,8 @@ module Pennyworth
|
|
7
7
|
class Text
|
8
8
|
include Pennyworth::Import[:logger]
|
9
9
|
|
10
|
-
def initialize
|
11
|
-
super(**
|
10
|
+
def initialize(processor: Processor.for_text, **)
|
11
|
+
super(**)
|
12
12
|
@processor = processor
|
13
13
|
end
|
14
14
|
|
@@ -14,10 +14,8 @@ module Pennyworth
|
|
14
14
|
|
15
15
|
def self.call(...) = new(...).call
|
16
16
|
|
17
|
-
def initialize
|
18
|
-
|
19
|
-
**dependencies
|
20
|
-
super(**dependencies)
|
17
|
+
def initialize(configuration = Container[:configuration], client: Parser::CLIENT, **)
|
18
|
+
super(**)
|
21
19
|
@configuration = configuration
|
22
20
|
@client = client
|
23
21
|
end
|
data/lib/pennyworth/cli/shell.rb
CHANGED
@@ -20,13 +20,13 @@ module Pennyworth
|
|
20
20
|
:logger
|
21
21
|
]
|
22
22
|
|
23
|
-
def initialize
|
24
|
-
super(**
|
23
|
+
def initialize(parser: Parser.new, **)
|
24
|
+
super(**)
|
25
25
|
@parser = parser
|
26
26
|
end
|
27
27
|
|
28
28
|
def call arguments = Core::EMPTY_ARRAY
|
29
|
-
|
29
|
+
act_on parser.call(arguments)
|
30
30
|
rescue OptionParser::ParseError, KeyError => error
|
31
31
|
logger.error { error.message }
|
32
32
|
end
|
@@ -35,7 +35,7 @@ module Pennyworth
|
|
35
35
|
|
36
36
|
attr_reader :parser
|
37
37
|
|
38
|
-
def
|
38
|
+
def act_on configuration
|
39
39
|
case configuration
|
40
40
|
in action_config: Symbol => action then config.call action
|
41
41
|
in action_encodings: true then encodings.call
|
@@ -8,10 +8,8 @@ module Pennyworth
|
|
8
8
|
class HTTPStatuses
|
9
9
|
include Import[:configuration]
|
10
10
|
|
11
|
-
def initialize
|
12
|
-
|
13
|
-
**dependencies
|
14
|
-
super(**dependencies)
|
11
|
+
def initialize(codes: Rack::Utils::HTTP_STATUS_CODES, model: Models::HTTPStatus, **)
|
12
|
+
super(**)
|
15
13
|
@codes = codes
|
16
14
|
@model = model
|
17
15
|
end
|
data/pennyworth.gemspec
CHANGED
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.1.
|
4
|
+
version: 14.1.2
|
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: 2023-
|
31
|
+
date: 2023-02-05 00:00:00.000000000 Z
|
32
32
|
dependencies:
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: cogger
|
@@ -278,7 +278,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
278
278
|
- !ruby/object:Gem::Version
|
279
279
|
version: '0'
|
280
280
|
requirements: []
|
281
|
-
rubygems_version: 3.4.
|
281
|
+
rubygems_version: 3.4.6
|
282
282
|
signing_key:
|
283
283
|
specification_version: 4
|
284
284
|
summary: A command line interface that augments Alfred workflows.
|
metadata.gz.sig
CHANGED
Binary file
|