pennyworth 11.0.1 → 11.1.3
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 +66 -15
- data/lib/pennyworth/cli/configuration/defaults.yml +23 -0
- data/lib/pennyworth/cli/shell.rb +0 -1
- data/lib/pennyworth/identity.rb +2 -2
- data/lib/pennyworth/presenters/gem.rb +1 -1
- data.tar.gz.sig +0 -0
- metadata +5 -5
- 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: b5ca5cae94ed3549fb6296ddd44bc79f00f9107f7e317934f36722236531d1b6
|
4
|
+
data.tar.gz: fffac7c9eaefc9ce8dd2fbffd65fa92dfc8ecbb88e1d4afa3313cc58e5c6655d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d9d5486017dcf52d200c0f785e2871b1e31cdf15e537a60db9521dc6b5a8b9ea59bd8edaa18aad629193e21c90fdb28166753c7c4f8de725d826e250fd016c3f
|
7
|
+
data.tar.gz: 9bedbf79859a05f6c5613c2c9e67c7b343b62b33d5044dde3a21e5c93492571248ee7a7f65d4f0a6b69023a610df1ae453bafb9fa9c03093baa189545f51a68a
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data/README.adoc
CHANGED
@@ -2,6 +2,8 @@
|
|
2
2
|
:toclevels: 5
|
3
3
|
:figure-caption!:
|
4
4
|
|
5
|
+
:frum_link: link:https://github.com/tako8ki/frum[Frum]
|
6
|
+
|
5
7
|
= Pennyworth
|
6
8
|
|
7
9
|
[link=http://badge.fury.io/rb/pennyworth]
|
@@ -11,9 +13,10 @@ image::https://img.shields.io/badge/code_style-alchemists-brightgreen.svg[Alchem
|
|
11
13
|
[link=https://circleci.com/gh/bkuhlmann/pennyworth]
|
12
14
|
image::https://circleci.com/gh/bkuhlmann/pennyworth.svg?style=svg[Circle CI Status]
|
13
15
|
|
14
|
-
|
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 based workflows Alfred provides by default.
|
17
20
|
|
18
21
|
toc::[]
|
19
22
|
|
@@ -25,7 +28,7 @@ toc::[]
|
|
25
28
|
|
26
29
|
== Screencast
|
27
30
|
|
28
|
-
video::https://www.alchemists.io/videos/projects/pennyworth/demo.mp4[poster=https://www.alchemists.io/images/projects/pennyworth/demo.png,width=
|
31
|
+
video::https://www.alchemists.io/videos/projects/pennyworth/demo.mp4[poster=https://www.alchemists.io/images/projects/pennyworth/demo.png,width=700,height=636,role=focal_point]
|
29
32
|
|
30
33
|
== Requirements
|
31
34
|
|
@@ -33,7 +36,7 @@ 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
|
-
.
|
39
|
+
. {frum_link}
|
37
40
|
. link:https://www.ruby-lang.org[Ruby]
|
38
41
|
|
39
42
|
== Setup
|
@@ -145,6 +148,29 @@ The default configuration is as follows:
|
|
145
148
|
- "Rubocop Ast": "Rubocop AST"
|
146
149
|
- "Rubocop Md": "Rubocop Markdown"
|
147
150
|
- "Rubocop Rspec": "Rubocop RSpec"
|
151
|
+
- "Tty Box": "TTY Box"
|
152
|
+
- "Tty Color": "TTY Color"
|
153
|
+
- "Tty Command": "TTY Command"
|
154
|
+
- "Tty Config": "TTY Config"
|
155
|
+
- "Tty Cursor": "TTY Cursor"
|
156
|
+
- "Tty Editor": "TTY Editor"
|
157
|
+
- "Tty File": "TTY File"
|
158
|
+
- "Tty Font": "TTY Font"
|
159
|
+
- "Tty Link": "TTY Link"
|
160
|
+
- "Tty Logger": "TTY Logger"
|
161
|
+
- "Tty Markdown": "TTY Markdown"
|
162
|
+
- "Tty Option": "TTY Option"
|
163
|
+
- "Tty Pager": "TTY Pager"
|
164
|
+
- "Tty Pie": "TTY Pie"
|
165
|
+
- "Tty Platform": "TTY Platform"
|
166
|
+
- "Tty Progressbar": "TTY ProgressBar"
|
167
|
+
- "Tty Prompt": "TTY Prompt"
|
168
|
+
- "Tty Reader": "TTY Reader"
|
169
|
+
- "Tty Screen": "TTY Screen"
|
170
|
+
- "Tty Spinner": "TTY Spinner"
|
171
|
+
- "Tty Table": "TTY Table"
|
172
|
+
- "Tty Tree": "TTY Tree"
|
173
|
+
- "Tty Which": "TTY Which"
|
148
174
|
- "Xdg": "XDG"
|
149
175
|
:git_hub:
|
150
176
|
:api_url: "https://api.github.com"
|
@@ -180,8 +206,7 @@ support, the following assumptions are made:
|
|
180
206
|
a hard requirement, though. You can use _any shell_ you are comfortable with as long as you teach
|
181
207
|
Alfred to load your development environment before running the Alfred Workflow.
|
182
208
|
2. You have the latest version of Alfred, Ruby, and Pennyworth installed.
|
183
|
-
3. You are using a Ruby version manager, like
|
184
|
-
which ensures Ruby is on your load path.
|
209
|
+
3. You are using a Ruby version manager, like {frum_link}, which ensures Ruby is on your load path.
|
185
210
|
|
186
211
|
With the above requirements in mind, the following sections document how to download and install all
|
187
212
|
Pennyworth workflows that are compatible with Alfred. Should you want to tweak any of these
|
@@ -220,7 +245,7 @@ A link:https://dry-rb.org[Dry RB] workflow for navigating all of the Dry RB site
|
|
220
245
|
|
221
246
|
1. link:https://www.alchemists.io/public/aflred/workflows/dry.alfredworkflow[Download] and double
|
222
247
|
click to install.
|
223
|
-
2. Type `dry` to activate.
|
248
|
+
2. Type `dry` to activate general information and `dryx` for project list.
|
224
249
|
|
225
250
|
💡 Use `ENTER` to visit site, `CONTROL` to view changes, `OPTION` to view source, or `COMMAND` to
|
226
251
|
view issues.
|
@@ -287,9 +312,18 @@ link:https://en.wikipedia.org/wiki/List_of_HTTP_status_codes#Unofficial_codes[un
|
|
287
312
|
Type `https` to activate. Use `ENTER` to copy symbol, `CONTROL` to copy code, `OPTION` to copy
|
288
313
|
label, or `COMMAND` to view documentation.
|
289
314
|
|
315
|
+
===== Links
|
316
|
+
|
317
|
+
image:https://www.alchemists.io/images/projects/pennyworth/screenshots/ruby-links.png[Links,width=706,height=632,role=focal_point]
|
318
|
+
|
319
|
+
This keyword allows you to navigate to additional Ruby related information and resources.
|
320
|
+
|
321
|
+
Type `rb` plus `SPACE` to activate, then fuzzy type to filter the list to what you are looking for,
|
322
|
+
and hit `ENTER` to visit the link in your default browser.
|
323
|
+
|
290
324
|
===== Number
|
291
325
|
|
292
|
-
image:https://www.alchemists.io/images/projects/pennyworth/screenshots/ruby-number.png[
|
326
|
+
image:https://www.alchemists.io/images/projects/pennyworth/screenshots/ruby-number.png[Number,width=706,height=200,role=focal_point]
|
293
327
|
|
294
328
|
This keyword allows you to generate a random number.
|
295
329
|
|
@@ -298,7 +332,7 @@ length.
|
|
298
332
|
|
299
333
|
===== Repeat
|
300
334
|
|
301
|
-
image:https://www.alchemists.io/images/projects/pennyworth/screenshots/ruby-repeat.png[
|
335
|
+
image:https://www.alchemists.io/images/projects/pennyworth/screenshots/ruby-repeat.png[Repeat,width=706,height=200,role=focal_point]
|
302
336
|
|
303
337
|
This keyword allows you to generate a repeating sequence of the same character(s).
|
304
338
|
|
@@ -333,17 +367,27 @@ image:https://www.alchemists.io/images/projects/pennyworth/screenshots/ruby-text
|
|
333
367
|
This keyword is for is for basic text manipulation. Supply a string, phrase, or sentence and let
|
334
368
|
Pennyworth calculate all transformations and information you might need.
|
335
369
|
|
336
|
-
Type `text` to activate plus
|
370
|
+
Type `text` to activate plus any string or phrase to transform. Use `ENTER` to copy text to
|
337
371
|
clipboard.
|
338
372
|
|
339
373
|
===== UUID
|
340
374
|
|
341
|
-
image:https://www.alchemists.io/images/projects/pennyworth/screenshots/ruby-uuid.png[
|
375
|
+
image:https://www.alchemists.io/images/projects/pennyworth/screenshots/ruby-uuid.png[UUID,width=706,height=200,role=focal_point]
|
342
376
|
|
343
377
|
This keyword allows you to generate a random Universally Unique IDentifier (UUID).
|
344
378
|
|
345
379
|
Type `uuid` to activate and `ENTER` generate.
|
346
380
|
|
381
|
+
===== Version
|
382
|
+
|
383
|
+
image:https://www.alchemists.io/images/projects/pennyworth/screenshots/ruby-version.png[Version,width=706,height=254,role=focal_point]
|
384
|
+
|
385
|
+
This keyword allows you obtain Ruby version information.
|
386
|
+
|
387
|
+
Type `version` to activate and `ENTER` generate. Optionally, you can press `OPTION` when selected to
|
388
|
+
answer the Ruby version used by Alfred since Alfred defaults to using whatever version is supplied
|
389
|
+
by macOS.
|
390
|
+
|
347
391
|
==== Other
|
348
392
|
|
349
393
|
The following workflows don't require Pennyworth support but are provided for convenience in case
|
@@ -361,10 +405,12 @@ to install:
|
|
361
405
|
launched.
|
362
406
|
* link:https://www.alchemists.io/public/aflred/workflows/browsers.alfredworkflow[Browsers] -
|
363
407
|
Provides browser related utilities.
|
408
|
+
* link:https://www.alchemists.io/public/aflred/workflows/bundler.alfredworkflow[Bundler] - Provides
|
409
|
+
quick access to link:https://bundler.io[Bundler] related resources.
|
364
410
|
* link:https://www.alchemists.io/public/aflred/workflows/hanami.alfredworkflow[Hanami] - Provides
|
365
411
|
link:https://hanamirb.org[Hanami] resources.
|
366
412
|
* link:https://www.alchemists.io/public/aflred/workflows/chlli.alfredworkflow[chi.li] - Shortens
|
367
|
-
URLs.
|
413
|
+
URLs using link:https://chl.li[chl.li].
|
368
414
|
* link:https://www.alchemists.io/public/aflred/workflows/docker.alfredworkflow[Docker] - Provides
|
369
415
|
link:https://www.docker.com[Docker] resources.
|
370
416
|
* link:https://www.alchemists.io/public/aflred/workflows/mac_os.alfredworkflow[macOS] - Provides
|
@@ -375,12 +421,17 @@ to install:
|
|
375
421
|
general text manipulation utilities beyond the Pennyworth powered _text_ keyword (mentioned
|
376
422
|
earlier).
|
377
423
|
|
424
|
+
== Architecture
|
425
|
+
|
426
|
+
The following documents the workfow used to process all actions from Alfred.
|
427
|
+
|
428
|
+
image::https://www.alchemists.io/images/projects/pennyworth/doc/architecture.svg[Architecture Diagram]
|
429
|
+
|
378
430
|
== Troubleshooting
|
379
431
|
|
380
432
|
* link:https://github.com/ruby/psych[Psych] 4.0.0 has a
|
381
433
|
link:https://github.com/ruby/psych/issues/490[bug] which prevents loading of YAML configurations
|
382
|
-
that use symbols as keys. If you get caught by this,
|
383
|
-
instead.
|
434
|
+
that use symbols as keys. If you get caught by this, please upgrade to Psych 4.0.1 for the fix.
|
384
435
|
* When your Alfred Workflow yields no output, you might want to open the
|
385
436
|
link:https://www.alfredapp.com/help/workflows/utilities/debug[Alfred Debugger], rerun your
|
386
437
|
workflow, and check for errors. You can also jump to the CLI and run Pennyworth directly.
|
@@ -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/cli/shell.rb
CHANGED
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.1.3"
|
10
|
+
VERSION_LABEL = "#{LABEL} #{VERSION}".freeze
|
11
11
|
end
|
12
12
|
end
|
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.1.3
|
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-06
|
31
|
+
date: 2021-09-06 00:00:00.000000000 Z
|
32
32
|
dependencies:
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: dry-container
|
@@ -36,14 +36,14 @@ dependencies:
|
|
36
36
|
requirements:
|
37
37
|
- - "~>"
|
38
38
|
- !ruby/object:Gem::Version
|
39
|
-
version: '0.
|
39
|
+
version: '0.8'
|
40
40
|
type: :runtime
|
41
41
|
prerelease: false
|
42
42
|
version_requirements: !ruby/object:Gem::Requirement
|
43
43
|
requirements:
|
44
44
|
- - "~>"
|
45
45
|
- !ruby/object:Gem::Version
|
46
|
-
version: '0.
|
46
|
+
version: '0.8'
|
47
47
|
- !ruby/object:Gem::Dependency
|
48
48
|
name: http
|
49
49
|
requirement: !ruby/object:Gem::Requirement
|
@@ -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.27
|
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
|