pennyworth 11.0.0 → 11.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c5fc1a6cb19af609e74dced40b61f98d7a26477ecf50702a791dcea8a050e13d
4
- data.tar.gz: e1e72f140d6cc607ec607ce8169bab8c2f6f479bedf499ab9915ae03c439e499
3
+ metadata.gz: 281ec69b0fdefb5e3a26b1f97876641fcc42fe23da87d363c9249c5e64d04d8c
4
+ data.tar.gz: d971ee1204c17d7eb211275458394a2f930ae7cf7cec83a4efd3f06fcde33abf
5
5
  SHA512:
6
- metadata.gz: a492fede34dfcee4cdf2477d42d7618985cf6c6747b13eed6bd3af91d79e26ce438babaa1ae97e8e093c8ff3842920aad4e9e31374afff2a4c286a1329dbeb80
7
- data.tar.gz: 97678ce94c0d140b61cee8601e2a1e399e46e8f3d6265dd73f44c6684df4ff22f302d29b4b7a0ac9eb42e6b01c6aa93903b631c3a132439851b4113e73115c33
6
+ metadata.gz: da76fbccc61b57f3959cd9d8bec3c990df95104dd48c8630ec9d4cab5534644ad87438ab308ecb57c8fdf0251f2c8b635ab06d1140ef50edc28a079c1d187d26
7
+ data.tar.gz: 020116b2219d45c1b7e3d5b8eb0804ce177520afe41cf47db219c07e2701415bd81b2e80559ae54eb7eaeec8c388da3253b4f8b65e003d28221dc1c170daac39
checksums.yaml.gz.sig CHANGED
Binary file
data.tar.gz.sig CHANGED
Binary file
data/README.adoc CHANGED
@@ -11,24 +11,28 @@ image::https://img.shields.io/badge/code_style-alchemists-brightgreen.svg[Alchem
11
11
  [link=https://circleci.com/gh/bkuhlmann/pennyworth]
12
12
  image::https://circleci.com/gh/bkuhlmann/pennyworth.svg?style=svg[Circle CI Status]
13
13
 
14
- A command line interface that enhances Alfred with Ruby support.
14
+ A command line interface that augments link:https://www.alfredapp.com[Alfred] workflows.
15
+
16
+
15
17
 
16
18
  toc::[]
17
19
 
18
20
  == Features
19
21
 
20
- * Adds Ruby support to link:https://www.alfredapp.com/help/workflows/inputs/script-filter/json[Alfred].
22
+ * Adds Ruby support to link:https://www.alfredapp.com[Alfred].
23
+ * Supports building advanced link:https://www.alfredapp.com/help/workflows[Workflows] for personal
24
+ augmentation.
21
25
 
22
26
  == Screencast
23
27
 
24
- video::https://www.alchemists.io/videos/projects/pennyworth/demo.mp4[width=1062,height=1194,role=focal_point]
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]
25
29
 
26
30
  == Requirements
27
31
 
28
32
  . link:https://www.apple.com/macos[macOS]
33
+ . link:https://www.gnu.org/software/bash[Bash]
29
34
  . link:https://www.alfredapp.com[Alfred]
30
35
  . link:https://www.alfredapp.com/purchase[Alfred Powerpack]
31
- . link:https://www.gnu.org/software/bash[Bash]
32
36
  . link:https://github.com/postmodern/chruby[chruby]
33
37
  . link:https://www.ruby-lang.org[Ruby]
34
38
 
@@ -41,8 +45,9 @@ To install, run:
41
45
  gem install pennyworth
42
46
  ----
43
47
 
44
- When using the `-\-git_hub` CLI option, you'll want to supply your login and personal access token
45
- with at least _read_ access via the following environment variables:
48
+ When using the `--git_hub` CLI option, you'll want to supply your GitHub login and
49
+ link:https://github.com/settings/tokens[Personal Access Token] with at least _read_ access via the
50
+ following environment variables:
46
51
 
47
52
  [source,bash]
48
53
  ----
@@ -54,11 +59,15 @@ You can configure these environment variables via link:https://direnv.net[direnv
54
59
  or through the link:https://www.alfredapp.com/help/workflows/advanced/variables/#environment[Alfred
55
60
  Workflow Environment].
56
61
 
62
+ ⚠️ When using Alfred Workflow environment variables, please ensure you check the _Don't Export_
63
+ option for these variables so you don't expose your credentials when exporting/sharing workflows
64
+ with others.
65
+
57
66
  == Usage
58
67
 
59
68
  === Command Line Interface (CLI)
60
69
 
61
- From the command line, type `pennyworth` to render usage:
70
+ From the command line, type `pennyworth` to view usage:
62
71
 
63
72
  ....
64
73
  USAGE:
@@ -81,7 +90,7 @@ RUBYGEMS OPTIONS:
81
90
  --owner [HANDLE] Set owner. Default: "".
82
91
  ....
83
92
 
84
- The following demonstrates how to use Pennyworth from the CLI or within an Alfred script filter:
93
+ The following demonstrates how to use Pennyworth from the CLI or within an Alfred Script Filter:
85
94
 
86
95
  [source,bash]
87
96
  ----
@@ -133,8 +142,8 @@ The default configuration is as follows:
133
142
  - "Mac Os Config": "macOS Configuration"
134
143
  - "Mac Os": "MacOS"
135
144
  - "Prawn Plus": "Prawn+"
136
- - "Rubocop Ast": "Rubocop AST"
137
- - "Rubocop Md": "Rubocop Markdown"
145
+ - "Rubocop Ast": "Rubocop AST"
146
+ - "Rubocop Md": "Rubocop Markdown"
138
147
  - "Rubocop Rspec": "Rubocop RSpec"
139
148
  - "Xdg": "XDG"
140
149
  :git_hub:
@@ -154,122 +163,230 @@ Feel free to take this default configuration, modify, and save as your own custo
154
163
 
155
164
  === Themes
156
165
 
157
- image:https://www.alchemists.io/images/projects/pennyworth/screenshots/alfred/alchemists-theme.png[Alchemists Theme,width=634,height=121,role=focal_point]
158
-
159
- To use the
160
- link:https://www.alchemists.io/public/aflred/themes/alchemists.alfredappearance[Alchemists Theme],
161
- used for all screenshots, follow these steps:
166
+ image:https://www.alchemists.io/images/projects/pennyworth/screenshots/alchemists-theme.png[Alchemists Theme,width=634,height=121,role=focal_point]
162
167
 
163
- 1. link:https://www.alchemists.io/public/aflred/themes/alchemists.alfredappearance[Download] (right
164
- click) theme.
165
- 1. Double click to install.
168
+ The above is shared as the link:https://www.alfredapp.com/extras/theme/FSz9kjN1wX[Alchemists Alfred
169
+ Theme] which can be
170
+ link:alfred://theme/?t=eyJhbGZyZWR0aGVtZSI6eyJyZXN1bHQiOnsidGV4dFNwYWNpbmciOjEwLCJzdWJ0ZXh0Ijp7InNpemUiOjEyLCJjb2xvclNlbGVjdGVkIjoiI0Q2RDZENkZGIiwiZm9udCI6IkhlbHZldGljYSIsImNvbG9yIjoiI0Q2RDZENkZGIn0sInNob3J0Y3V0Ijp7InNpemUiOjE2LCJjb2xvclNlbGVjdGVkIjoiI0ZGRkZGRkZGIiwiZm9udCI6IkhlbHZldGljYSIsImNvbG9yIjoiI0ZFRkNGRkZGIn0sImJhY2tncm91bmRTZWxlY3RlZCI6IiNBMDI2MThGRiIsInRleHQiOnsic2l6ZSI6MTYsImNvbG9yU2VsZWN0ZWQiOiIjRkZGRkZGRkYiLCJmb250IjoiSGVsdmV0aWNhIiwiY29sb3IiOiIjRTFERURFRkYifSwiaWNvblBhZGRpbmdIb3Jpem9udGFsIjo1LCJyb3VuZG5lc3MiOjAsInBhZGRpbmdWZXJ0aWNhbCI6NiwiaWNvblNpemUiOjQwfSwic2VhcmNoIjp7ImJhY2tncm91bmRTZWxlY3RlZCI6IiNCMkQ3RkZGRiIsInBhZGRpbmdIb3Jpem9udGFsIjo4LCJzcGFjaW5nIjoxMCwidGV4dCI6eyJzaXplIjozNiwiY29sb3JTZWxlY3RlZCI6IiMwMDAwMDBGRiIsImZvbnQiOiJIZWx2ZXRpY2EiLCJjb2xvciI6IiNGRkZGRkZGRiJ9LCJiYWNrZ3JvdW5kIjoiIzEyMTIxMkZGIiwicm91bmRuZXNzIjowLCJwYWRkaW5nVmVydGljYWwiOjJ9LCJ3aW5kb3ciOnsiY29sb3IiOiIjNzAwQTAwRkYiLCJwYWRkaW5nSG9yaXpvbnRhbCI6MTAsIndpZHRoIjo2MjAsImJvcmRlclBhZGRpbmciOjEwLCJib3JkZXJDb2xvciI6IiMwMDAwMDAzRiIsImJsdXIiOjAsInJvdW5kbmVzcyI6MTIsInBhZGRpbmdWZXJ0aWNhbCI6MTB9LCJjcmVkaXQiOiJCcm9va2UgS3VobG1hbm4iLCJzZXBhcmF0b3IiOnsiY29sb3IiOiIjMDAwMDAwNjYiLCJ0aGlja25lc3MiOjJ9LCJzY3JvbGxiYXIiOnsiY29sb3IiOiIjMDAwMDAwNjYiLCJ0aGlja25lc3MiOjJ9LCJuYW1lIjoiQWxjaGVtaXN0cyJ9fQ==[installed
171
+ directly].
166
172
 
167
173
  === Workflows
168
174
 
169
175
  Not all workflows require Pennyworth to run properly. For the workflows that _do_ require Pennyworth
170
176
  support, the following assumptions are made:
171
177
 
172
- 1. Your link:https://www.alchemists.io/projects/dotfiles[Dotfiles] are configured to use Bash and
173
- load your environment appropriately.
174
- 1. You have the latest version of Ruby and Pennyworth installed.
178
+ 1. Your link:https://www.alchemists.io/projects/dotfiles[Dotfiles] are configured to use
179
+ link:https://www.gnu.org/software/bash[Bash] and load your environment appropriately. Bash is not
180
+ a hard requirement, though. You can use _any shell_ you are comfortable with as long as you teach
181
+ Alfred to load your development environment before running the Alfred Workflow.
182
+ 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.
175
185
 
176
- With the above requirements in mind, you should only need to build an Alfred Script Filter that
177
- looks something like this:
186
+ With the above requirements in mind, the following sections document how to download and install all
187
+ Pennyworth workflows that are compatible with Alfred. Should you want to tweak any of these
188
+ workflows, you'd only need to edit an existing workflow or build your own with these settings:
178
189
 
179
- image:https://www.alchemists.io/images/projects/pennyworth/screenshots/alfred/script_filter.png[Script Filter,width=776,height=635,role=focal_point]
190
+ image:https://www.alchemists.io/images/projects/pennyworth/screenshots/script_filter.png[Script Filter,width=776,height=635,role=focal_point]
180
191
 
181
- That's all it takes to use Pennyworth as an Alfred script filter. 🎉 You don't have to do any of this
182
- work yourself. I've already built the corresponding workflows. The following sections will allow you
183
- to download and use the corresponding Alfred Workflows that are powered by Pennyworth.
192
+ Before diving into each workflow, I want to highlight that the following capabilities are available
193
+ to all workflows depending on what kind of item is currently selected within the Alfred UI:
184
194
 
185
- Before diving into each workflow, the following capabilties are mostly available to all workflows
186
- depending on what kind of item is selected in the script filter:
187
-
188
- * `SHIFT` or `COMMAND + y` will launch quick look for any URL based workflow.
189
- * `ENTER` or `COMMAND + c` will copy non-URL selections to clipboard.
190
- * `COMMAND + l` will launch large type of current selection.
195
+ * `SHIFT` or `COMMAND + y` will launch
196
+ link:https://www.alfredapp.com/help/features/previews[Quicklook] for any URL based workflow.
197
+ * `ENTER` or `COMMAND + c` will copy selections to clipboard (depends on context, though).
198
+ * `COMMAND + l` will launch link:https://www.alfredapp.com/help/features/large-type[Large Type] of
199
+ current selection.
191
200
  * `ENTER` Will either copy selection to clipboard or launch URL in default web browser.
192
201
 
193
202
  ==== Alchemists
194
203
 
195
- image:https://www.alchemists.io/images/projects/pennyworth/screenshots/alfred/alchemists-projects.png[Alchemists Projects,width=706,height=622,role=focal_point]
204
+ image:https://www.alchemists.io/images/projects/pennyworth/screenshots/alchemists-projects.png[Alchemists Projects,width=706,height=632,role=focal_point]
205
+
206
+ The official link:https://www.alchemists.io[Alchemists] workflow for site navigation.
196
207
 
197
- 1. link:https://www.alchemists.io/public/aflred/workflows/alchemists.alfredworkflow[Download] (right
198
- click).
199
- 1. Type `ax` to activate.
208
+ 1. link:https://www.alchemists.io/public/aflred/workflows/alchemists.alfredworkflow[Download] and
209
+ double click to install.
210
+ 2. Type `ax` to activate.
200
211
 
201
- 💡 Use `ENTER` to view site, `CONTROL` to view changes, `OPTION` to view source, and `COMMAND` to
212
+ 💡 Use `ENTER` to view site, `CONTROL` to view changes, `OPTION` to view source, or `COMMAND` to
202
213
  view issues.
203
214
 
204
215
  ==== Dry RB
205
216
 
206
- image:https://www.alchemists.io/images/projects/pennyworth/screenshots/alfred/dry-gems.png[Dry Gems,width=706,height=622,role=focal_point]
217
+ image:https://www.alchemists.io/images/projects/pennyworth/screenshots/dry-gems.png[Dry Gems,width=706,height=632,role=focal_point]
218
+
219
+ A link:https://dry-rb.org[Dry RB] workflow for navigating all of the Dry RB site.
207
220
 
208
- 1. link:https://www.alchemists.io/public/aflred/workflows/dry.alfredworkflow[Download] (right click).
209
- 1. Type `dry` to activate.
221
+ 1. link:https://www.alchemists.io/public/aflred/workflows/dry.alfredworkflow[Download] and double
222
+ click to install.
223
+ 2. Type `dry` to activate.
210
224
 
211
- 💡 Use `ENTER` to visit site, `CONTROL` to view changes, `OPTION` to view source, and `COMMAND` to
225
+ 💡 Use `ENTER` to visit site, `CONTROL` to view changes, `OPTION` to view source, or `COMMAND` to
212
226
  view issues.
213
227
 
214
- ==== Encodings
228
+ ==== Rubocop
215
229
 
216
- image:https://www.alchemists.io/images/projects/pennyworth/screenshots/alfred/encodings.png[Encodings,width=706,height=622,role=focal_point]
230
+ image:https://www.alchemists.io/images/projects/pennyworth/screenshots/rubocop-projects.png[Rubocop Projects,width=706,height=632,role=focal_point]
217
231
 
218
- 1. link:https://www.alchemists.io/public/aflred/workflows/ruby.alfredworkflow[Download] (right click).
219
- 1. Type `encodings` to activate.
232
+ A link:https://docs.rubocop.org/rubocop[Rubocop] workflow for quick access to documentation,
233
+ learning about project changes, viewing source code, etc.
220
234
 
221
- 💡 Use `ENTER` to copy label and `OPTION` to copy aliases to clipboard.
235
+ 1. link:https://www.alchemists.io/public/aflred/workflows/rubocop.alfredworkflow[Download] and
236
+ double click to install.
237
+ 2. Type `cop` to activate.
222
238
 
223
- ==== HTTP Statuses
239
+ 💡 Use `ENTER` to view site, `CONTROL` to view changes, `OPTION` to view source, or `COMMAND` to
240
+ view issues.
224
241
 
225
- image:https://www.alchemists.io/images/projects/pennyworth/screenshots/alfred/http_statuses.png[HTTP Statuses,width=706,height=622,role=focal_point]
242
+ ==== Ruby
226
243
 
227
- 1. link:https://www.alchemists.io/public/aflred/workflows/ruby.alfredworkflow[Download] (right click).
228
- 1. Type `https` to activate.
244
+ This workflow is feature packed and only requires a
245
+ link:https://www.alchemists.io/public/aflred/workflows/ruby.alfredworkflow[single download]. Once
246
+ downloaded, double click to install, and then continue reading to learn all of the
247
+ capabilities this single workflow provides.
229
248
 
230
- 💡 Use `ENTER` to copy symbol, `CONTROL` to copy code, `OPTION` to copy label, and `COMMAND` to view
231
- documentation.
249
+ ===== Bytes
232
250
 
233
- ==== Rubocop
251
+ image:https://www.alchemists.io/images/projects/pennyworth/screenshots/ruby-bytes.png[Bytes,width=706,height=200,role=focal_point]
234
252
 
235
- image:https://www.alchemists.io/images/projects/pennyworth/screenshots/alfred/rubocop-projects.png[Rubocop Projects,width=706,height=622,role=focal_point]
253
+ This keyword allows you to generate random bytes.
236
254
 
237
- 1. link:https://www.alchemists.io/public/aflred/workflows/rubocop.alfredworkflow[Download] (right
238
- click).
239
- 1. Type `cop` to activate.
255
+ Type `bytes` to activate and `ENTER` generate. You can supply an optional number for specific
256
+ length.
240
257
 
241
- 💡 Use `ENTER` to view site, `CONTROL` to view changes, `OPTION` to view source, and `COMMAND` to
242
- view issues.
258
+ ===== Encodings
259
+
260
+ image:https://www.alchemists.io/images/projects/pennyworth/screenshots/ruby-encodings.png[Encodings,width=706,height=632,role=focal_point]
261
+
262
+ This keyword allows you to quickly search for various encodings and/or their associated aliases to
263
+ use in your own code.
264
+
265
+ Type `encodings` to activate. Use `ENTER` to copy label or `OPTION` to copy associated aliases to
266
+ clipboard.
267
+
268
+ ===== Hex
269
+
270
+ image:https://www.alchemists.io/images/projects/pennyworth/screenshots/ruby-hex.png[Hex,width=706,height=200,role=focal_point]
271
+
272
+ This keyword allows you to generate a random hex string.
273
+
274
+ Type `hex` to activate and `ENTER` generate. You can supply an optional number for specific length.
275
+
276
+ ===== HTTP Statuses
277
+
278
+ image:https://www.alchemists.io/images/projects/pennyworth/screenshots/ruby-http_statuses.png[HTTP Statuses,width=706,height=632,role=focal_point]
279
+
280
+ This keyword allows you to look up statuses by code with quick access to the associated symbol for
281
+ use in your own code. Includes associated documentation for sharing or learning more. All HTTP
282
+ statuses are sourced from `Rack::Utils::HTTP_STATUS_CODES` which is why
283
+ link:https://rubygems.org/gems/rack[Rack] is a dependency of this gem and also why some codes might
284
+ not be present like these
285
+ link:https://en.wikipedia.org/wiki/List_of_HTTP_status_codes#Unofficial_codes[unofficial codes].
286
+
287
+ Type `https` to activate. Use `ENTER` to copy symbol, `CONTROL` to copy code, `OPTION` to copy
288
+ label, or `COMMAND` to view documentation.
289
+
290
+ ===== Number
291
+
292
+ image:https://www.alchemists.io/images/projects/pennyworth/screenshots/ruby-number.png[Hex,width=706,height=200,role=focal_point]
293
+
294
+ This keyword allows you to generate a random number.
295
+
296
+ Type `number` to activate and `ENTER` generate. You can supply an optional number for specific
297
+ length.
298
+
299
+ ===== Repeat
300
+
301
+ image:https://www.alchemists.io/images/projects/pennyworth/screenshots/ruby-repeat.png[Hex,width=706,height=200,role=focal_point]
302
+
303
+ This keyword allows you to generate a repeating sequence of the same character(s).
304
+
305
+ Type `repeat` to activate and `ENTER` generate. You must supply the character(s) you want to repeat
306
+ followed by a number indicating how many times you want the character(s) to repeat.
307
+
308
+ ===== System Errors
309
+
310
+ image:https://www.alchemists.io/images/projects/pennyworth/screenshots/ruby-system_errors.png[System Errors,width=706,height=632,role=focal_point]
311
+
312
+ This keyword allows you to search low-level system errors. Depending on which operating system you
313
+ are on, these errors will differ. Error IDs are provided for fuzzy searching since they are what
314
+ you'll most likely see in your stack dumps. The associated constant can be copied to clipboard for
315
+ use in your Ruby code.
316
+
317
+ Type `syserr` to activate. Use `ENTER` to copy constant, `CONTROL` to copy ID, `OPTION` to copy
318
+ description, or `COMMAND` to copy ID, name, and description.
319
+
320
+ ===== System Signals
321
+
322
+ image:https://www.alchemists.io/images/projects/pennyworth/screenshots/ruby-system_signals.png[System Signals,width=706,height=632,role=focal_point]
323
+
324
+ This keyword is for searching and acquiring the system signal you want to `trap` in your Ruby code.
325
+
326
+ Type `signals` to activate. Use `ENTER` to copy name, `OPTION` to copy ID, or `COMMAND` to copy ID
327
+ and name.
328
+
329
+ ===== Text
243
330
 
244
- ==== System Errors
331
+ image:https://www.alchemists.io/images/projects/pennyworth/screenshots/ruby-text.png[Text,width=706,height=632,role=focal_point]
245
332
 
246
- image:https://www.alchemists.io/images/projects/pennyworth/screenshots/alfred/system_errors.png[System Errors,width=706,height=622,role=focal_point]
333
+ This keyword is for is for basic text manipulation. Supply a string, phrase, or sentence and let
334
+ Pennyworth calculate all transformations and information you might need.
247
335
 
248
- 1. link:https://www.alchemists.io/public/aflred/workflows/ruby.alfredworkflow[Download] (right click).
249
- 1. Type `syserr` to activate.
336
+ Type `text` to activate plus andy string or phrase to transform. Use `ENTER` to copy text to
337
+ clipboard.
250
338
 
251
- 💡 Use `ENTER` to copy constant/class, `CONTROL` to copy ID, `OPTION` to copy description, and
252
- `COMMAND` to copy ID, name, and description.
339
+ ===== UUID
253
340
 
254
- ==== System Signals
341
+ image:https://www.alchemists.io/images/projects/pennyworth/screenshots/ruby-uuid.png[Hex,width=706,height=200,role=focal_point]
255
342
 
256
- image:https://www.alchemists.io/images/projects/pennyworth/screenshots/alfred/system_signals.png[System Signals,width=706,height=622,role=focal_point]
343
+ This keyword allows you to generate a random Universally Unique IDentifier (UUID).
257
344
 
258
- 1. link:https://www.alchemists.io/public/aflred/workflows/ruby.alfredworkflow[Download] (right
259
- click).
260
- 1. Type `signals` to activate.
345
+ Type `uuid` to activate and `ENTER` generate.
261
346
 
262
- 💡 Use `ENTER` to copy name, `OPTION` to copy ID, and `COMMAND` to copy ID and name.
347
+ ==== Other
263
348
 
264
- ==== Text
349
+ The following workflows don't require Pennyworth support but are provided for convenience in case
350
+ they are of interest/aid to your own productivity. Click each link to download and then double click
351
+ to install:
265
352
 
266
- image:https://www.alchemists.io/images/projects/pennyworth/screenshots/alfred/text.png[Text,width=706,height=622,role=focal_point]
353
+ * link:https://www.alchemists.io/public/aflred/workflows/acronyms.alfredworkflow[Acronyms] - Expands
354
+ acronyms into full explanations so you can think and type in terms of an acronym but appear as if
355
+ you typed out the full definition each time.
356
+ * https://www.alchemists.io/public/aflred/workflows/alpine.alfredworkflow[Alpine] - Provides
357
+ link:https://www.alpinelinux.org[Alpine Linux] resources.
358
+ * link:https://www.alchemists.io/public/aflred/workflows/applications.alfredworkflow[Applications] -
359
+ Launches development environment but can be tweaked for your preferences. Using Alfred in this
360
+ manner ensures your machine boots or restarts quickly and gives you more control over what is
361
+ launched.
362
+ * link:https://www.alchemists.io/public/aflred/workflows/browsers.alfredworkflow[Browsers] -
363
+ Provides browser related utilities.
364
+ * link:https://www.alchemists.io/public/aflred/workflows/hanami.alfredworkflow[Hanami] - Provides
365
+ link:https://hanamirb.org[Hanami] resources.
366
+ * link:https://www.alchemists.io/public/aflred/workflows/chlli.alfredworkflow[chi.li] - Shortens
367
+ URLs.
368
+ * link:https://www.alchemists.io/public/aflred/workflows/docker.alfredworkflow[Docker] - Provides
369
+ link:https://www.docker.com[Docker] resources.
370
+ * link:https://www.alchemists.io/public/aflred/workflows/mac_os.alfredworkflow[macOS] - Provides
371
+ macOS utilities.
372
+ * link:https://www.alchemists.io/public/aflred/workflows/terraform.alfredworkflow[Terraform] -
373
+ Provides link:https://www.terraform.io[Terraform] resources.
374
+ * link:https://www.alchemists.io/public/aflred/workflows/text.alfredworkflow[Text] - Provides
375
+ general text manipulation utilities beyond the Pennyworth powered _text_ keyword (mentioned
376
+ earlier).
267
377
 
268
- 1. link:https://www.alchemists.io/public/aflred/workflows/ruby.alfredworkflow[Download] (right
269
- click).
270
- 1. Type `text` plus your text to transform to activate.
378
+ == Troubleshooting
271
379
 
272
- 💡 Use `ENTER` to copy text to clipboard.
380
+ * link:https://github.com/ruby/psych[Psych] 4.0.0 has a
381
+ 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.
384
+ * When your Alfred Workflow yields no output, you might want to open the
385
+ link:https://www.alfredapp.com/help/workflows/utilities/debug[Alfred Debugger], rerun your
386
+ workflow, and check for errors. You can also jump to the CLI and run Pennyworth directly.
387
+ * If you get GitHub authorization errors, make sure you have defined the appropriate credentials
388
+ (mentioned earlier) for both within your shell where you are running Pennyworth or within the
389
+ Alfred Workflow environment.
273
390
 
274
391
  == Development
275
392
 
@@ -9,8 +9,8 @@
9
9
  - "Mac Os Config": "macOS Configuration"
10
10
  - "Mac Os": "MacOS"
11
11
  - "Prawn Plus": "Prawn+"
12
- - "Rubocop Ast": "Rubocop AST"
13
- - "Rubocop Md": "Rubocop Markdown"
12
+ - "Rubocop Ast": "Rubocop AST"
13
+ - "Rubocop Md": "Rubocop Markdown"
14
14
  - "Rubocop Rspec": "Rubocop RSpec"
15
15
  - "Xdg": "XDG"
16
16
  :git_hub:
@@ -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.0"
9
+ VERSION = "11.0.1"
10
10
  VERSION_LABEL = "#{LABEL} #{VERSION}"
11
11
  end
12
12
  end
@@ -9,7 +9,7 @@ module Pennyworth
9
9
  @overrides = overrides
10
10
  end
11
11
 
12
- def call(key) = overrides.fetch(key) { |missing_key| missing_key }
12
+ def call(key) = overrides.fetch(key) { |fallback| fallback }
13
13
 
14
14
  private
15
15
 
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.0
4
+ version: 11.0.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-06-03 00:00:00.000000000 Z
31
+ date: 2021-06-05 00:00:00.000000000 Z
32
32
  dependencies:
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: dry-container
@@ -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.18
216
+ rubygems_version: 3.2.19
217
217
  signing_key:
218
218
  specification_version: 4
219
219
  summary: A command line interface that augments Alfred workflows.
metadata.gz.sig CHANGED
@@ -1,2 +1,2 @@
1
- H3_�(]�g*
2
- b�%� ��W��x)�ע�����@A+�\��6�$���� ���b��.�T7�����b��'˲�%0I%
1
+ {bm0����ץ����:�����(
2
+ �>���pn�?�rw@�6�x�;)Z�<�΅�YI£Ӡ�|��}�t�7Q�j��,$��k!%-�L��Tj�._!�XEPn���k$�Ղ��