pennyworth 11.1.1 → 11.2.1
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 +175 -36
- data/lib/pennyworth/cli/configuration/defaults.yml +23 -0
- data/lib/pennyworth/identity.rb +2 -2
- data/lib/pennyworth/presenters/gem.rb +1 -1
- data/lib/pennyworth.rb +6 -5
- data.tar.gz.sig +0 -0
- metadata +7 -7
- 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: f85796b32130ff231fbf7d9d517e2d8b94a8c5e02f6b3e13988da89c471dbe0a
|
4
|
+
data.tar.gz: 5c1a102d8bed90e755c0dbfe1ad2fc733d1a08b7fdedf61f26f4f9fb26bcb163
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 91f0d615ba1bd2420ce5dc126f1638a6f347cc3122590cf4d43e4292d5588448e7e513dc4eef6c760ea2e247695d4837419abb3d006c04447870a4b7d8d7888f
|
7
|
+
data.tar.gz: fe6d0a9b7aacafa177d4370f9c959dd2432a7425fec441bb862c1cf2c0240e7b2fbebd3c946945e2a58a2acf4f3acafd1f0501150d0f7f952c52d0be3f620ac6
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data/README.adoc
CHANGED
@@ -13,7 +13,10 @@ image::https://img.shields.io/badge/code_style-alchemists-brightgreen.svg[Alchem
|
|
13
13
|
[link=https://circleci.com/gh/bkuhlmann/pennyworth]
|
14
14
|
image::https://circleci.com/gh/bkuhlmann/pennyworth.svg?style=svg[Circle CI Status]
|
15
15
|
|
16
|
-
|
16
|
+
Pennyworth is a command line interface and the perfect companion to
|
17
|
+
link:https://www.alfredapp.com[Alfred]. With Pennyworth, you can unlock the full potential of the
|
18
|
+
Ruby language by leveraging modern versions of Ruby through Alfred Workflows. Perfect for when you
|
19
|
+
want to advance beyond the basic workflows Alfred provides by default.
|
17
20
|
|
18
21
|
toc::[]
|
19
22
|
|
@@ -33,9 +36,18 @@ video::https://www.alchemists.io/videos/projects/pennyworth/demo.mp4[poster=http
|
|
33
36
|
. link:https://www.gnu.org/software/bash[Bash]
|
34
37
|
. link:https://www.alfredapp.com[Alfred]
|
35
38
|
. link:https://www.alfredapp.com/purchase[Alfred Powerpack]
|
36
|
-
. {frum_link}
|
37
39
|
. link:https://www.ruby-lang.org[Ruby]
|
38
40
|
|
41
|
+
While using a Ruby version manager -- like {frum_link} -- is not a hard requirement, it is strongly
|
42
|
+
encouraged since a version manager will give you the freedom to toggle between different Ruby
|
43
|
+
versions since this gem has strict Ruby version requirements (especially in regards to using a
|
44
|
+
modern version of Ruby).
|
45
|
+
|
46
|
+
I would also like to point out that all of the workflows, scripts, examples for this gem use Bash
|
47
|
+
syntax. That said, if you are comfortable with translating Bash syntax to your shell syntax of
|
48
|
+
choice, you can make this gem work in different shells too. That is beyond the scope of this
|
49
|
+
document, though, so leave that exercise up to you.
|
50
|
+
|
39
51
|
== Setup
|
40
52
|
|
41
53
|
To install, run:
|
@@ -145,6 +157,29 @@ The default configuration is as follows:
|
|
145
157
|
- "Rubocop Ast": "Rubocop AST"
|
146
158
|
- "Rubocop Md": "Rubocop Markdown"
|
147
159
|
- "Rubocop Rspec": "Rubocop RSpec"
|
160
|
+
- "Tty Box": "TTY Box"
|
161
|
+
- "Tty Color": "TTY Color"
|
162
|
+
- "Tty Command": "TTY Command"
|
163
|
+
- "Tty Config": "TTY Config"
|
164
|
+
- "Tty Cursor": "TTY Cursor"
|
165
|
+
- "Tty Editor": "TTY Editor"
|
166
|
+
- "Tty File": "TTY File"
|
167
|
+
- "Tty Font": "TTY Font"
|
168
|
+
- "Tty Link": "TTY Link"
|
169
|
+
- "Tty Logger": "TTY Logger"
|
170
|
+
- "Tty Markdown": "TTY Markdown"
|
171
|
+
- "Tty Option": "TTY Option"
|
172
|
+
- "Tty Pager": "TTY Pager"
|
173
|
+
- "Tty Pie": "TTY Pie"
|
174
|
+
- "Tty Platform": "TTY Platform"
|
175
|
+
- "Tty Progressbar": "TTY ProgressBar"
|
176
|
+
- "Tty Prompt": "TTY Prompt"
|
177
|
+
- "Tty Reader": "TTY Reader"
|
178
|
+
- "Tty Screen": "TTY Screen"
|
179
|
+
- "Tty Spinner": "TTY Spinner"
|
180
|
+
- "Tty Table": "TTY Table"
|
181
|
+
- "Tty Tree": "TTY Tree"
|
182
|
+
- "Tty Which": "TTY Which"
|
148
183
|
- "Xdg": "XDG"
|
149
184
|
:git_hub:
|
150
185
|
:api_url: "https://api.github.com"
|
@@ -163,7 +198,7 @@ Feel free to take this default configuration, modify, and save as your own custo
|
|
163
198
|
|
164
199
|
=== Themes
|
165
200
|
|
166
|
-
image:https://www.alchemists.io/images/projects/pennyworth/screenshots/alchemists-theme.png[Alchemists Theme,width=
|
201
|
+
image:https://www.alchemists.io/images/projects/pennyworth/screenshots/alchemists-theme.png[Alchemists Theme,width=706,height=632,role=focal_point]
|
167
202
|
|
168
203
|
The above is shared as the link:https://www.alfredapp.com/extras/theme/FSz9kjN1wX[Alchemists Alfred
|
169
204
|
Theme] which can be
|
@@ -172,8 +207,8 @@ directly].
|
|
172
207
|
|
173
208
|
=== Workflows
|
174
209
|
|
175
|
-
Not all workflows require Pennyworth to run properly
|
176
|
-
support, the following assumptions are made:
|
210
|
+
Not all workflows require Pennyworth to run properly (see the _Other_ section below for details).
|
211
|
+
For the workflows that _do_ require Pennyworth support, the following assumptions are made:
|
177
212
|
|
178
213
|
1. Your link:https://www.alchemists.io/projects/dotfiles[Dotfiles] are configured to use
|
179
214
|
link:https://www.gnu.org/software/bash[Bash] and load your environment appropriately. Bash is not
|
@@ -181,6 +216,8 @@ support, the following assumptions are made:
|
|
181
216
|
Alfred to load your development environment before running the Alfred Workflow.
|
182
217
|
2. You have the latest version of Alfred, Ruby, and Pennyworth installed.
|
183
218
|
3. You are using a Ruby version manager, like {frum_link}, which ensures Ruby is on your load path.
|
219
|
+
As mentioned in the _Requirements_ section above, this is not a hard requirement so if you have
|
220
|
+
the correct version of Ruby required by this gem on your path, that'll work too.
|
184
221
|
|
185
222
|
With the above requirements in mind, the following sections document how to download and install all
|
186
223
|
Pennyworth workflows that are compatible with Alfred. Should you want to tweak any of these
|
@@ -219,7 +256,7 @@ A link:https://dry-rb.org[Dry RB] workflow for navigating all of the Dry RB site
|
|
219
256
|
|
220
257
|
1. link:https://www.alchemists.io/public/aflred/workflows/dry.alfredworkflow[Download] and double
|
221
258
|
click to install.
|
222
|
-
2. Type `dry` to activate.
|
259
|
+
2. Type `dry` to activate general information and `dryx` for project list.
|
223
260
|
|
224
261
|
💡 Use `ENTER` to visit site, `CONTROL` to view changes, `OPTION` to view source, or `COMMAND` to
|
225
262
|
view issues.
|
@@ -264,6 +301,14 @@ use in your own code.
|
|
264
301
|
Type `encodings` to activate. Use `ENTER` to copy label or `OPTION` to copy associated aliases to
|
265
302
|
clipboard.
|
266
303
|
|
304
|
+
===== Gems
|
305
|
+
|
306
|
+
image:https://www.alchemists.io/images/projects/pennyworth/screenshots/ruby-gems.png[Gems,width=706,height=362,role=focal_point]
|
307
|
+
|
308
|
+
Provides access to the RubyGems ecosystem.
|
309
|
+
|
310
|
+
Type `gems` to activate. Use the arrow keys to navigate options and `ENTER` to use.
|
311
|
+
|
267
312
|
===== Hex
|
268
313
|
|
269
314
|
image:https://www.alchemists.io/images/projects/pennyworth/screenshots/ruby-hex.png[Hex,width=706,height=200,role=focal_point]
|
@@ -341,7 +386,7 @@ image:https://www.alchemists.io/images/projects/pennyworth/screenshots/ruby-text
|
|
341
386
|
This keyword is for is for basic text manipulation. Supply a string, phrase, or sentence and let
|
342
387
|
Pennyworth calculate all transformations and information you might need.
|
343
388
|
|
344
|
-
Type `text` to activate plus
|
389
|
+
Type `text` to activate plus any string or phrase to transform. Use `ENTER` to copy text to
|
345
390
|
clipboard.
|
346
391
|
|
347
392
|
===== UUID
|
@@ -365,35 +410,129 @@ by macOS.
|
|
365
410
|
==== Other
|
366
411
|
|
367
412
|
The following workflows don't require Pennyworth support but are provided for convenience in case
|
368
|
-
they are of interest/aid to your own productivity.
|
369
|
-
|
370
|
-
|
371
|
-
|
372
|
-
|
373
|
-
|
374
|
-
|
375
|
-
|
376
|
-
|
377
|
-
|
378
|
-
|
379
|
-
|
380
|
-
|
381
|
-
|
382
|
-
|
383
|
-
|
384
|
-
|
385
|
-
|
386
|
-
|
387
|
-
|
388
|
-
|
389
|
-
|
390
|
-
|
391
|
-
|
392
|
-
|
393
|
-
|
394
|
-
|
395
|
-
|
396
|
-
|
413
|
+
they are of interest/aid to your own productivity.
|
414
|
+
|
415
|
+
===== Acronyms
|
416
|
+
|
417
|
+
Expands acronyms so you can think and type in terms of an acronym but appear as if you typed out the
|
418
|
+
full definition each time.
|
419
|
+
|
420
|
+
1. link:https://www.alchemists.io/public/aflred/workflows/acronyms.alfredworkflow[Download] and
|
421
|
+
double click to install.
|
422
|
+
2. Use any of the macros provided by the workflow to expand acronyms for legibility.
|
423
|
+
|
424
|
+
===== Alpine
|
425
|
+
|
426
|
+
image:https://www.alchemists.io/images/projects/pennyworth/screenshots/alpine.png[Alpine Linux workflow screenshot.,width=706,height=632,role=focal_point]
|
427
|
+
|
428
|
+
Provides link:https://www.alpinelinux.org[Alpine Linux] resources.
|
429
|
+
|
430
|
+
1. link:https://www.alchemists.io/public/aflred/workflows/alpine.alfredworkflow[Download] and double
|
431
|
+
click to install.
|
432
|
+
2. Type `al` to activate.
|
433
|
+
|
434
|
+
===== Applications
|
435
|
+
|
436
|
+
image:https://www.alchemists.io/images/projects/pennyworth/screenshots/applications.png[Applications workflow screenshot.,width=706,height=362,role=focal_point]
|
437
|
+
|
438
|
+
Launches development environment but can be tweaked for your preferences. Using Alfred in this
|
439
|
+
manner ensures your machine boots or restarts quickly and gives you more control over what is
|
440
|
+
launched.
|
441
|
+
|
442
|
+
1. link:https://www.alchemists.io/public/aflred/workflows/applications.alfredworkflow[Download] and
|
443
|
+
double click to install.
|
444
|
+
2. Type `work` to activate.
|
445
|
+
|
446
|
+
===== Browsers
|
447
|
+
|
448
|
+
image:https://www.alchemists.io/images/projects/pennyworth/screenshots/browsers.png[Browsers workflow screenshot.,width=706,height=470,role=focal_point]
|
449
|
+
|
450
|
+
Provides browser related utilities.
|
451
|
+
|
452
|
+
1. link:https://www.alchemists.io/public/aflred/workflows/browsers.alfredworkflow[Download] and
|
453
|
+
double click to install.
|
454
|
+
2. Type `open` to activate.
|
455
|
+
|
456
|
+
===== Bundler
|
457
|
+
|
458
|
+
image:https://www.alchemists.io/images/projects/pennyworth/screenshots/bundler.png[Bundler workflow screenshot.,width=706,height=524,role=focal_point]
|
459
|
+
|
460
|
+
Provides quick access to link:https://bundler.io[Bundler] related resources.
|
461
|
+
|
462
|
+
1. link:https://www.alchemists.io/public/aflred/workflows/bundler.alfredworkflow[Download] and
|
463
|
+
double click to install.
|
464
|
+
2. Type `bundler` to activate.
|
465
|
+
|
466
|
+
===== Elm
|
467
|
+
|
468
|
+
image:https://www.alchemists.io/images/projects/pennyworth/screenshots/elm.png[Elm workflow screenshot.,width=706,height=470,role=focal_point]
|
469
|
+
|
470
|
+
A link:https://elm-lang.org[Elm] workflow for quick access to Elm resources.
|
471
|
+
|
472
|
+
1. link:https://www.alchemists.io/public/aflred/workflows/elm.alfredworkflow[Download] and double
|
473
|
+
click to install.
|
474
|
+
2. Type `elm` to view general information, arrow keys to navigate, and `ENTER` to view information.
|
475
|
+
|
476
|
+
===== Hanami
|
477
|
+
|
478
|
+
image:https://www.alchemists.io/images/projects/pennyworth/screenshots/hanami.png[Hanami workflow screenshot.,width=706,height=632,role=focal_point]
|
479
|
+
|
480
|
+
Provides link:https://hanamirb.org[Hanami] resources.
|
481
|
+
|
482
|
+
1. link:https://www.alchemists.io/public/aflred/workflows/hanami.alfredworkflow[Download] and
|
483
|
+
double click to install.
|
484
|
+
2. Type `h` to activate.
|
485
|
+
|
486
|
+
===== chi.li
|
487
|
+
|
488
|
+
image:https://www.alchemists.io/images/projects/pennyworth/screenshots/chili.png[chi.li workflow screenshot.,width=706,height=200,role=focal_point]
|
489
|
+
|
490
|
+
Shortens URLs using link:https://chl.li[chl.li].
|
491
|
+
|
492
|
+
1. link:https://www.alchemists.io/public/aflred/workflows/chlli.alfredworkflow[Download] and
|
493
|
+
double click to install.
|
494
|
+
2. Type `surl` to activate.
|
495
|
+
|
496
|
+
===== Docker
|
497
|
+
|
498
|
+
image:https://www.alchemists.io/images/projects/pennyworth/screenshots/docker.png[Docker workflow screenshot.,width=706,height=524,role=focal_point]
|
499
|
+
|
500
|
+
Provides link:https://www.docker.com[Docker] resources.
|
501
|
+
|
502
|
+
1. link:https://www.alchemists.io/public/aflred/workflows/docker.alfredworkflow[Download] and
|
503
|
+
double click to install.
|
504
|
+
2. Type `dr` to activate.
|
505
|
+
|
506
|
+
===== macOS
|
507
|
+
|
508
|
+
Provides macOS utilities.
|
509
|
+
|
510
|
+
1. link:https://www.alchemists.io/public/aflred/workflows/mac_os.alfredworkflow[Download] and
|
511
|
+
double click to install.
|
512
|
+
2. Open the workflow to see all available keywords.
|
513
|
+
|
514
|
+
===== Terraform
|
515
|
+
|
516
|
+
image:https://www.alchemists.io/images/projects/pennyworth/screenshots/terraform.png[Terraform workflow screenshot.,width=706,height=632,role=focal_point]
|
517
|
+
|
518
|
+
Provides link:https://www.terraform.io[Terraform] resources.
|
519
|
+
|
520
|
+
1. link:https://www.alchemists.io/public/aflred/workflows/terraform.alfredworkflow[Download] and
|
521
|
+
double click to install.
|
522
|
+
2. Type `tf` to activate.
|
523
|
+
|
524
|
+
===== Text
|
525
|
+
|
526
|
+
Provides general text manipulation utilities beyond the Pennyworth powered _text_ keyword (mentioned
|
527
|
+
earlier).
|
528
|
+
|
529
|
+
1. link:https://www.alchemists.io/public/aflred/workflows/text.alfredworkflow[Download] and
|
530
|
+
double click to install.
|
531
|
+
2. Use any of the following global hotkeys to activate:
|
532
|
+
** `CONTROL + OPTION + COMMAND + o` - Open selected URL in default browser.
|
533
|
+
** `CONTROL + OPTION + COMMAND + d` - View selected word in macOS dictionary.
|
534
|
+
** `CONTROL + OPTION + COMMAND + t` - View selected text as Large Type.
|
535
|
+
** `CONTROL + OPTION + COMMAND + h` - Syntax highlight selected code.
|
397
536
|
|
398
537
|
== Architecture
|
399
538
|
|
@@ -12,6 +12,29 @@
|
|
12
12
|
- "Rubocop Ast": "Rubocop AST"
|
13
13
|
- "Rubocop Md": "Rubocop Markdown"
|
14
14
|
- "Rubocop Rspec": "Rubocop RSpec"
|
15
|
+
- "Tty Box": "TTY Box"
|
16
|
+
- "Tty Color": "TTY Color"
|
17
|
+
- "Tty Command": "TTY Command"
|
18
|
+
- "Tty Config": "TTY Config"
|
19
|
+
- "Tty Cursor": "TTY Cursor"
|
20
|
+
- "Tty Editor": "TTY Editor"
|
21
|
+
- "Tty File": "TTY File"
|
22
|
+
- "Tty Font": "TTY Font"
|
23
|
+
- "Tty Link": "TTY Link"
|
24
|
+
- "Tty Logger": "TTY Logger"
|
25
|
+
- "Tty Markdown": "TTY Markdown"
|
26
|
+
- "Tty Option": "TTY Option"
|
27
|
+
- "Tty Pager": "TTY Pager"
|
28
|
+
- "Tty Pie": "TTY Pie"
|
29
|
+
- "Tty Platform": "TTY Platform"
|
30
|
+
- "Tty Progressbar": "TTY ProgressBar"
|
31
|
+
- "Tty Prompt": "TTY Prompt"
|
32
|
+
- "Tty Reader": "TTY Reader"
|
33
|
+
- "Tty Screen": "TTY Screen"
|
34
|
+
- "Tty Spinner": "TTY Spinner"
|
35
|
+
- "Tty Table": "TTY Table"
|
36
|
+
- "Tty Tree": "TTY Tree"
|
37
|
+
- "Tty Which": "TTY Which"
|
15
38
|
- "Xdg": "XDG"
|
16
39
|
:git_hub:
|
17
40
|
:api_url: "https://api.github.com"
|
data/lib/pennyworth/identity.rb
CHANGED
@@ -6,7 +6,7 @@ module Pennyworth
|
|
6
6
|
NAME = "pennyworth"
|
7
7
|
LABEL = "Pennyworth"
|
8
8
|
SUMMARY = "A command line interface that augments Alfred workflows."
|
9
|
-
VERSION = "11.
|
10
|
-
VERSION_LABEL = "#{LABEL} #{VERSION}"
|
9
|
+
VERSION = "11.2.1"
|
10
|
+
VERSION_LABEL = "#{LABEL} #{VERSION}".freeze
|
11
11
|
end
|
12
12
|
end
|
data/lib/pennyworth.rb
CHANGED
@@ -2,11 +2,12 @@
|
|
2
2
|
|
3
3
|
require "zeitwerk"
|
4
4
|
|
5
|
-
|
6
|
-
loader.inflector.inflect "cli" => "CLI",
|
7
|
-
|
8
|
-
|
9
|
-
loader.setup
|
5
|
+
Zeitwerk::Loader.for_gem.then do |loader|
|
6
|
+
loader.inflector.inflect "cli" => "CLI",
|
7
|
+
"http_status" => "HTTPStatus",
|
8
|
+
"http_statuses" => "HTTPStatuses"
|
9
|
+
loader.setup
|
10
|
+
end
|
10
11
|
|
11
12
|
# Main namespace.
|
12
13
|
module Pennyworth
|
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: 11.
|
4
|
+
version: 11.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Brooke Kuhlmann
|
@@ -28,7 +28,7 @@ cert_chain:
|
|
28
28
|
lkHilIrX69jq8wMPpBhlaw2mRmeSL50Wv5u6xVBvOHhXFSP1crXM95vfLhLyRYod
|
29
29
|
W2A=
|
30
30
|
-----END CERTIFICATE-----
|
31
|
-
date: 2021-
|
31
|
+
date: 2021-10-21 00:00:00.000000000 Z
|
32
32
|
dependencies:
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: dry-container
|
@@ -92,14 +92,14 @@ dependencies:
|
|
92
92
|
requirements:
|
93
93
|
- - "~>"
|
94
94
|
- !ruby/object:Gem::Version
|
95
|
-
version: '8.
|
95
|
+
version: '8.5'
|
96
96
|
type: :runtime
|
97
97
|
prerelease: false
|
98
98
|
version_requirements: !ruby/object:Gem::Requirement
|
99
99
|
requirements:
|
100
100
|
- - "~>"
|
101
101
|
- !ruby/object:Gem::Version
|
102
|
-
version: '8.
|
102
|
+
version: '8.5'
|
103
103
|
- !ruby/object:Gem::Dependency
|
104
104
|
name: runcom
|
105
105
|
requirement: !ruby/object:Gem::Requirement
|
@@ -120,14 +120,14 @@ dependencies:
|
|
120
120
|
requirements:
|
121
121
|
- - "~>"
|
122
122
|
- !ruby/object:Gem::Version
|
123
|
-
version: '2.
|
123
|
+
version: '2.5'
|
124
124
|
type: :runtime
|
125
125
|
prerelease: false
|
126
126
|
version_requirements: !ruby/object:Gem::Requirement
|
127
127
|
requirements:
|
128
128
|
- - "~>"
|
129
129
|
- !ruby/object:Gem::Version
|
130
|
-
version: '2.
|
130
|
+
version: '2.5'
|
131
131
|
description:
|
132
132
|
email:
|
133
133
|
- brooke@alchemists.io
|
@@ -213,7 +213,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
213
213
|
- !ruby/object:Gem::Version
|
214
214
|
version: '0'
|
215
215
|
requirements: []
|
216
|
-
rubygems_version: 3.2.
|
216
|
+
rubygems_version: 3.2.29
|
217
217
|
signing_key:
|
218
218
|
specification_version: 4
|
219
219
|
summary: A command line interface that augments Alfred workflows.
|
metadata.gz.sig
CHANGED
Binary file
|