pennyworth 16.3.0 → 16.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data/lib/pennyworth/container.rb +8 -11
- data/lib/pennyworth/import.rb +1 -1
- data/pennyworth.gemspec +5 -5
- data.tar.gz.sig +0 -0
- metadata +15 -15
- 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: 4b6c362449019b24f369f50f06cc4973f5b057b004db4fa62df5356c2c4f1732
|
4
|
+
data.tar.gz: b134f109ec2b5b41b65667e42c112290f3237f5ecec9938ce7785a585fca5ea6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4a6a2070b3de55e1ea8367494586884fda3f68e70e412e48ae532dd29f4938aed2079400afcaebd4288a7cfb281272fe6c8322919bd5491085b0e8da02cb22f5
|
7
|
+
data.tar.gz: e35100fb99d7272b9ea78d3388f40bdb85cb4af0bb44eb7838c45b43aa22c13ff34aee282637da05cd621361c6da87b583b440dc374e13d86d798a4664598fe7
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data/lib/pennyworth/container.rb
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
3
|
require "cogger"
|
4
|
-
require "
|
4
|
+
require "containable"
|
5
5
|
require "etcher"
|
6
6
|
require "http"
|
7
7
|
require "runcom"
|
@@ -10,25 +10,22 @@ require "spek"
|
|
10
10
|
module Pennyworth
|
11
11
|
# Provides a global gem container for injection into other objects.
|
12
12
|
module Container
|
13
|
-
extend
|
13
|
+
extend Containable
|
14
14
|
|
15
|
-
register :configuration
|
15
|
+
register :configuration do
|
16
16
|
self[:defaults].add_loader(Etcher::Loaders::YAML.new(self[:xdg_config].active))
|
17
17
|
.then { |registry| Etcher.call registry }
|
18
18
|
end
|
19
19
|
|
20
|
-
register :defaults
|
20
|
+
register :defaults do
|
21
21
|
Etcher::Registry.new(contract: Configuration::Contract, model: Configuration::Model)
|
22
22
|
.add_loader(Etcher::Loaders::YAML.new(self[:defaults_path]))
|
23
23
|
end
|
24
24
|
|
25
|
-
register
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
register(:defaults_path, memoize: true) { Pathname(__dir__).join("configuration/defaults.yml") }
|
30
|
-
register(:xdg_config, memoize: true) { Runcom::Config.new "pennyworth/configuration.yml" }
|
31
|
-
register(:logger, memoize: true) { Cogger.new id: :pennyworth }
|
25
|
+
register(:specification) { Spek::Loader.call "#{__dir__}/../../pennyworth.gemspec" }
|
26
|
+
register(:defaults_path) { Pathname(__dir__).join("configuration/defaults.yml") }
|
27
|
+
register(:xdg_config) { Runcom::Config.new "pennyworth/configuration.yml" }
|
28
|
+
register(:logger) { Cogger.new id: :pennyworth }
|
32
29
|
register :http, HTTP
|
33
30
|
register :kernel, Kernel
|
34
31
|
end
|
data/lib/pennyworth/import.rb
CHANGED
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 = "16.
|
5
|
+
spec.version = "16.4.0"
|
6
6
|
spec.authors = ["Brooke Kuhlmann"]
|
7
7
|
spec.email = ["brooke@alchemists.io"]
|
8
8
|
spec.homepage = "https://alchemists.io/projects/pennyworth"
|
@@ -24,16 +24,16 @@ Gem::Specification.new do |spec|
|
|
24
24
|
|
25
25
|
spec.required_ruby_version = "~> 3.3"
|
26
26
|
spec.add_dependency "cogger", "~> 0.15"
|
27
|
+
spec.add_dependency "containable", "~> 0.0"
|
27
28
|
spec.add_dependency "core", "~> 1.0"
|
28
|
-
spec.add_dependency "
|
29
|
-
spec.add_dependency "etcher", "~> 1.0"
|
29
|
+
spec.add_dependency "etcher", "~> 1.3"
|
30
30
|
spec.add_dependency "ghub", "~> 0.11"
|
31
31
|
spec.add_dependency "http", "~> 5.1"
|
32
|
-
spec.add_dependency "infusible", "~> 3.
|
32
|
+
spec.add_dependency "infusible", "~> 3.5"
|
33
33
|
spec.add_dependency "rack", "~> 3.0"
|
34
34
|
spec.add_dependency "refinements", "~> 12.1"
|
35
35
|
spec.add_dependency "runcom", "~> 11.0"
|
36
|
-
spec.add_dependency "sod", "~> 0.
|
36
|
+
spec.add_dependency "sod", "~> 0.8"
|
37
37
|
spec.add_dependency "spek", "~> 3.0"
|
38
38
|
spec.add_dependency "zeitwerk", "~> 2.6"
|
39
39
|
|
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: 16.
|
4
|
+
version: 16.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Brooke Kuhlmann
|
@@ -35,7 +35,7 @@ cert_chain:
|
|
35
35
|
3n5C8/6Zh9DYTkpcwPSuIfAga6wf4nXc9m6JAw8AuMLaiWN/r/2s4zJsUHYERJEu
|
36
36
|
gZGm4JqtuSg8pYjPeIJxS960owq+SfuC+jxqmRA54BisFCv/0VOJi7tiJVY=
|
37
37
|
-----END CERTIFICATE-----
|
38
|
-
date: 2024-03
|
38
|
+
date: 2024-04-03 00:00:00.000000000 Z
|
39
39
|
dependencies:
|
40
40
|
- !ruby/object:Gem::Dependency
|
41
41
|
name: cogger
|
@@ -52,47 +52,47 @@ dependencies:
|
|
52
52
|
- !ruby/object:Gem::Version
|
53
53
|
version: '0.15'
|
54
54
|
- !ruby/object:Gem::Dependency
|
55
|
-
name:
|
55
|
+
name: containable
|
56
56
|
requirement: !ruby/object:Gem::Requirement
|
57
57
|
requirements:
|
58
58
|
- - "~>"
|
59
59
|
- !ruby/object:Gem::Version
|
60
|
-
version: '
|
60
|
+
version: '0.0'
|
61
61
|
type: :runtime
|
62
62
|
prerelease: false
|
63
63
|
version_requirements: !ruby/object:Gem::Requirement
|
64
64
|
requirements:
|
65
65
|
- - "~>"
|
66
66
|
- !ruby/object:Gem::Version
|
67
|
-
version: '
|
67
|
+
version: '0.0'
|
68
68
|
- !ruby/object:Gem::Dependency
|
69
|
-
name:
|
69
|
+
name: core
|
70
70
|
requirement: !ruby/object:Gem::Requirement
|
71
71
|
requirements:
|
72
72
|
- - "~>"
|
73
73
|
- !ruby/object:Gem::Version
|
74
|
-
version: '0
|
74
|
+
version: '1.0'
|
75
75
|
type: :runtime
|
76
76
|
prerelease: false
|
77
77
|
version_requirements: !ruby/object:Gem::Requirement
|
78
78
|
requirements:
|
79
79
|
- - "~>"
|
80
80
|
- !ruby/object:Gem::Version
|
81
|
-
version: '0
|
81
|
+
version: '1.0'
|
82
82
|
- !ruby/object:Gem::Dependency
|
83
83
|
name: etcher
|
84
84
|
requirement: !ruby/object:Gem::Requirement
|
85
85
|
requirements:
|
86
86
|
- - "~>"
|
87
87
|
- !ruby/object:Gem::Version
|
88
|
-
version: '1.
|
88
|
+
version: '1.3'
|
89
89
|
type: :runtime
|
90
90
|
prerelease: false
|
91
91
|
version_requirements: !ruby/object:Gem::Requirement
|
92
92
|
requirements:
|
93
93
|
- - "~>"
|
94
94
|
- !ruby/object:Gem::Version
|
95
|
-
version: '1.
|
95
|
+
version: '1.3'
|
96
96
|
- !ruby/object:Gem::Dependency
|
97
97
|
name: ghub
|
98
98
|
requirement: !ruby/object:Gem::Requirement
|
@@ -127,14 +127,14 @@ dependencies:
|
|
127
127
|
requirements:
|
128
128
|
- - "~>"
|
129
129
|
- !ruby/object:Gem::Version
|
130
|
-
version: '3.
|
130
|
+
version: '3.5'
|
131
131
|
type: :runtime
|
132
132
|
prerelease: false
|
133
133
|
version_requirements: !ruby/object:Gem::Requirement
|
134
134
|
requirements:
|
135
135
|
- - "~>"
|
136
136
|
- !ruby/object:Gem::Version
|
137
|
-
version: '3.
|
137
|
+
version: '3.5'
|
138
138
|
- !ruby/object:Gem::Dependency
|
139
139
|
name: rack
|
140
140
|
requirement: !ruby/object:Gem::Requirement
|
@@ -183,14 +183,14 @@ dependencies:
|
|
183
183
|
requirements:
|
184
184
|
- - "~>"
|
185
185
|
- !ruby/object:Gem::Version
|
186
|
-
version: '0.
|
186
|
+
version: '0.8'
|
187
187
|
type: :runtime
|
188
188
|
prerelease: false
|
189
189
|
version_requirements: !ruby/object:Gem::Requirement
|
190
190
|
requirements:
|
191
191
|
- - "~>"
|
192
192
|
- !ruby/object:Gem::Version
|
193
|
-
version: '0.
|
193
|
+
version: '0.8'
|
194
194
|
- !ruby/object:Gem::Dependency
|
195
195
|
name: spek
|
196
196
|
requirement: !ruby/object:Gem::Requirement
|
@@ -309,7 +309,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
309
309
|
- !ruby/object:Gem::Version
|
310
310
|
version: '0'
|
311
311
|
requirements: []
|
312
|
-
rubygems_version: 3.5.
|
312
|
+
rubygems_version: 3.5.7
|
313
313
|
signing_key:
|
314
314
|
specification_version: 4
|
315
315
|
summary: A command line interface for augmenting Alfred workflows.
|
metadata.gz.sig
CHANGED
Binary file
|