pennyworth 11.1.2 → 11.2.2

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: 7f3d1a0177861844ef22b9039f9ac67c5518f0538571de20fa79352a89a40b22
4
- data.tar.gz: 010e4c40c7a936f20bf21a8129643eb8f25765c91df4b05bc43e09aaa12385b0
3
+ metadata.gz: 903c4fca3a422a92c5f588e9179038c48ef4d356b1906421949e89b1304d61ea
4
+ data.tar.gz: 90cd215659947df025550061538b330301aaec26f53d81306bb3519613604fea
5
5
  SHA512:
6
- metadata.gz: 5e678be3cc98c358b8fd2ff0525ac5e68d767bdf72a4d910050e345212c590f13cfdfeab39fe4d0b84603009576accda78de087747be874a8d71da966092b5d3
7
- data.tar.gz: d37c34bf5b63cec0279d9bd1e630a8b94c56fe6bff4956d2875eb9b6580e8b9ccda9f7ef625de01fc7931190260348a385e181b4fbf7e1dc80c490d63fa7d13d
6
+ metadata.gz: b4cdeb0f874f65d6ad8fd7c5b56e8f538845e70ae67a0285f90dfc7b61a1d843a6921ae6449848f8293d0d2d28cc119ee525a23e494c3fb3c48b424f61ee1754
7
+ data.tar.gz: 398603a24c0cde29a88cef50eb44bec73da085f6f9ba73b166be899e6879ca027be57448e0583a00ccac56165804f194029f155f36f0d7e32aa5d50ee046237c
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
- A command line interface that augments link:https://www.alfredapp.com[Alfred] workflows.
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=634,height=121,role=focal_point]
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. For the workflows that _do_ require Pennyworth
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
@@ -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 andy string or phrase to transform. Use `ENTER` to copy text to
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. Click each link to download and then double click
369
- to install:
370
-
371
- * link:https://www.alchemists.io/public/aflred/workflows/acronyms.alfredworkflow[Acronyms] - Expands
372
- acronyms into full explanations so you can think and type in terms of an acronym but appear as if
373
- you typed out the full definition each time.
374
- * https://www.alchemists.io/public/aflred/workflows/alpine.alfredworkflow[Alpine] - Provides
375
- link:https://www.alpinelinux.org[Alpine Linux] resources.
376
- * link:https://www.alchemists.io/public/aflred/workflows/applications.alfredworkflow[Applications] -
377
- Launches development environment but can be tweaked for your preferences. Using Alfred in this
378
- manner ensures your machine boots or restarts quickly and gives you more control over what is
379
- launched.
380
- * link:https://www.alchemists.io/public/aflred/workflows/browsers.alfredworkflow[Browsers] -
381
- Provides browser related utilities.
382
- * link:https://www.alchemists.io/public/aflred/workflows/bundler.alfredworkflow[Bundler] - Provides
383
- quick access to link:https://bundler.io[Bundler] related resources.
384
- * link:https://www.alchemists.io/public/aflred/workflows/hanami.alfredworkflow[Hanami] - Provides
385
- link:https://hanamirb.org[Hanami] resources.
386
- * link:https://www.alchemists.io/public/aflred/workflows/chlli.alfredworkflow[chi.li] - Shortens
387
- URLs using link:https://chl.li[chl.li].
388
- * link:https://www.alchemists.io/public/aflred/workflows/docker.alfredworkflow[Docker] - Provides
389
- link:https://www.docker.com[Docker] resources.
390
- * link:https://www.alchemists.io/public/aflred/workflows/mac_os.alfredworkflow[macOS] - Provides
391
- macOS utilities.
392
- * link:https://www.alchemists.io/public/aflred/workflows/terraform.alfredworkflow[Terraform] -
393
- Provides link:https://www.terraform.io[Terraform] resources.
394
- * link:https://www.alchemists.io/public/aflred/workflows/text.alfredworkflow[Text] - Provides
395
- general text manipulation utilities beyond the Pennyworth powered _text_ keyword (mentioned
396
- earlier).
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
 
@@ -457,6 +596,11 @@ participating in this project you agree to abide by its terms.
457
596
 
458
597
  Read link:CONTRIBUTING.adoc[CONTRIBUTING] for details.
459
598
 
599
+ == Community
600
+
601
+ Feel free to link:https://www.alchemists.io/community[join the commmunity] for discussions related
602
+ to this project and much more.
603
+
460
604
  == License
461
605
 
462
606
  Read link:LICENSE.adoc[LICENSE] for details.
File without changes
@@ -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.1.2"
10
- VERSION_LABEL = "#{LABEL} #{VERSION}"
9
+ VERSION = "11.2.2"
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
- loader = Zeitwerk::Loader.for_gem
6
- loader.inflector.inflect "cli" => "CLI",
7
- "http_status" => "HTTPStatus",
8
- "http_statuses" => "HTTPStatuses"
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,12 +1,12 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pennyworth
3
3
  version: !ruby/object:Gem::Version
4
- version: 11.1.2
4
+ version: 11.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brooke Kuhlmann
8
8
  autorequire:
9
- bindir: bin
9
+ bindir: exe
10
10
  cert_chain:
11
11
  - |
12
12
  -----BEGIN CERTIFICATE-----
@@ -28,7 +28,7 @@ cert_chain:
28
28
  lkHilIrX69jq8wMPpBhlaw2mRmeSL50Wv5u6xVBvOHhXFSP1crXM95vfLhLyRYod
29
29
  W2A=
30
30
  -----END CERTIFICATE-----
31
- date: 2021-08-22 00:00:00.000000000 Z
31
+ date: 2021-11-20 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.0'
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.0'
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.4'
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.4'
130
+ version: '2.5'
131
131
  description:
132
132
  email:
133
133
  - brooke@alchemists.io
@@ -140,7 +140,7 @@ extra_rdoc_files:
140
140
  files:
141
141
  - LICENSE.adoc
142
142
  - README.adoc
143
- - bin/pennyworth
143
+ - exe/pennyworth
144
144
  - lib/pennyworth.rb
145
145
  - lib/pennyworth/cli/actions/config.rb
146
146
  - lib/pennyworth/cli/actions/encodings.rb
@@ -197,6 +197,7 @@ metadata:
197
197
  bug_tracker_uri: https://github.com/bkuhlmann/pennyworth/issues
198
198
  changelog_uri: https://www.alchemists.io/projects/pennyworth/changes.html
199
199
  documentation_uri: https://www.alchemists.io/projects/pennyworth
200
+ rubygems_mfa_required: 'true'
200
201
  source_code_uri: https://github.com/bkuhlmann/pennyworth
201
202
  post_install_message:
202
203
  rdoc_options: []
@@ -213,7 +214,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
213
214
  - !ruby/object:Gem::Version
214
215
  version: '0'
215
216
  requirements: []
216
- rubygems_version: 3.2.26
217
+ rubygems_version: 3.2.31
217
218
  signing_key:
218
219
  specification_version: 4
219
220
  summary: A command line interface that augments Alfred workflows.
metadata.gz.sig CHANGED
Binary file