pennyworth 13.2.0 → 13.5.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: b3cebd285e4000aba774c716d9bc944fb6a836bf55170f0c33d9395497934f53
4
- data.tar.gz: 8c5a01d3f6c905f48a87a1b8a493d8c6c5a3e1acf6a8ac9bfb4dec3bd6852b63
3
+ metadata.gz: 64bd73512d764d2120bf1305eb76f39af603dfe17a080eb71cb86b04ea658486
4
+ data.tar.gz: 484adaa563add99da0406490c4439fabc8c109339704d2caa857fe0f67448428
5
5
  SHA512:
6
- metadata.gz: 6ec8f05dc8a522a668727544ae256c206479c9fb6066b93823f47a5c07d64fb83955377da0ee6bc5c487e173d3b86ecd9680a034efb1f90427df3fe3bf42f21e
7
- data.tar.gz: 932346b9d5607c23daa7baf0fcb85bc7bc5e8afd4c4aed24d3f7dd5162ef795ff402fa83dd79c78ae75e1710c94efdd638fa49590eeab3f56fb648e021e30207
6
+ metadata.gz: e8917108db9c4d24c020fb8d1ea0ebf9f54b5e034d9bc8d1233cab44dfddb7d82d5db38c9a331c0c8b1e494cef8d7eba8ae7a2c234e363ddf5522d5cd4143795
7
+ data.tar.gz: b5046a86c01d01cda85b29a3a3f4cde8831f78ac7711c788a21289407efe8cbb75900c7a8aa8ca3eb8f236eb9847d42e1e0c05f751967b0e6a948fc574299a9a
checksums.yaml.gz.sig CHANGED
Binary file
data/README.adoc CHANGED
@@ -2,13 +2,14 @@
2
2
  :toclevels: 5
3
3
  :figure-caption!:
4
4
 
5
- :frum_link: link:https://github.com/tako8ki/frum[Frum]
5
+ :bash_link: link:https://www.gnu.org/software/bash[Bash]
6
+ :ruby_version_managers_link: link:https://www.alchemists.io/articles/ruby_version_managers[Ruby Version Manager]
6
7
 
7
8
  = Pennyworth
8
9
 
9
10
  Pennyworth is a command line interface and the perfect companion to
10
11
  link:https://www.alfredapp.com[Alfred]. With Pennyworth, you can unlock the full potential of the
11
- Ruby language by leveraging modern versions of Ruby through Alfred Workflows. Perfect for when you
12
+ Ruby language by leveraging a modern version of Ruby through Alfred Workflows. Perfect for when you
12
13
  want to advance beyond the basic workflows Alfred provides by default.
13
14
 
14
15
  toc::[]
@@ -21,25 +22,19 @@ toc::[]
21
22
 
22
23
  == Screencast
23
24
 
24
- 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]
25
+ video::https://www.alchemists.io/videos/projects/pennyworth/demo.mp4[poster=https://www.alchemists.io/images/projects/pennyworth/demo.png,width=706,height=632,role=focal_point]
25
26
 
26
27
  == Requirements
27
28
 
28
29
  . link:https://www.apple.com/macos[macOS]
29
- . link:https://www.gnu.org/software/bash[Bash]
30
+ . {bash_link}
30
31
  . link:https://www.alfredapp.com[Alfred]
31
32
  . link:https://www.alfredapp.com/purchase[Alfred Powerpack]
32
33
  . link:https://www.ruby-lang.org[Ruby]
33
34
 
34
- While using a Ruby version manager -- like {frum_link} -- is not a hard requirement, it is strongly
35
- encouraged since a version manager will give you the freedom to toggle between different Ruby
36
- versions since this gem has strict Ruby version requirements (especially in regards to using a
37
- modern version of Ruby).
35
+ While using a {ruby_version_managers_link} is not a hard requirement, it is strongly encouraged since a version manager will give you the freedom to toggle between different Ruby versions since this gem has strict Ruby version requirements (especially in regards to using a modern version of Ruby).
38
36
 
39
- I would also like to point out that all of the workflows, scripts, examples for this gem use Bash
40
- syntax. That said, if you are comfortable with translating Bash syntax to your shell syntax of
41
- choice, you can make this gem work in different shells too. That is beyond the scope of this
42
- document, though, so leave that exercise up to you.
37
+ All of the workflows, scripts, examples for this gem use {bash_link} syntax. That said, if you are comfortable with translating Bash syntax to your shell syntax of choice, you can make this gem work in different shells too. That is beyond the scope of this document, though, so leave that exercise up to you.
43
38
 
44
39
  == Setup
45
40
 
@@ -75,6 +70,8 @@ with others.
75
70
  From the command line, type `pennyworth` to view usage:
76
71
 
77
72
  ....
73
+ Pennyworth - A command line interface that augments Alfred workflows.
74
+
78
75
  USAGE:
79
76
  -c, --config ACTION Manage gem configuration. Actions: edit || view.
80
77
  --encodings Render Alfred encodings script filter.
@@ -82,6 +79,7 @@ USAGE:
82
79
  -h, --help Show this message.
83
80
  --http_statuses Render Alfred HTTP statuses script filter.
84
81
  --ruby_gems Render Alfred RubyGems script filter.
82
+ --standard_errors Render Alfred standard errors script filter.
85
83
  --system_errors Render Alfred system errors script filter.
86
84
  --system_signals Render Alfred system signals script filter.
87
85
  --text CONTENT Render Alfred text script filter.
@@ -109,6 +107,7 @@ pennyworth --git_hub --user bkuhlmann
109
107
 
110
108
  pennyworth --http_statuses
111
109
  pennyworth --ruby_gems --owner bkuhlmann
110
+ pennyworth --standard_errors
112
111
  pennyworth --system_errors
113
112
  pennyworth --system_signals
114
113
 
@@ -144,8 +143,10 @@ The default configuration is as follows:
144
143
  - "Dry Cli": "Dry CLI"
145
144
  - "Flacsmith": "FLACsmith"
146
145
  - "Git Plus": "Git+"
146
+ - "Http Fake": "HTTP Fake"
147
147
  - "Mac Os Config": "macOS Configuration"
148
148
  - "Mac Os": "MacOS"
149
+ - "Pkce": "PKCE"
149
150
  - "Prawn Plus": "Prawn+"
150
151
  - "Rubocop Ast": "Rubocop AST"
151
152
  - "Rubocop Md": "Rubocop Markdown"
@@ -180,7 +181,7 @@ The default configuration is as follows:
180
181
  :user:
181
182
  :http:
182
183
  :statuses:
183
- :url: "https://httpstatuses.com"
184
+ :url: "https://developer.mozilla.org/docs/Web/HTTP/Status"
184
185
  :ruby_gems:
185
186
  :api_url: "https://rubygems.org/api/v1"
186
187
  :owner:
@@ -203,14 +204,9 @@ directly].
203
204
  Not all workflows require Pennyworth to run properly (see the _Other_ section below for details).
204
205
  For the workflows that _do_ require Pennyworth support, the following assumptions are made:
205
206
 
206
- 1. Your link:https://www.alchemists.io/projects/dotfiles[Dotfiles] are configured to use
207
- link:https://www.gnu.org/software/bash[Bash] and load your environment appropriately. Bash is not
208
- a hard requirement, though. You can use _any shell_ you are comfortable with as long as you teach
209
- Alfred to load your development environment before running the Alfred Workflow.
207
+ 1. Your link:https://www.alchemists.io/projects/dotfiles[Dotfiles] are configured to use {bash_link} and load your environment appropriately. Bash is not a hard requirement, though. You can use _any shell_ you are comfortable with as long as you teach Alfred to load your development environment before running the Alfred Workflow.
210
208
  2. You have the latest version of Alfred, Ruby, and Pennyworth installed.
211
- 3. You are using a Ruby version manager, like {frum_link}, which ensures Ruby is on your load path.
212
- As mentioned in the _Requirements_ section above, this is not a hard requirement so if you have
213
- the correct version of Ruby required by this gem on your path, that'll work too.
209
+ 3. You are using a {ruby_version_managers_link} which ensures Ruby is on your load path. As mentioned in the _Requirements_ section above, this is not a hard requirement so if you have the correct version of Ruby required by this gem on your path, that'll work too.
214
210
 
215
211
  With the above requirements in mind, the following sections document how to download and install all
216
212
  Pennyworth workflows that are compatible with Alfred. Should you want to tweak any of these
@@ -232,236 +228,106 @@ to all workflows depending on what kind of item is currently selected within the
232
228
 
233
229
  image:https://www.alchemists.io/images/projects/pennyworth/screenshots/alchemists-projects.png[Alchemists Projects,width=706,height=632,role=focal_point]
234
230
 
235
- The official link:https://www.alchemists.io[Alchemists] workflow for site navigation.
231
+ Provides quick access to link:https://www.alchemists.io[Alchemists] resources.
236
232
 
237
233
  1. link:https://www.alchemists.io/public/alfred/workflows/alchemists.alfredworkflow[Download] and
238
234
  double click to install.
239
- 2. Type `ax` to activate.
240
-
241
- 💡 Use `ENTER` to view site, `CONTROL` to view versions, `OPTION` to view source, or `COMMAND` to
242
- view issues.
235
+ 2. Click on _Configure Workflow_ to configure the workflow and view documentation.
243
236
 
244
237
  ==== Dry RB
245
238
 
246
239
  image:https://www.alchemists.io/images/projects/pennyworth/screenshots/dry-gems.png[Dry Gems,width=706,height=632,role=focal_point]
247
240
 
248
- A link:https://dry-rb.org[Dry RB] workflow for navigating all of the Dry RB site.
241
+ Provides quick access to link:https://dry-rb.org[Dry RB] resources.
249
242
 
250
243
  1. link:https://www.alchemists.io/public/alfred/workflows/dry.alfredworkflow[Download] and double
251
244
  click to install.
252
- 2. Type `dry` to activate general information and `dryx` for project list.
245
+ 2. Click on _Configure Workflow_ to configure the workflow and view documentation.
253
246
 
254
- 💡 Use `ENTER` to visit site, `CONTROL` to view versions, `OPTION` to view source, or `COMMAND` to
255
- view issues.
256
-
257
- ==== Rubocop
247
+ ==== RuboCop
258
248
 
259
249
  image:https://www.alchemists.io/images/projects/pennyworth/screenshots/rubocop-projects.png[Rubocop Projects,width=706,height=632,role=focal_point]
260
250
 
261
- A link:https://docs.rubocop.org/rubocop[Rubocop] workflow for quick access to documentation,
262
- learning about project versions, viewing source code, etc.
251
+ Provides quick access to link:https://docs.rubocop.org/rubocop[RuboCop] resources.
263
252
 
264
253
  1. link:https://www.alchemists.io/public/alfred/workflows/rubocop.alfredworkflow[Download] and
265
254
  double click to install.
266
- 2. Type `cop` to activate.
267
-
268
- 💡 Use `ENTER` to view site, `CONTROL` to view versions, `OPTION` to view source, or `COMMAND` to
269
- view issues.
255
+ 2. Click on _Configure Workflow_ to configure the workflow and view documentation.
270
256
 
271
257
  ==== Ruby
272
258
 
273
- This workflow is feature packed and only requires a
274
- link:https://www.alchemists.io/public/alfred/workflows/ruby.alfredworkflow[single download]. Once
275
- downloaded, double click to install, and then continue reading to learn all of the
276
- capabilities this single workflow provides.
277
-
278
- ===== Bytes
279
-
280
- image:https://www.alchemists.io/images/projects/pennyworth/screenshots/ruby-bytes.png[Bytes,width=706,height=200,role=focal_point]
281
-
282
- This keyword allows you to generate random bytes.
283
-
284
- Type `bytes` to activate and `ENTER` generate. You can supply an optional number for specific
285
- length.
286
-
287
- ===== Encodings
288
-
289
- image:https://www.alchemists.io/images/projects/pennyworth/screenshots/ruby-encodings.png[Encodings,width=706,height=632,role=focal_point]
290
-
291
- This keyword allows you to quickly search for various encodings and/or their associated aliases to
292
- use in your own code.
293
-
294
- Type `encodings` to activate. Use `ENTER` to copy label or `OPTION` to copy associated aliases to
295
- clipboard.
296
-
297
- ===== Gems
298
-
299
- image:https://www.alchemists.io/images/projects/pennyworth/screenshots/ruby-gems.png[Gems,width=706,height=362,role=focal_point]
300
-
301
- Provides access to the RubyGems ecosystem.
302
-
303
- Type `gems` to activate. Use the arrow keys to navigate options and `ENTER` to use.
304
-
305
- ===== Hex
306
-
307
- image:https://www.alchemists.io/images/projects/pennyworth/screenshots/ruby-hex.png[Hex,width=706,height=200,role=focal_point]
308
-
309
- This keyword allows you to generate a random hex string.
310
-
311
- Type `hex` to activate and `ENTER` generate. You can supply an optional number for specific length.
312
-
313
- ===== HTTP Statuses
314
-
315
- image:https://www.alchemists.io/images/projects/pennyworth/screenshots/ruby-http_statuses.png[HTTP Statuses,width=706,height=632,role=focal_point]
316
-
317
- This keyword allows you to look up statuses by code with quick access to the associated symbol for
318
- use in your own code. Includes associated documentation for sharing or learning more. All HTTP
319
- statuses are sourced from `Rack::Utils::HTTP_STATUS_CODES` which is why
320
- link:https://rubygems.org/gems/rack[Rack] is a dependency of this gem and also why some codes might
321
- not be present like these
322
- link:https://en.wikipedia.org/wiki/List_of_HTTP_status_codes#Unofficial_codes[unofficial codes].
323
-
324
- Type `https` to activate. Use `ENTER` to copy symbol, `CONTROL` to copy code, `OPTION` to copy
325
- label, or `COMMAND` to view documentation.
326
-
327
- ===== Links
328
-
329
- image:https://www.alchemists.io/images/projects/pennyworth/screenshots/ruby-links.png[Links,width=706,height=632,role=focal_point]
330
-
331
- This keyword allows you to navigate to additional Ruby related information and resources.
332
-
333
- Type `rb` plus `SPACE` to activate, then fuzzy type to filter the list to what you are looking for,
334
- and hit `ENTER` to visit the link in your default browser.
335
-
336
- ===== Number
337
-
338
- image:https://www.alchemists.io/images/projects/pennyworth/screenshots/ruby-number.png[Number,width=706,height=200,role=focal_point]
339
-
340
- This keyword allows you to generate a random number.
341
-
342
- Type `number` to activate and `ENTER` generate. You can supply an optional number for specific
343
- length.
344
-
345
- ===== Repeat
346
-
347
- image:https://www.alchemists.io/images/projects/pennyworth/screenshots/ruby-repeat.png[Repeat,width=706,height=200,role=focal_point]
348
-
349
- This keyword allows you to generate a repeating sequence of the same character(s).
350
-
351
- Type `repeat` to activate and `ENTER` generate. You must supply the character(s) you want to repeat
352
- followed by a number indicating how many times you want the character(s) to repeat.
353
-
354
- ===== Standard Errors
355
-
356
- image:https://www.alchemists.io/images/projects/pennyworth/screenshots/ruby-standard_errors.png[Standard Errors,width=706,height=632,role=focal_point]
357
-
358
- This keyword allows you to list all subclasses of `StandardError`. Due to the dynamic nature of how
359
- these subclasses are loaded, they are influenced by this gem's environment and dependencies which
360
- can be either too narrow or too verbose. This list also includes system errors which have a
361
- specialized workflow as described below. While this list can be long, it is alphabetically sorted
362
- for quick filtering when fuzzy typing.
363
-
364
- Type `stderr` to activate. Use `ENTER` to copy the subclass to clipboard, `CONTROL` to copy the
365
- error name, or `OPTION` to copy the source path.
366
-
367
- 💡 The subclass source path might not always be available because not all subclasses are written in
368
- Ruby but C instead. That said, when the source path does exist, you'll get the full path plus line
369
- number in the format of `<source path>:<line number>` for easy loading within your editor of choice.
370
-
371
- ===== System Errors
372
-
373
- image:https://www.alchemists.io/images/projects/pennyworth/screenshots/ruby-system_errors.png[System Errors,width=706,height=632,role=focal_point]
374
-
375
- This keyword allows you to search low-level system errors. Depending on which operating system you
376
- are on, these errors will differ. Error IDs are provided for fuzzy searching since they are what
377
- you'll most likely see in your stack dumps. The associated constant can be copied to clipboard for
378
- use in your Ruby code.
379
-
380
- Type `syserr` to activate. Use `ENTER` to copy constant, `CONTROL` to copy ID, `OPTION` to copy
381
- description, or `COMMAND` to copy ID, name, and description.
382
-
383
- ===== System Signals
384
-
385
- image:https://www.alchemists.io/images/projects/pennyworth/screenshots/ruby-system_signals.png[System Signals,width=706,height=632,role=focal_point]
386
-
387
- This keyword is for searching and acquiring the system signal you want to `trap` in your Ruby code.
388
-
389
- Type `signals` to activate. Use `ENTER` to copy name, `OPTION` to copy ID, or `COMMAND` to copy ID
390
- and name.
391
-
392
- ===== Text
393
-
394
- image:https://www.alchemists.io/images/projects/pennyworth/screenshots/ruby-text.png[Text,width=706,height=632,role=focal_point]
395
-
396
- This keyword is for is for basic text manipulation. Supply a string, phrase, or sentence and let
397
- Pennyworth calculate all transformations and information you might need.
398
-
399
- Type `text` to activate plus any string or phrase to transform. Use `ENTER` to copy text to
400
- clipboard.
401
-
402
- ===== UUID
259
+ image:https://www.alchemists.io/images/projects/pennyworth/screenshots/ruby.png[Ruby workflow screenshot,width=706,height=632,role=focal_point]
403
260
 
404
- image:https://www.alchemists.io/images/projects/pennyworth/screenshots/ruby-uuid.png[UUID,width=706,height=200,role=focal_point]
261
+ Provides quick access to link:https://www.ruby-lang.org[Ruby] resources.
405
262
 
406
- This keyword allows you to generate a random Universally Unique IDentifier (UUID).
407
-
408
- Type `uuid` to activate and `ENTER` generate.
409
-
410
- ===== Version
411
-
412
- image:https://www.alchemists.io/images/projects/pennyworth/screenshots/ruby-version.png[Version,width=706,height=254,role=focal_point]
413
-
414
- This keyword allows you obtain Ruby version information.
415
-
416
- Type `version` to activate and `ENTER` generate. Optionally, you can press `OPTION` when selected to
417
- answer the Ruby version used by Alfred since Alfred defaults to using whatever version is supplied
418
- by macOS.
263
+ 1. link:https://www.alchemists.io/public/alfred/workflows/ruby.alfredworkflow[Download] and
264
+ double click to install.
265
+ 2. Click on _Configure Workflow_ to configure the workflow and view documentation.
419
266
 
420
267
  ==== Other
421
268
 
422
- The following workflows don't require Pennyworth support but are provided for convenience in case
423
- they are of interest/aid to your own productivity.
269
+ The following workflows don't require this gem to use but are provided for convenience in case they are of aid to your own productivity.
424
270
 
425
271
  ===== Acronyms
426
272
 
273
+ image:https://www.alchemists.io/images/projects/pennyworth/screenshots/acronyms.png[Acronyms workflow screenshot.,width=1001,height=610,role=focal_point]
274
+
427
275
  Expands acronyms so you can think and type in terms of an acronym but appear as if you typed out the
428
276
  full definition each time.
429
277
 
430
278
  1. link:https://www.alchemists.io/public/alfred/workflows/acronyms.alfredworkflow[Download] and
431
279
  double click to install.
432
- 2. Use any of the macros provided by the workflow to expand acronyms for legibility.
280
+ 2. Click on _Configure Workflow_ to configure the workflow and view documentation.
433
281
 
434
282
  ===== Alpine
435
283
 
436
284
  image:https://www.alchemists.io/images/projects/pennyworth/screenshots/alpine.png[Alpine Linux workflow screenshot.,width=706,height=632,role=focal_point]
437
285
 
438
- Provides link:https://www.alpinelinux.org[Alpine Linux] resources.
286
+ Provides quick access to link:https://www.alpinelinux.org[Alpine Linux] resources.
439
287
 
440
288
  1. link:https://www.alchemists.io/public/alfred/workflows/alpine.alfredworkflow[Download] and double
441
289
  click to install.
442
- 2. Type `al` to activate.
290
+ 2. Click on _Configure Workflow_ to configure the workflow and view documentation.
443
291
 
444
292
  ===== Applications
445
293
 
446
294
  image:https://www.alchemists.io/images/projects/pennyworth/screenshots/applications.png[Applications workflow screenshot.,width=706,height=362,role=focal_point]
447
295
 
448
- Launches development environment but can be tweaked for your preferences. Using Alfred in this
449
- manner ensures your machine boots or restarts quickly and gives you more control over what is
450
- launched.
296
+ Launches your engineering environment but can be tweaked to your preferences. Using Alfred in this manner ensures your machine boots quickly so you have more control over _what_ is launched.
451
297
 
452
298
  1. link:https://www.alchemists.io/public/alfred/workflows/applications.alfredworkflow[Download] and
453
299
  double click to install.
454
- 2. Type `work` to activate.
300
+ 2. Click on _Configure Workflow_ to configure the workflow and view documentation.
301
+
302
+ ===== Bash
303
+
304
+ image:https://www.alchemists.io/images/projects/pennyworth/screenshots/bash.png[Bash workflow screenshot.,width=706,height=362,role=focal_point]
305
+
306
+ Provides quick access to link:https://www.gnu.org/software/bash[Bash] resources.
307
+
308
+ 1. link:https://www.alchemists.io/public/alfred/workflows/bash.alfredworkflow[Download] and
309
+ double click to install.
310
+ 2. Click on _Configure Workflow_ to configure the workflow and view documentation.
311
+
312
+ ===== Bio
313
+
314
+ image:https://www.alchemists.io/images/projects/pennyworth/screenshots/bio.png[Bio workflow screenshot.,width=706,height=200,role=focal_point]
315
+
316
+ Provides biographical calculations and information.
317
+
318
+ 1. link:https://www.alchemists.io/public/alfred/workflows/bio.alfredworkflow[Download] and
319
+ double click to install.
320
+ 2. Click on _Configure Workflow_ to configure the workflow and view documentation.
455
321
 
456
322
  ===== Browsers
457
323
 
458
324
  image:https://www.alchemists.io/images/projects/pennyworth/screenshots/browsers.png[Browsers workflow screenshot.,width=706,height=308,role=focal_point]
459
325
 
460
- Provides browser related utilities.
326
+ Provides quick access to browser resources.
461
327
 
462
328
  1. link:https://www.alchemists.io/public/alfred/workflows/browsers.alfredworkflow[Download] and
463
329
  double click to install.
464
- 2. Type `open` to activate.
330
+ 2. Click on _Configure Workflow_ to configure the workflow and view documentation.
465
331
 
466
332
  ===== Bundler
467
333
 
@@ -471,124 +337,169 @@ Provides quick access to link:https://bundler.io[Bundler] related resources.
471
337
 
472
338
  1. link:https://www.alchemists.io/public/alfred/workflows/bundler.alfredworkflow[Download] and
473
339
  double click to install.
474
- 2. Type `bundler` to activate.
340
+ 2. Click on _Configure Workflow_ to configure the workflow and view documentation.
341
+
342
+ ===== Circle CI
343
+
344
+ image:https://www.alchemists.io/images/projects/pennyworth/screenshots/circle_ci.png[Circle CI workflow screenshot.,width=706,height=416,role=focal_point]
345
+
346
+ Provides quick access to link:https://circleci.com/[Circle CI] resources.
347
+
348
+ 1. link:https://www.alchemists.io/public/alfred/workflows/circle_ci.alfredworkflow[Download] and
349
+ double click to install.
350
+ 2. Click on _Configure Workflow_ to configure the workflow and view documentation.
475
351
 
476
352
  ===== Crystal
477
353
 
478
- image:https://www.alchemists.io/images/projects/pennyworth/screenshots/crystal.png[Crystal workflow screenshot.,width=706,height=362,role=focal_point]
354
+ image:https://www.alchemists.io/images/projects/pennyworth/screenshots/crystal.png[Crystal workflow screenshot.,width=706,height=632,role=focal_point]
479
355
 
480
- A link:https://crystal-lang.org[Crystal] workflow for quick access to Crystal resources.
356
+ Provides quick access to link:https://crystal-lang.org[Crystal] resources.
481
357
 
482
358
  1. link:https://www.alchemists.io/public/alfred/workflows/crystal.alfredworkflow[Download] and
483
359
  double click to install.
484
- 2. Type `crystal` to view general information, arrow keys to navigate, and `ENTER` to view
485
- information.
360
+ 2. Click on _Configure Workflow_ to configure the workflow and view documentation.
486
361
 
487
362
  ===== CSS
488
363
 
489
364
  image:https://www.alchemists.io/images/projects/pennyworth/screenshots/css.png[CSS workflow screenshot.,width=706,height=470,role=focal_point]
490
365
 
491
- A link:https://www.w3.org/Style/CSS/specs.en.html[CSS] workflow for quick access to CSS resources.
366
+ Provides quick access to link:https://www.w3.org/Style/CSS/specs.en.html[CSS] resources.
492
367
 
493
368
  1. link:https://www.alchemists.io/public/alfred/workflows/css.alfredworkflow[Download] and double
494
369
  click to install.
495
- 2. Type `cx` to view general information, arrow keys to navigate, and `ENTER` to view information.
370
+ 2. Click on _Configure Workflow_ to configure the workflow and view documentation.
371
+
372
+ ===== Docker
373
+
374
+ image:https://www.alchemists.io/images/projects/pennyworth/screenshots/docker.png[Docker workflow screenshot.,width=706,height=470,role=focal_point]
375
+
376
+ Provides quick access to link:https://www.docker.com[Docker] resources.
377
+
378
+ 1. link:https://www.alchemists.io/public/alfred/workflows/docker.alfredworkflow[Download] and
379
+ double click to install.
380
+ 2. Click on _Configure Workflow_ to configure the workflow and view documentation.
496
381
 
497
382
  ===== Elm
498
383
 
499
384
  image:https://www.alchemists.io/images/projects/pennyworth/screenshots/elm.png[Elm workflow screenshot.,width=706,height=470,role=focal_point]
500
385
 
501
- A link:https://elm-lang.org[Elm] workflow for quick access to Elm resources.
386
+ Provides quick access to link:https://elm-lang.org[Elm] resources.
502
387
 
503
388
  1. link:https://www.alchemists.io/public/alfred/workflows/elm.alfredworkflow[Download] and double
504
389
  click to install.
505
- 2. Type `elm` to view general information, arrow keys to navigate, and `ENTER` to view information.
390
+ 2. Click on _Configure Workflow_ to configure the workflow and view documentation.
506
391
 
507
392
  ===== GitHub
508
393
 
509
394
  image:https://www.alchemists.io/images/projects/pennyworth/screenshots/github.png[GitHub workflow screenshot.,width=706,height=632,role=focal_point]
510
395
 
511
- Provides link:https://github.com[GitHub] resources.
396
+ Provides quick access to link:https://github.com[GitHub] resources.
512
397
 
513
398
  1. link:https://www.alchemists.io/public/alfred/workflows/github.alfredworkflow[Download] and
514
399
  double click to install.
515
- 2. Type `gh` to activate and then fuzzy type to filter.
400
+ 2. Click on _Configure Workflow_ to configure the workflow and view documentation.
516
401
 
517
402
  ===== Hanami
518
403
 
519
404
  image:https://www.alchemists.io/images/projects/pennyworth/screenshots/hanami.png[Hanami workflow screenshot.,width=706,height=632,role=focal_point]
520
405
 
521
- Provides link:https://hanamirb.org[Hanami] resources.
406
+ Provides quick access to link:https://hanamirb.org[Hanami] resources.
522
407
 
523
408
  1. link:https://www.alchemists.io/public/alfred/workflows/hanami.alfredworkflow[Download] and
524
409
  double click to install.
525
- 2. Type `h` to activate.
410
+ 2. Click on _Configure Workflow_ to configure the workflow and view documentation.
526
411
 
527
- ===== chi.li
412
+ ===== Jitsi
528
413
 
529
- image:https://www.alchemists.io/images/projects/pennyworth/screenshots/chili.png[chi.li workflow screenshot.,width=706,height=200,role=focal_point]
414
+ image:https://www.alchemists.io/images/projects/pennyworth/screenshots/jitsi.png[Jitsi workflow screenshot.,width=706,height=254,role=focal_point]
530
415
 
531
- Shortens URLs using link:https://chl.li[chl.li].
416
+ Provides quick access to link:https://jitsi.org[Jitsi] resources.
532
417
 
533
- 1. link:https://www.alchemists.io/public/alfred/workflows/chlli.alfredworkflow[Download] and
418
+ 1. link:https://www.alchemists.io/public/alfred/workflows/jitsi.alfredworkflow[Download] and
534
419
  double click to install.
535
- 2. Type `surl` to activate.
420
+ 2. Click on _Configure Workflow_ to configure the workflow and view documentation.
536
421
 
537
- ===== Docker
422
+ ===== macOS
538
423
 
539
- image:https://www.alchemists.io/images/projects/pennyworth/screenshots/docker.png[Docker workflow screenshot.,width=706,height=470,role=focal_point]
424
+ image:https://www.alchemists.io/images/projects/pennyworth/screenshots/mac_os.png[macOS workflow screenshot.,width=706,height=200,role=focal_point]
540
425
 
541
- Provides link:https://www.docker.com[Docker] resources.
426
+ Provides quick access to macOS resources.
542
427
 
543
- 1. link:https://www.alchemists.io/public/alfred/workflows/docker.alfredworkflow[Download] and
428
+ 1. link:https://www.alchemists.io/public/alfred/workflows/mac_os.alfredworkflow[Download] and
544
429
  double click to install.
545
- 2. Type `dr` to activate.
430
+ 2. Click on _Configure Workflow_ to configure the workflow and view documentation.
546
431
 
547
- ===== macOS
432
+ ===== Rack
548
433
 
549
- Provides macOS utilities.
434
+ image:https://www.alchemists.io/images/projects/pennyworth/screenshots/rack.png[Rack workflow screenshot.,width=706,height=470,role=focal_point]
550
435
 
551
- 1. link:https://www.alchemists.io/public/alfred/workflows/mac_os.alfredworkflow[Download] and
552
- double click to install.
553
- 2. Open the workflow to see all available keywords.
436
+ Provides quick access to link:https://github.com/rack/rack[Rack] resources.
437
+
438
+ 1. link:https://www.alchemists.io/public/alfred/workflows/rack.alfredworkflow[Download] and double
439
+ click to install.
440
+ 2. Click on _Configure Workflow_ to configure the workflow and view documentation.
554
441
 
555
442
  ===== RSpec
556
443
 
557
444
  image:https://www.alchemists.io/images/projects/pennyworth/screenshots/rspec.png[RSpec workflow screenshot.,width=706,height=362,role=focal_point]
558
445
 
559
- A link:https://rspec.info[RSpec] workflow for quick access to RSpec resources.
446
+ Provides quick access to link:https://rspec.info[RSpec] resources.
560
447
 
561
448
  1. link:https://www.alchemists.io/public/alfred/workflows/rspec.alfredworkflow[Download] and double
562
449
  click to install.
563
- 2. Type `rspec` to view general information, arrow keys to navigate, and `ENTER` to view
564
- information.
450
+ 2. Click on _Configure Workflow_ to configure the workflow and view documentation.
451
+
452
+ ===== Ruby on Rails
453
+
454
+ 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]
455
+
456
+ Provides access to link:https://https://rubyonrails.org[Ruby on Rails] resources.
457
+
458
+ 1. link:https://www.alchemists.io/public/alfred/workflows/ruby_on_rails.alfredworkflow[Download] and double click to install.
459
+ 2. Click on _Configure Workflow_ to configure the workflow and view documentation.
460
+
461
+ ===== Slack
462
+
463
+ image:https://www.alchemists.io/images/projects/pennyworth/screenshots/slack.png[Slack workflow screenshot.,width=706,height=524,role=focal_point]
464
+
465
+ Provides quick access to link:https://slack.com[Slack] resources.
466
+
467
+ 1. link:https://www.alchemists.io/public/alfred/workflows/slack.alfredworkflow[Download] and
468
+ double click to install.
469
+ 2. Click on _Configure Workflow_ to configure the workflow and view documentation.
470
+
471
+ ===== SSL
472
+
473
+ image:https://www.alchemists.io/images/projects/pennyworth/screenshots/ssl.png[SSL workflow screenshot.,width=706,height=362,role=focal_point]
474
+
475
+ Provides quick access to SSL resources for the security conscious.
476
+
477
+ 1. link:https://www.alchemists.io/public/alfred/workflows/ssl.alfredworkflow[Download] and double click to install.
478
+ 2. Click on _Configure Workflow_ to configure the workflow and view documentation.
565
479
 
566
480
  ===== Terraform
567
481
 
568
482
  image:https://www.alchemists.io/images/projects/pennyworth/screenshots/terraform.png[Terraform workflow screenshot.,width=706,height=632,role=focal_point]
569
483
 
570
- Provides link:https://www.terraform.io[Terraform] resources.
484
+ Provides quick access to link:https://www.terraform.io[Terraform] resources.
571
485
 
572
486
  1. link:https://www.alchemists.io/public/alfred/workflows/terraform.alfredworkflow[Download] and
573
487
  double click to install.
574
- 2. Type `tf` to activate.
488
+ 2. Click on _Configure Workflow_ to configure the workflow and view documentation.
575
489
 
576
490
  ===== Text
577
491
 
578
- Provides general text manipulation utilities beyond the Pennyworth powered _text_ keyword (mentioned
579
- earlier).
492
+ image:https://www.alchemists.io/images/projects/pennyworth/screenshots/text.png[Text workflow screenshot.,width=1000,height=610,role=focal_point]
493
+
494
+ Provides general text manipulation utilities beyond the Pennyworth powered _text_ macro which is part of the _Ruby_ workflow (mentioned earlier).
580
495
 
581
496
  1. link:https://www.alchemists.io/public/alfred/workflows/text.alfredworkflow[Download] and
582
497
  double click to install.
583
- 2. Use any of the following global hotkeys to activate:
584
- ** `CONTROL + OPTION + COMMAND + o` - Open selected URL in default browser.
585
- ** `CONTROL + OPTION + COMMAND + d` - View selected word in macOS dictionary.
586
- ** `CONTROL + OPTION + COMMAND + t` - View selected text as Large Type.
587
- ** `CONTROL + OPTION + COMMAND + h` - Syntax highlight selected code.
498
+ 2. Click on _Configure Workflow_ to configure the workflow and view documentation.
588
499
 
589
500
  == Architecture
590
501
 
591
- The following documents the workfow used to process all actions from Alfred.
502
+ The following documents the workflow used to process all actions from Alfred.
592
503
 
593
504
  image::https://www.alchemists.io/images/projects/pennyworth/doc/architecture.svg[Architecture Diagram]
594
505
 
@@ -4,14 +4,13 @@ require "refinements/structs"
4
4
 
5
5
  module Pennyworth
6
6
  module CLI
7
- # Handles parsing of Command Line Interface (CLI) primary options.
8
7
  module Parsers
9
- using Refinements::Structs
10
-
11
8
  # Handles parsing of Command Line Interface (CLI) core options.
12
9
  class Core
13
10
  include Import[:specification]
14
11
 
12
+ using Refinements::Structs
13
+
15
14
  def self.call(...) = new(...).call
16
15
 
17
16
  def initialize configuration = Container[:configuration],
@@ -9,6 +9,7 @@
9
9
  - "Http Fake": "HTTP Fake"
10
10
  - "Mac Os Config": "macOS Configuration"
11
11
  - "Mac Os": "MacOS"
12
+ - "Pkce": "PKCE"
12
13
  - "Prawn Plus": "Prawn+"
13
14
  - "Rubocop Ast": "Rubocop AST"
14
15
  - "Rubocop Md": "Rubocop Markdown"
@@ -43,7 +44,7 @@
43
44
  :user:
44
45
  :http:
45
46
  :statuses:
46
- :url: "https://httpstatuses.com"
47
+ :url: "https://developer.mozilla.org/docs/Web/HTTP/Status"
47
48
  :ruby_gems:
48
49
  :api_url: "https://rubygems.org/api/v1"
49
50
  :owner:
@@ -6,6 +6,7 @@ module Pennyworth
6
6
  module Presenters
7
7
  # Renders RubyGems records into a compatible format for use in Alfred script filters.
8
8
  class Gem
9
+ using Refinements::Arrays
9
10
  using Refinements::Strings
10
11
 
11
12
  def initialize record, inflector: Inflector.new
@@ -15,18 +16,13 @@ module Pennyworth
15
16
 
16
17
  def id = record.fetch(:name)
17
18
 
18
- def label = inflector.call(id.titleize)
19
+ def label = "#{inflector.call id.titleize} #{version}"
19
20
 
20
- def subtitle
21
- "Version: #{version}. " \
22
- "Updated: #{updated_at[..9]}. " \
23
- "Licenses: #{licenses}. " \
24
- "Downloads: #{downloads}."
25
- end
21
+ def subtitle = "Downloads: #{downloads}. Licenses: #{licenses}. Updated: #{updated_at[..9]}."
26
22
 
27
23
  def version = record.fetch(__method__)
28
24
 
29
- def licenses = Array(record.fetch(__method__)).join(", ")
25
+ def licenses = Array(record.fetch(__method__)).to_sentence
30
26
 
31
27
  def downloads = record.fetch(__method__)
32
28
 
@@ -4,6 +4,8 @@ module Pennyworth
4
4
  module Serializers
5
5
  # Serializes a encoding into a compatible format for parsing within Alfred script filters.
6
6
  class Encoding
7
+ using Refinements::Arrays
8
+
7
9
  def initialize presenter
8
10
  @presenter = presenter
9
11
  end
@@ -12,10 +14,10 @@ module Pennyworth
12
14
  {
13
15
  uid: presenter.id,
14
16
  title: label,
15
- subtitle: %(Aliases: #{aliases}.),
17
+ subtitle: %(Aliases: #{aliases.to_sentence}.),
16
18
  arg: label,
17
19
  mods: {
18
- alt: {subtitle: "Copy aliases.", arg: aliases}
20
+ alt: {subtitle: "Copy aliases.", arg: aliases.join(", ")}
19
21
  },
20
22
  text: {copy: label, largetype: label}
21
23
  }
@@ -27,7 +29,7 @@ module Pennyworth
27
29
 
28
30
  def label = presenter.label
29
31
 
30
- def aliases = presenter.aliases.join(", ")
32
+ def aliases = presenter.aliases
31
33
  end
32
34
  end
33
35
  end
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 = "13.2.0"
5
+ spec.version = "13.5.0"
6
6
  spec.authors = ["Brooke Kuhlmann"]
7
7
  spec.email = ["brooke@alchemists.io"]
8
8
  spec.homepage = "https://www.alchemists.io/projects/pennyworth"
@@ -23,14 +23,14 @@ Gem::Specification.new do |spec|
23
23
  spec.cert_chain = [Gem.default_cert_path]
24
24
 
25
25
  spec.required_ruby_version = "~> 3.1"
26
- spec.add_dependency "auto_injector", "~> 0.5"
27
- spec.add_dependency "cogger", "~> 0.1"
28
- spec.add_dependency "dry-container", "~> 0.9"
26
+ spec.add_dependency "auto_injector", "~> 0.6"
27
+ spec.add_dependency "cogger", "~> 0.2"
28
+ spec.add_dependency "dry-container", "~> 0.10"
29
29
  spec.add_dependency "http", "~> 5.0"
30
30
  spec.add_dependency "rack", "~> 2.2"
31
- spec.add_dependency "refinements", "~> 9.4"
32
- spec.add_dependency "runcom", "~> 8.4"
33
- spec.add_dependency "spek", "~> 0.3"
31
+ spec.add_dependency "refinements", "~> 9.6"
32
+ spec.add_dependency "runcom", "~> 8.5"
33
+ spec.add_dependency "spek", "~> 0.4"
34
34
  spec.add_dependency "zeitwerk", "~> 2.5"
35
35
 
36
36
  spec.bindir = "exe"
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: 13.2.0
4
+ version: 13.5.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-05-15 00:00:00.000000000 Z
31
+ date: 2022-08-01 00:00:00.000000000 Z
32
32
  dependencies:
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: auto_injector
@@ -36,42 +36,42 @@ dependencies:
36
36
  requirements:
37
37
  - - "~>"
38
38
  - !ruby/object:Gem::Version
39
- version: '0.5'
39
+ version: '0.6'
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.5'
46
+ version: '0.6'
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: cogger
49
49
  requirement: !ruby/object:Gem::Requirement
50
50
  requirements:
51
51
  - - "~>"
52
52
  - !ruby/object:Gem::Version
53
- version: '0.1'
53
+ version: '0.2'
54
54
  type: :runtime
55
55
  prerelease: false
56
56
  version_requirements: !ruby/object:Gem::Requirement
57
57
  requirements:
58
58
  - - "~>"
59
59
  - !ruby/object:Gem::Version
60
- version: '0.1'
60
+ version: '0.2'
61
61
  - !ruby/object:Gem::Dependency
62
62
  name: dry-container
63
63
  requirement: !ruby/object:Gem::Requirement
64
64
  requirements:
65
65
  - - "~>"
66
66
  - !ruby/object:Gem::Version
67
- version: '0.9'
67
+ version: '0.10'
68
68
  type: :runtime
69
69
  prerelease: false
70
70
  version_requirements: !ruby/object:Gem::Requirement
71
71
  requirements:
72
72
  - - "~>"
73
73
  - !ruby/object:Gem::Version
74
- version: '0.9'
74
+ version: '0.10'
75
75
  - !ruby/object:Gem::Dependency
76
76
  name: http
77
77
  requirement: !ruby/object:Gem::Requirement
@@ -106,42 +106,42 @@ dependencies:
106
106
  requirements:
107
107
  - - "~>"
108
108
  - !ruby/object:Gem::Version
109
- version: '9.4'
109
+ version: '9.6'
110
110
  type: :runtime
111
111
  prerelease: false
112
112
  version_requirements: !ruby/object:Gem::Requirement
113
113
  requirements:
114
114
  - - "~>"
115
115
  - !ruby/object:Gem::Version
116
- version: '9.4'
116
+ version: '9.6'
117
117
  - !ruby/object:Gem::Dependency
118
118
  name: runcom
119
119
  requirement: !ruby/object:Gem::Requirement
120
120
  requirements:
121
121
  - - "~>"
122
122
  - !ruby/object:Gem::Version
123
- version: '8.4'
123
+ version: '8.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: '8.4'
130
+ version: '8.5'
131
131
  - !ruby/object:Gem::Dependency
132
132
  name: spek
133
133
  requirement: !ruby/object:Gem::Requirement
134
134
  requirements:
135
135
  - - "~>"
136
136
  - !ruby/object:Gem::Version
137
- version: '0.3'
137
+ version: '0.4'
138
138
  type: :runtime
139
139
  prerelease: false
140
140
  version_requirements: !ruby/object:Gem::Requirement
141
141
  requirements:
142
142
  - - "~>"
143
143
  - !ruby/object:Gem::Version
144
- version: '0.3'
144
+ version: '0.4'
145
145
  - !ruby/object:Gem::Dependency
146
146
  name: zeitwerk
147
147
  requirement: !ruby/object:Gem::Requirement
@@ -251,7 +251,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
251
251
  - !ruby/object:Gem::Version
252
252
  version: '0'
253
253
  requirements: []
254
- rubygems_version: 3.3.13
254
+ rubygems_version: 3.3.19
255
255
  signing_key:
256
256
  specification_version: 4
257
257
  summary: A command line interface that augments Alfred workflows.
metadata.gz.sig CHANGED
Binary file