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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 281ec69b0fdefb5e3a26b1f97876641fcc42fe23da87d363c9249c5e64d04d8c
4
- data.tar.gz: d971ee1204c17d7eb211275458394a2f930ae7cf7cec83a4efd3f06fcde33abf
3
+ metadata.gz: b5ca5cae94ed3549fb6296ddd44bc79f00f9107f7e317934f36722236531d1b6
4
+ data.tar.gz: fffac7c9eaefc9ce8dd2fbffd65fa92dfc8ecbb88e1d4afa3313cc58e5c6655d
5
5
  SHA512:
6
- metadata.gz: da76fbccc61b57f3959cd9d8bec3c990df95104dd48c8630ec9d4cab5534644ad87438ab308ecb57c8fdf0251f2c8b635ab06d1140ef50edc28a079c1d187d26
7
- data.tar.gz: 020116b2219d45c1b7e3d5b8eb0804ce177520afe41cf47db219c07e2701415bd81b2e80559ae54eb7eaeec8c388da3253b4f8b65e003d28221dc1c170daac39
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
- A command line interface that augments link:https://www.alfredapp.com[Alfred] workflows.
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=1062,height=1194,role=focal_point]
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
- . link:https://github.com/postmodern/chruby[chruby]
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 link:https://github.com/postmodern/chruby[chruby],
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[Hex,width=706,height=200,role=focal_point]
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[Hex,width=706,height=200,role=focal_point]
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 andy string or phrase to transform. Use `ENTER` to copy text to
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[Hex,width=706,height=200,role=focal_point]
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, uninstall Psych 4.0.0 and fall back to 3.x.x
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"
@@ -44,7 +44,6 @@ module Pennyworth
44
44
  in action_system_errors: true then system_errors
45
45
  in action_text: String => content then text content
46
46
  in action_version: String => version then logger.info version
47
- in action_help: then usage
48
47
  else usage
49
48
  end
50
49
  end
@@ -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.0.1"
10
- VERSION_LABEL = "#{LABEL} #{VERSION}"
9
+ VERSION = "11.1.3"
10
+ VERSION_LABEL = "#{LABEL} #{VERSION}".freeze
11
11
  end
12
12
  end
@@ -26,7 +26,7 @@ module Pennyworth
26
26
 
27
27
  def version = record.fetch(__method__)
28
28
 
29
- def licenses = record.fetch(__method__).join(", ")
29
+ def licenses = Array(record.fetch(__method__)).join(", ")
30
30
 
31
31
  def downloads = record.fetch(__method__)
32
32
 
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.0.1
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-05 00:00:00.000000000 Z
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.7'
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.7'
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.19
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