pennyworth 18.5.0 → 18.7.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 +16 -57
- data/lib/pennyworth/cli/actions/rodauth.rb +20 -0
- data/lib/pennyworth/cli/shell.rb +1 -0
- data/lib/pennyworth/configuration/contract.rb +2 -0
- data/lib/pennyworth/configuration/defaults.yml +3 -19
- data/lib/pennyworth/configuration/model.rb +2 -0
- data/lib/pennyworth/container.rb +12 -0
- data/lib/pennyworth/loaders/htmx.rb +3 -9
- data/lib/pennyworth/loaders/rodauth.rb +54 -0
- data/lib/pennyworth/models/rodauth.rb +8 -0
- data/lib/pennyworth/presenters/rodauth.rb +24 -0
- data/lib/pennyworth/serializers/rodauth.rb +52 -0
- data/pennyworth.gemspec +2 -2
- data.tar.gz.sig +0 -0
- metadata +9 -4
- 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: 563b72c39493cf485d4e92dbc25bd742d61cd1b4b5728859f87feb76811f5bfa
|
4
|
+
data.tar.gz: 2f78cf2024b5be52b117302495bb58d1de10f77855c2e73aa7f6d2b1405b6da2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5f5cdd66990ecb3b24ebcabebd0bd4786880f41bff9a0c7dd01262dfa9ae92208b09a9c5b4330cfcbba84366841ea054ccd7192356a0382b875b85513e60ae06
|
7
|
+
data.tar.gz: bd901e0ce0dfc6a069ae2fe81cde9d15d159d17718847d125e5a50b58bb872e01553dd31d00ec26c3c6b0561935b0d00d9391e4541607a18d53aab49fa42b344
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data/README.adoc
CHANGED
@@ -107,13 +107,6 @@ The default configuration is as follows:
|
|
107
107
|
inflections:
|
108
108
|
- "Base64": "Base64"
|
109
109
|
- "Bigdecimal": "BigDecimal"
|
110
|
-
- "Byod": "BYOD"
|
111
|
-
- "Byos Django": "BYOS Django"
|
112
|
-
- "Byos Hanami": "Terminus"
|
113
|
-
- "Byos Laravel": "BYOS Laravel"
|
114
|
-
- "Byos Next": "BYOS Next"
|
115
|
-
- "Byos Phoenix": "BYOS Phoenix"
|
116
|
-
- "Byos Sinatra": "BYOS Sinatra"
|
117
110
|
- "Cgi": "CGI"
|
118
111
|
- "Cmath": "CMath"
|
119
112
|
- "Csv": "CSV"
|
@@ -134,6 +127,7 @@ inflections:
|
|
134
127
|
- "Irb": "IRB"
|
135
128
|
- "Irb Kit": "IRB Kit"
|
136
129
|
- "Json": "JSON"
|
130
|
+
- "Kagi Api": "Kagi API"
|
137
131
|
- "Mac Os Config": "macOS Configuration"
|
138
132
|
- "Mac Os": "MacOS"
|
139
133
|
- "Net Ftp": "Net FTP"
|
@@ -146,9 +140,7 @@ inflections:
|
|
146
140
|
- "Openssl": "OpenSSL"
|
147
141
|
- "Optparse": "Option Parser"
|
148
142
|
- "Ostruct": "OpenStruct"
|
149
|
-
- "Pkce": "PKCE"
|
150
143
|
- "Pp": "PP"
|
151
|
-
- "Prawn Plus": "Prawn+"
|
152
144
|
- "Prettyprint": "Pretty Print"
|
153
145
|
- "Pstore": "PStore"
|
154
146
|
- "Rbs": "RBS"
|
@@ -175,13 +167,6 @@ inflections:
|
|
175
167
|
- "Tempfile": "Temporary File"
|
176
168
|
- "Thwait": "Threads Wait"
|
177
169
|
- "Tmpdir": "Temporary Directory"
|
178
|
-
- "Trmnl Api": "TRMNL API"
|
179
|
-
- "Trmnl Chrome": "TRMNL Chrome"
|
180
|
-
- "Trmnl Component": "TRMNL Component"
|
181
|
-
- "Trmnl Display": "TRMNL Display"
|
182
|
-
- "Trmnl I18n": "TRMNL i18n"
|
183
|
-
- "Trmnl Kindle": "TRMNL Kindle"
|
184
|
-
- "Trmnlp": "TRMNL Preview"
|
185
170
|
- "Tsort": "TSort"
|
186
171
|
- "Typeprof": "Type Profiler"
|
187
172
|
- "Un": "un"
|
@@ -201,6 +186,9 @@ htmx:
|
|
201
186
|
extensions_uri: "%<htmx_site_uri>s/extensions"
|
202
187
|
references_uri: "%<htmx_site_uri>s/reference"
|
203
188
|
site_uri: "https://htmx.org"
|
189
|
+
rodauth:
|
190
|
+
site_uri: "https://rodauth.jeremyevans.net"
|
191
|
+
documentation_uri: "%<rodauth_site_uri>s/documentation.html"
|
204
192
|
ruby_gems:
|
205
193
|
api_uri: "https://rubygems.org/api/v1"
|
206
194
|
standard_gems:
|
@@ -284,6 +272,16 @@ Provides quick access to the {htmx_link} JavaScript library.
|
|
284
272
|
double click to install.
|
285
273
|
2. Click on _Configure Workflow_ to view documentation.
|
286
274
|
|
275
|
+
===== Rodauth
|
276
|
+
|
277
|
+
image:https://alchemists.io/images/projects/pennyworth/screenshots/rodauth.webp[Rodauth workflow screenshot.,width=706,height=631,role=focal_point]
|
278
|
+
|
279
|
+
Provides quick access to the link:https://rodauth.jeremyevans.net[Rodauth] web framework.
|
280
|
+
|
281
|
+
1. link:https://alchemists.io/public/alfred/workflows/rodauth.alfredworkflow[Download] and double
|
282
|
+
click to install.
|
283
|
+
2. Click on _Configure Workflow_ to view documentation.
|
284
|
+
|
287
285
|
===== RuboCop
|
288
286
|
|
289
287
|
image:https://alchemists.io/images/projects/pennyworth/screenshots/rubocop-projects.png[Rubocop Projects,width=706,height=632,role=focal_point]
|
@@ -304,16 +302,6 @@ Provides quick access to link:https://www.ruby-lang.org[Ruby] resources.
|
|
304
302
|
double click to install.
|
305
303
|
2. Click on _Configure Workflow_ to view documentation.
|
306
304
|
|
307
|
-
===== TRMNL
|
308
|
-
|
309
|
-
image:https://alchemists.io/images/projects/pennyworth/screenshots/trmnl.png[TRMNL workflow screenshot.,width=706,height=631,role=focal_point]
|
310
|
-
|
311
|
-
Provides quick access to link:https://usetrmnl.com[TRMNL] resources.
|
312
|
-
|
313
|
-
1. link:https://alchemists.io/public/alfred/workflows/trmnl.alfredworkflow[Download] and
|
314
|
-
double click to install.
|
315
|
-
2. Click on _Configure Workflow_ to view documentation.
|
316
|
-
|
317
305
|
==== Ruby Optional
|
318
306
|
|
319
307
|
The following workflows don't require {ruby_link} -- or this gem -- to use but are provided for convenience in case they can augment your own workflow further.
|
@@ -439,16 +427,6 @@ Provides quick access to link:https://elm-lang.org[Elm] resources.
|
|
439
427
|
click to install.
|
440
428
|
2. Click on _Configure Workflow_ to view documentation.
|
441
429
|
|
442
|
-
===== Farnam Street
|
443
|
-
|
444
|
-
image:https://alchemists.io/images/projects/pennyworth/screenshots/farnam_street.png[Farnam Street workflow screenshot.,width=706,height=631,role=focal_point]
|
445
|
-
|
446
|
-
Provides quick access to link:https://fs.blog[Farnam Street] resources.
|
447
|
-
|
448
|
-
1. link:https://alchemists.io/public/alfred/workflows/farnam_street.alfredworkflow[Download] and
|
449
|
-
double click to install.
|
450
|
-
2. Click on _Configure Workflow_ to view documentation.
|
451
|
-
|
452
430
|
===== Git
|
453
431
|
|
454
432
|
image:https://alchemists.io/images/projects/pennyworth/screenshots/git.png[Git workflow screenshot.,width=706,height=523,role=focal_point]
|
@@ -521,7 +499,7 @@ Provides quick access to macOS resources.
|
|
521
499
|
|
522
500
|
===== PostgreSQL
|
523
501
|
|
524
|
-
image:https://alchemists.io/images/projects/pennyworth/screenshots/postgresql.
|
502
|
+
image:https://alchemists.io/images/projects/pennyworth/screenshots/postgresql.webp[PostgreSQL workflow screenshot.,width=706,height=577,role=focal_point]
|
525
503
|
|
526
504
|
Provides quick access to link:https://www.postgresql.org[PostgreSQL] resources.
|
527
505
|
|
@@ -541,7 +519,7 @@ Provides quick access to link:https://github.com/rack/rack[Rack] resources.
|
|
541
519
|
|
542
520
|
===== Roda
|
543
521
|
|
544
|
-
image:https://alchemists.io/images/projects/pennyworth/screenshots/roda.
|
522
|
+
image:https://alchemists.io/images/projects/pennyworth/screenshots/roda.webp[Roda workflow screenshot.,width=706,height=415,role=focal_point]
|
545
523
|
|
546
524
|
Provides quick access to the link:http://roda.jeremyevans.net[Roda] web framework.
|
547
525
|
|
@@ -569,15 +547,6 @@ Provides quick access to link:https://rspec.info[RSpec] resources.
|
|
569
547
|
click to install.
|
570
548
|
2. Click on _Configure Workflow_ to view documentation.
|
571
549
|
|
572
|
-
===== Ruby on Rails
|
573
|
-
|
574
|
-
image:https://alchemists.io/images/projects/pennyworth/screenshots/ruby_on_rails.png[Ruby on Rails workflow screenshot.,width=706,height=524,role=focal_point]
|
575
|
-
|
576
|
-
Provides access to the link:https://https://rubyonrails.org[Ruby on Rails] web framework.
|
577
|
-
|
578
|
-
1. link:https://alchemists.io/public/alfred/workflows/ruby_on_rails.alfredworkflow[Download] and double click to install.
|
579
|
-
2. Click on _Configure Workflow_ to view documentation.
|
580
|
-
|
581
550
|
===== Search
|
582
551
|
|
583
552
|
image:https://alchemists.io/images/projects/pennyworth/screenshots/search.png[Search workflow screenshot.,width=706,height=631,role=focal_point]
|
@@ -607,16 +576,6 @@ Provides quick access to SSL resources for the security conscious.
|
|
607
576
|
1. link:https://alchemists.io/public/alfred/workflows/ssl.alfredworkflow[Download] and double click to install.
|
608
577
|
2. Click on _Configure Workflow_ to view documentation.
|
609
578
|
|
610
|
-
===== Tana
|
611
|
-
|
612
|
-
image:https://alchemists.io/images/projects/pennyworth/screenshots/tana.png[Tana workflow screenshot.,width=706,height=631,role=focal_point]
|
613
|
-
|
614
|
-
Provides quick access to link:https://tana.inc[Tana] resources.
|
615
|
-
|
616
|
-
1. link:https://alchemists.io/public/alfred/workflows/tana.alfredworkflow[Download] and
|
617
|
-
double click to install.
|
618
|
-
2. Click on _Configure Workflow_ to view documentation.
|
619
|
-
|
620
579
|
===== Terraform
|
621
580
|
|
622
581
|
image:https://alchemists.io/images/projects/pennyworth/screenshots/terraform.png[Terraform workflow screenshot.,width=706,height=632,role=focal_point]
|
@@ -0,0 +1,20 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require "sod"
|
4
|
+
|
5
|
+
module Pennyworth
|
6
|
+
module CLI
|
7
|
+
module Actions
|
8
|
+
# Handles Rodauth feature action.
|
9
|
+
class Rodauth < Sod::Action
|
10
|
+
include Dependencies[:settings, :io, processor: "processors.rodauth"]
|
11
|
+
|
12
|
+
description "Render Alfred Rodauth script filter."
|
13
|
+
|
14
|
+
on "--rodauth"
|
15
|
+
|
16
|
+
def call(*) = io.puts processor.call(settings.rodauth_documentation_uri).to_json
|
17
|
+
end
|
18
|
+
end
|
19
|
+
end
|
20
|
+
end
|
data/lib/pennyworth/cli/shell.rb
CHANGED
@@ -17,6 +17,8 @@ module Pennyworth
|
|
17
17
|
required(:htmx_extensions_uri).filled :string
|
18
18
|
required(:htmx_references_uri).filled :string
|
19
19
|
required(:htmx_site_uri).filled :string
|
20
|
+
required(:rodauth_site_uri).filled :string
|
21
|
+
required(:rodauth_documentation_uri).filled :string
|
20
22
|
required(:ruby_gems_api_uri).filled :string
|
21
23
|
optional(:ruby_gems_owner).filled :string
|
22
24
|
required(:standard_gems_api_uri).filled :string
|
@@ -1,13 +1,6 @@
|
|
1
1
|
inflections:
|
2
2
|
- "Base64": "Base64"
|
3
3
|
- "Bigdecimal": "BigDecimal"
|
4
|
-
- "Byod": "BYOD"
|
5
|
-
- "Byos Django": "BYOS Django"
|
6
|
-
- "Byos Hanami": "Terminus"
|
7
|
-
- "Byos Laravel": "BYOS Laravel"
|
8
|
-
- "Byos Next": "BYOS Next"
|
9
|
-
- "Byos Phoenix": "BYOS Phoenix"
|
10
|
-
- "Byos Sinatra": "BYOS Sinatra"
|
11
4
|
- "Cgi": "CGI"
|
12
5
|
- "Cmath": "CMath"
|
13
6
|
- "Csv": "CSV"
|
@@ -41,9 +34,7 @@ inflections:
|
|
41
34
|
- "Openssl": "OpenSSL"
|
42
35
|
- "Optparse": "Option Parser"
|
43
36
|
- "Ostruct": "OpenStruct"
|
44
|
-
- "Pkce": "PKCE"
|
45
37
|
- "Pp": "PP"
|
46
|
-
- "Prawn Plus": "Prawn+"
|
47
38
|
- "Prettyprint": "Pretty Print"
|
48
39
|
- "Pstore": "PStore"
|
49
40
|
- "Rbs": "RBS"
|
@@ -70,16 +61,6 @@ inflections:
|
|
70
61
|
- "Tempfile": "Temporary File"
|
71
62
|
- "Thwait": "Threads Wait"
|
72
63
|
- "Tmpdir": "Temporary Directory"
|
73
|
-
- "Trmnl Android": "TRMNL Android"
|
74
|
-
- "Trmnl Api": "TRMNL API"
|
75
|
-
- "Trmnl Chrome": "TRMNL Chrome"
|
76
|
-
- "Trmnl Component": "TRMNL Component"
|
77
|
-
- "Trmnl Display": "TRMNL Display"
|
78
|
-
- "Trmnl Firmware": "TRMNL Firmware"
|
79
|
-
- "Trmnl I18n": "TRMNL i18n"
|
80
|
-
- "Trmnl Kindle": "TRMNL Kindle"
|
81
|
-
- "Trmnl Kobo": "TRMNL Kobo"
|
82
|
-
- "Trmnlp": "TRMNL Preview"
|
83
64
|
- "Tsort": "TSort"
|
84
65
|
- "Typeprof": "Type Profiler"
|
85
66
|
- "Un": "un"
|
@@ -99,6 +80,9 @@ htmx:
|
|
99
80
|
extensions_uri: "%<htmx_site_uri>s/extensions"
|
100
81
|
references_uri: "%<htmx_site_uri>s/reference"
|
101
82
|
site_uri: "https://htmx.org"
|
83
|
+
rodauth:
|
84
|
+
site_uri: "https://rodauth.jeremyevans.net"
|
85
|
+
documentation_uri: "%<rodauth_site_uri>s/documentation.html"
|
102
86
|
ruby_gems:
|
103
87
|
api_uri: "https://rubygems.org/api/v1"
|
104
88
|
standard_gems:
|
data/lib/pennyworth/container.rb
CHANGED
@@ -4,6 +4,7 @@ require "cogger"
|
|
4
4
|
require "containable"
|
5
5
|
require "etcher"
|
6
6
|
require "http"
|
7
|
+
require "ox"
|
7
8
|
require "runcom"
|
8
9
|
require "spek"
|
9
10
|
|
@@ -19,6 +20,7 @@ module Pennyworth
|
|
19
20
|
.add_transformer(:format, :htmx_examples_uri)
|
20
21
|
.add_transformer(:format, :htmx_extensions_uri)
|
21
22
|
.add_transformer(:format, :htmx_references_uri)
|
23
|
+
.add_transformer(:format, :rodauth_documentation_uri)
|
22
24
|
end
|
23
25
|
|
24
26
|
namespace :processors do
|
@@ -52,6 +54,12 @@ module Pennyworth
|
|
52
54
|
serializer: Serializers::Project
|
53
55
|
end
|
54
56
|
|
57
|
+
register :rodauth do
|
58
|
+
Processor.new loader: Loaders::Rodauth.new,
|
59
|
+
presenter: Presenters::Rodauth,
|
60
|
+
serializer: Serializers::Rodauth
|
61
|
+
end
|
62
|
+
|
55
63
|
register :standard_gem do
|
56
64
|
Processor.new loader: Loaders::StandardGem.new,
|
57
65
|
presenter: Presenters::StandardGem,
|
@@ -83,6 +91,10 @@ module Pennyworth
|
|
83
91
|
end
|
84
92
|
end
|
85
93
|
|
94
|
+
register :ox do
|
95
|
+
Ox.tap { |ox| ox.default_options = {mode: :generic, effort: :tolerant, smart: true} }
|
96
|
+
end
|
97
|
+
|
86
98
|
register(:settings) { Etcher.call(self[:registry]).dup }
|
87
99
|
register(:specification) { Spek::Loader.call "#{__dir__}/../../pennyworth.gemspec" }
|
88
100
|
register(:defaults_path) { Pathname(__dir__).join("configuration/defaults.yml") }
|
@@ -1,21 +1,16 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
3
|
require "core"
|
4
|
-
require "ox"
|
5
4
|
require "refinements/string"
|
6
5
|
|
7
6
|
module Pennyworth
|
8
7
|
module Loaders
|
9
8
|
# Loads htmx documentation by scraping web page.
|
10
9
|
class HTMX
|
11
|
-
include Dependencies[:http, :settings]
|
10
|
+
include Dependencies[:http, :settings, parser: :ox]
|
12
11
|
|
13
12
|
using Refinements::String
|
14
13
|
|
15
|
-
PARSER = Ox.tap do |ox|
|
16
|
-
ox.default_options = {mode: :generic, effort: :tolerant, smart: true}
|
17
|
-
end
|
18
|
-
|
19
14
|
def self.text_for element
|
20
15
|
parts = element.each.with_object [] do |item, content|
|
21
16
|
text = if item.is_a? Ox::Element
|
@@ -30,8 +25,7 @@ module Pennyworth
|
|
30
25
|
parts.join.up.delete_suffix "."
|
31
26
|
end
|
32
27
|
|
33
|
-
def initialize(
|
34
|
-
@parser = parser
|
28
|
+
def initialize(model: Models::HTMX, **)
|
35
29
|
@model = model
|
36
30
|
super(**)
|
37
31
|
end
|
@@ -46,7 +40,7 @@ module Pennyworth
|
|
46
40
|
|
47
41
|
private
|
48
42
|
|
49
|
-
attr_reader :
|
43
|
+
attr_reader :model
|
50
44
|
|
51
45
|
def read uri
|
52
46
|
http.follow.get(uri).then do |response|
|
@@ -0,0 +1,54 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require "core"
|
4
|
+
require "refinements/pathname"
|
5
|
+
require "refinements/string"
|
6
|
+
|
7
|
+
module Pennyworth
|
8
|
+
module Loaders
|
9
|
+
# Loads Rodauth documentation by scraping the web page.
|
10
|
+
class Rodauth
|
11
|
+
include Dependencies[:http, :settings, parser: :ox]
|
12
|
+
|
13
|
+
using Refinements::String
|
14
|
+
using Refinements::Pathname
|
15
|
+
|
16
|
+
def initialize(model: Models::Rodauth, **)
|
17
|
+
@model = model
|
18
|
+
super(**)
|
19
|
+
end
|
20
|
+
|
21
|
+
def call uri
|
22
|
+
read(uri).each.with_object([]) { |item, entries| entries.append record_for(item) }
|
23
|
+
end
|
24
|
+
|
25
|
+
private
|
26
|
+
|
27
|
+
attr_reader :model
|
28
|
+
|
29
|
+
def read uri
|
30
|
+
http.get(uri).then do |response|
|
31
|
+
[200, 301].include?(response.status) ? parse_items(response.body.to_s) : Core::EMPTY_ARRAY
|
32
|
+
end
|
33
|
+
end
|
34
|
+
|
35
|
+
def parse_items document
|
36
|
+
parser.parse(document).root.body.div.ul.nodes
|
37
|
+
rescue NoMethodError
|
38
|
+
Core::EMPTY_ARRAY
|
39
|
+
end
|
40
|
+
|
41
|
+
def record_for item
|
42
|
+
link = item.a
|
43
|
+
uri = "#{settings.rodauth_site_uri}/#{link.href}"
|
44
|
+
|
45
|
+
model[
|
46
|
+
name: Pathname(uri).name.to_s.delete_suffix("_rdoc"),
|
47
|
+
label: link.text,
|
48
|
+
description: item.text.delete_prefix(": "),
|
49
|
+
uri:
|
50
|
+
]
|
51
|
+
end
|
52
|
+
end
|
53
|
+
end
|
54
|
+
end
|
@@ -0,0 +1,24 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require "forwardable"
|
4
|
+
|
5
|
+
module Pennyworth
|
6
|
+
module Presenters
|
7
|
+
# Shapes a Rodauth record for serialization.
|
8
|
+
class Rodauth
|
9
|
+
extend Forwardable
|
10
|
+
|
11
|
+
delegate %i[name label description uri] => :record
|
12
|
+
|
13
|
+
def initialize record
|
14
|
+
@record = record
|
15
|
+
end
|
16
|
+
|
17
|
+
alias id name
|
18
|
+
|
19
|
+
private
|
20
|
+
|
21
|
+
attr_reader :record
|
22
|
+
end
|
23
|
+
end
|
24
|
+
end
|
@@ -0,0 +1,52 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module Pennyworth
|
4
|
+
module Serializers
|
5
|
+
# Serializes a Rodauth presenter for parsing by Alfred script filters.
|
6
|
+
class Rodauth
|
7
|
+
def initialize presenter
|
8
|
+
@presenter = presenter
|
9
|
+
end
|
10
|
+
|
11
|
+
def to_h
|
12
|
+
{
|
13
|
+
uid: presenter.id,
|
14
|
+
title: presenter.label,
|
15
|
+
subtitle: presenter.description,
|
16
|
+
arg: site_uri,
|
17
|
+
quicklookurl: site_uri,
|
18
|
+
mods: modifications,
|
19
|
+
text:
|
20
|
+
}
|
21
|
+
end
|
22
|
+
|
23
|
+
private
|
24
|
+
|
25
|
+
attr_reader :presenter
|
26
|
+
|
27
|
+
def modifications
|
28
|
+
{
|
29
|
+
alt: modification(presenter.label, "Copy label."),
|
30
|
+
cmd: modification(presenter.description, "Copy description."),
|
31
|
+
control: modification(presenter.name, "Copy name.")
|
32
|
+
}
|
33
|
+
end
|
34
|
+
|
35
|
+
def modification argument, subtitle
|
36
|
+
{
|
37
|
+
subtitle:,
|
38
|
+
arg: argument
|
39
|
+
}
|
40
|
+
end
|
41
|
+
|
42
|
+
def text
|
43
|
+
{
|
44
|
+
copy: site_uri,
|
45
|
+
largetype: site_uri
|
46
|
+
}
|
47
|
+
end
|
48
|
+
|
49
|
+
def site_uri = presenter.uri
|
50
|
+
end
|
51
|
+
end
|
52
|
+
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 = "18.
|
5
|
+
spec.version = "18.7.0"
|
6
6
|
spec.authors = ["Brooke Kuhlmann"]
|
7
7
|
spec.email = ["brooke@alchemists.io"]
|
8
8
|
spec.homepage = "https://alchemists.io/projects/pennyworth"
|
@@ -32,7 +32,7 @@ Gem::Specification.new do |spec|
|
|
32
32
|
spec.add_dependency "infusible", "~> 4.0"
|
33
33
|
spec.add_dependency "ox", "~> 2.14"
|
34
34
|
spec.add_dependency "rack", "~> 3.1"
|
35
|
-
spec.add_dependency "refinements", "~> 13.
|
35
|
+
spec.add_dependency "refinements", "~> 13.5"
|
36
36
|
spec.add_dependency "runcom", "~> 12.0"
|
37
37
|
spec.add_dependency "sod", "~> 1.0"
|
38
38
|
spec.add_dependency "spek", "~> 4.0"
|
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: 18.
|
4
|
+
version: 18.7.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Brooke Kuhlmann
|
@@ -167,14 +167,14 @@ dependencies:
|
|
167
167
|
requirements:
|
168
168
|
- - "~>"
|
169
169
|
- !ruby/object:Gem::Version
|
170
|
-
version: '13.
|
170
|
+
version: '13.5'
|
171
171
|
type: :runtime
|
172
172
|
prerelease: false
|
173
173
|
version_requirements: !ruby/object:Gem::Requirement
|
174
174
|
requirements:
|
175
175
|
- - "~>"
|
176
176
|
- !ruby/object:Gem::Version
|
177
|
-
version: '13.
|
177
|
+
version: '13.5'
|
178
178
|
- !ruby/object:Gem::Dependency
|
179
179
|
name: runcom
|
180
180
|
requirement: !ruby/object:Gem::Requirement
|
@@ -252,6 +252,7 @@ files:
|
|
252
252
|
- lib/pennyworth/cli/actions/htmx/extension.rb
|
253
253
|
- lib/pennyworth/cli/actions/htmx/reference.rb
|
254
254
|
- lib/pennyworth/cli/actions/http_status.rb
|
255
|
+
- lib/pennyworth/cli/actions/rodauth.rb
|
255
256
|
- lib/pennyworth/cli/actions/standard_error.rb
|
256
257
|
- lib/pennyworth/cli/actions/standard_gem.rb
|
257
258
|
- lib/pennyworth/cli/actions/system/error.rb
|
@@ -269,6 +270,7 @@ files:
|
|
269
270
|
- lib/pennyworth/loaders/git_hub.rb
|
270
271
|
- lib/pennyworth/loaders/htmx.rb
|
271
272
|
- lib/pennyworth/loaders/http_status.rb
|
273
|
+
- lib/pennyworth/loaders/rodauth.rb
|
272
274
|
- lib/pennyworth/loaders/standard_error.rb
|
273
275
|
- lib/pennyworth/loaders/standard_gem.rb
|
274
276
|
- lib/pennyworth/loaders/system/error.rb
|
@@ -277,6 +279,7 @@ files:
|
|
277
279
|
- lib/pennyworth/models/encoding.rb
|
278
280
|
- lib/pennyworth/models/htmx.rb
|
279
281
|
- lib/pennyworth/models/http_status.rb
|
282
|
+
- lib/pennyworth/models/rodauth.rb
|
280
283
|
- lib/pennyworth/models/standard_error.rb
|
281
284
|
- lib/pennyworth/models/system/error.rb
|
282
285
|
- lib/pennyworth/models/system/signal.rb
|
@@ -286,6 +289,7 @@ files:
|
|
286
289
|
- lib/pennyworth/presenters/htmx.rb
|
287
290
|
- lib/pennyworth/presenters/http_status.rb
|
288
291
|
- lib/pennyworth/presenters/repository.rb
|
292
|
+
- lib/pennyworth/presenters/rodauth.rb
|
289
293
|
- lib/pennyworth/presenters/standard_error.rb
|
290
294
|
- lib/pennyworth/presenters/standard_gem.rb
|
291
295
|
- lib/pennyworth/presenters/system/error.rb
|
@@ -296,6 +300,7 @@ files:
|
|
296
300
|
- lib/pennyworth/serializers/htmx.rb
|
297
301
|
- lib/pennyworth/serializers/http_status.rb
|
298
302
|
- lib/pennyworth/serializers/project.rb
|
303
|
+
- lib/pennyworth/serializers/rodauth.rb
|
299
304
|
- lib/pennyworth/serializers/standard_error.rb
|
300
305
|
- lib/pennyworth/serializers/system/error.rb
|
301
306
|
- lib/pennyworth/serializers/system/signal.rb
|
@@ -326,7 +331,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
326
331
|
- !ruby/object:Gem::Version
|
327
332
|
version: '0'
|
328
333
|
requirements: []
|
329
|
-
rubygems_version: 3.7.
|
334
|
+
rubygems_version: 3.7.2
|
330
335
|
specification_version: 4
|
331
336
|
summary: A command line interface for augmented Alfred workflows.
|
332
337
|
test_files: []
|
metadata.gz.sig
CHANGED
Binary file
|