pennyworth 13.4.0 → 13.5.0
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 +4 -4
- checksums.yaml.gz.sig +0 -0
- data/README.adoc +11 -1
- data/lib/pennyworth/configuration/defaults.yml +1 -1
- data/lib/pennyworth/presenters/gem.rb +4 -8
- data/lib/pennyworth/serializers/encoding.rb +5 -3
- data/pennyworth.gemspec +1 -1
- data.tar.gz.sig +0 -0
- metadata +3 -3
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 64bd73512d764d2120bf1305eb76f39af603dfe17a080eb71cb86b04ea658486
|
|
4
|
+
data.tar.gz: 484adaa563add99da0406490c4439fabc8c109339704d2caa857fe0f67448428
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e8917108db9c4d24c020fb8d1ea0ebf9f54b5e034d9bc8d1233cab44dfddb7d82d5db38c9a331c0c8b1e494cef8d7eba8ae7a2c234e363ddf5522d5cd4143795
|
|
7
|
+
data.tar.gz: b5046a86c01d01cda85b29a3a3f4cde8831f78ac7711c788a21289407efe8cbb75900c7a8aa8ca3eb8f236eb9847d42e1e0c05f751967b0e6a948fc574299a9a
|
checksums.yaml.gz.sig
CHANGED
|
Binary file
|
data/README.adoc
CHANGED
|
@@ -181,7 +181,7 @@ The default configuration is as follows:
|
|
|
181
181
|
:user:
|
|
182
182
|
:http:
|
|
183
183
|
:statuses:
|
|
184
|
-
:url: "https://
|
|
184
|
+
:url: "https://developer.mozilla.org/docs/Web/HTTP/Status"
|
|
185
185
|
:ruby_gems:
|
|
186
186
|
:api_url: "https://rubygems.org/api/v1"
|
|
187
187
|
:owner:
|
|
@@ -339,6 +339,16 @@ Provides quick access to link:https://bundler.io[Bundler] related resources.
|
|
|
339
339
|
double click to install.
|
|
340
340
|
2. Click on _Configure Workflow_ to configure the workflow and view documentation.
|
|
341
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.
|
|
351
|
+
|
|
342
352
|
===== Crystal
|
|
343
353
|
|
|
344
354
|
image:https://www.alchemists.io/images/projects/pennyworth/screenshots/crystal.png[Crystal workflow screenshot.,width=706,height=632,role=focal_point]
|
|
@@ -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
|
|
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__)).
|
|
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
|
|
32
|
+
def aliases = presenter.aliases
|
|
31
33
|
end
|
|
32
34
|
end
|
|
33
35
|
end
|
data/pennyworth.gemspec
CHANGED
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.
|
|
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-
|
|
31
|
+
date: 2022-08-01 00:00:00.000000000 Z
|
|
32
32
|
dependencies:
|
|
33
33
|
- !ruby/object:Gem::Dependency
|
|
34
34
|
name: auto_injector
|
|
@@ -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.
|
|
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
|