tocer 17.2.0 → 17.3.0

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: 7b56c2efcb4d3f1d2f6b03a99260ade0a107b2dfd8f8ea066f4884b16d429c78
4
- data.tar.gz: 31e826cdbd8ff171960796c0a10bc0ddf11c451837d7c6ae62c5524adb1d81ff
3
+ metadata.gz: 4fa728235c16c5d0f96cf31ee6c9904797666a4bbddba7eeab933c173bb66467
4
+ data.tar.gz: b053f9c086c623fe13616eb71a45afcaa647eb9f3e129f8c5b9cc883cf105eb5
5
5
  SHA512:
6
- metadata.gz: c1ec5059d39d951468e82cfa2f3ed7eccc0bfdadc698ee4b985f4113ef2a962193745992fb4e08a01a77a2ea1f91a07d78e43539c98188bab3dcfd1ab4d40dcb
7
- data.tar.gz: 75879ba8a0246866ff4d67bb71e09312f41753c6d389b2560d6992898db16916e69b983e658bfc8f58827232374a1dccce1eb8fc2375fe35890337fcda70ae38
6
+ metadata.gz: ef9ba9665eb9d7355cc620fa75acad775fc86c64b1b34c69c1763e88656752d63819c903130c1261be4a290223bb6769b554d7653c79f71f15b700dee1eabba9
7
+ data.tar.gz: 2161114ba243b07e05977cd5eedc43bcf1919d353ea6f6386569322664d6d3c98440660327e2f784ca63a8ad0ef53df5a2ee03a27257f2086ad4396c7bd65b82
checksums.yaml.gz.sig CHANGED
Binary file
@@ -1,7 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  require "cogger"
4
- require "dry-container"
4
+ require "containable"
5
5
  require "etcher"
6
6
  require "runcom"
7
7
  require "spek"
@@ -9,23 +9,23 @@ require "spek"
9
9
  module Tocer
10
10
  # Provides a global gem container for injection into other objects.
11
11
  module Container
12
- extend Dry::Container::Mixin
12
+ extend Containable
13
13
 
14
- register :configuration, memoize: true do
14
+ register :configuration do
15
15
  self[:defaults].add_loader(Etcher::Loaders::YAML.new(self[:xdg_config].active))
16
16
  .then { |registry| Etcher.call registry }
17
17
  end
18
18
 
19
- register :defaults, memoize: true do
19
+ register :defaults do
20
20
  Etcher::Registry.new(contract: Configuration::Contract, model: Configuration::Model)
21
21
  .add_loader(Etcher::Loaders::YAML.new(self[:defaults_path]))
22
22
  end
23
23
 
24
- register(:input, memoize: true) { self[:configuration].dup }
25
- register(:defaults_path, memoize: true) { Pathname(__dir__).join("configuration/defaults.yml") }
26
- register(:xdg_config, memoize: true) { Runcom::Config.new "tocer/configuration.yml" }
27
- register(:specification, memoize: true) { Spek::Loader.call "#{__dir__}/../../tocer.gemspec" }
28
- register(:logger, memoize: true) { Cogger.new id: :tocer }
24
+ register(:input) { self[:configuration].dup }
25
+ register(:defaults_path) { Pathname(__dir__).join("configuration/defaults.yml") }
26
+ register(:xdg_config) { Runcom::Config.new "tocer/configuration.yml" }
27
+ register(:specification) { Spek::Loader.call "#{__dir__}/../../tocer.gemspec" }
28
+ register(:logger) { Cogger.new id: :tocer }
29
29
  register :kernel, Kernel
30
30
  end
31
31
  end
data/lib/tocer/import.rb CHANGED
@@ -3,5 +3,5 @@
3
3
  require "infusible"
4
4
 
5
5
  module Tocer
6
- Import = Infusible.with Container
6
+ Import = Infusible[Container]
7
7
  end
data/tocer.gemspec CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |spec|
4
4
  spec.name = "tocer"
5
- spec.version = "17.2.0"
5
+ spec.version = "17.3.0"
6
6
  spec.authors = ["Brooke Kuhlmann"]
7
7
  spec.email = ["brooke@alchemists.io"]
8
8
  spec.homepage = "https://alchemists.io/projects/tocer"
@@ -24,14 +24,14 @@ 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 "dry-container", "~> 0.11"
29
29
  spec.add_dependency "dry-schema", "~> 1.13"
30
- spec.add_dependency "etcher", "~> 1.0"
31
- spec.add_dependency "infusible", "~> 3.4"
30
+ spec.add_dependency "etcher", "~> 1.3"
31
+ spec.add_dependency "infusible", "~> 3.5"
32
32
  spec.add_dependency "refinements", "~> 12.1"
33
33
  spec.add_dependency "runcom", "~> 11.0"
34
- spec.add_dependency "sod", "~> 0.4"
34
+ spec.add_dependency "sod", "~> 0.8"
35
35
  spec.add_dependency "spek", "~> 3.0"
36
36
  spec.add_dependency "zeitwerk", "~> 2.6"
37
37
 
data.tar.gz.sig CHANGED
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tocer
3
3
  version: !ruby/object:Gem::Version
4
- version: 17.2.0
4
+ version: 17.3.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-27 00:00:00.000000000 Z
38
+ date: 2024-04-03 00:00:00.000000000 Z
39
39
  dependencies:
40
40
  - !ruby/object:Gem::Dependency
41
41
  name: cogger
@@ -52,33 +52,33 @@ dependencies:
52
52
  - !ruby/object:Gem::Version
53
53
  version: '0.15'
54
54
  - !ruby/object:Gem::Dependency
55
- name: core
55
+ name: containable
56
56
  requirement: !ruby/object:Gem::Requirement
57
57
  requirements:
58
58
  - - "~>"
59
59
  - !ruby/object:Gem::Version
60
- version: '1.0'
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: '1.0'
67
+ version: '0.0'
68
68
  - !ruby/object:Gem::Dependency
69
- name: dry-container
69
+ name: core
70
70
  requirement: !ruby/object:Gem::Requirement
71
71
  requirements:
72
72
  - - "~>"
73
73
  - !ruby/object:Gem::Version
74
- version: '0.11'
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.11'
81
+ version: '1.0'
82
82
  - !ruby/object:Gem::Dependency
83
83
  name: dry-schema
84
84
  requirement: !ruby/object:Gem::Requirement
@@ -99,28 +99,28 @@ dependencies:
99
99
  requirements:
100
100
  - - "~>"
101
101
  - !ruby/object:Gem::Version
102
- version: '1.0'
102
+ version: '1.3'
103
103
  type: :runtime
104
104
  prerelease: false
105
105
  version_requirements: !ruby/object:Gem::Requirement
106
106
  requirements:
107
107
  - - "~>"
108
108
  - !ruby/object:Gem::Version
109
- version: '1.0'
109
+ version: '1.3'
110
110
  - !ruby/object:Gem::Dependency
111
111
  name: infusible
112
112
  requirement: !ruby/object:Gem::Requirement
113
113
  requirements:
114
114
  - - "~>"
115
115
  - !ruby/object:Gem::Version
116
- version: '3.4'
116
+ version: '3.5'
117
117
  type: :runtime
118
118
  prerelease: false
119
119
  version_requirements: !ruby/object:Gem::Requirement
120
120
  requirements:
121
121
  - - "~>"
122
122
  - !ruby/object:Gem::Version
123
- version: '3.4'
123
+ version: '3.5'
124
124
  - !ruby/object:Gem::Dependency
125
125
  name: refinements
126
126
  requirement: !ruby/object:Gem::Requirement
@@ -155,14 +155,14 @@ dependencies:
155
155
  requirements:
156
156
  - - "~>"
157
157
  - !ruby/object:Gem::Version
158
- version: '0.4'
158
+ version: '0.8'
159
159
  type: :runtime
160
160
  prerelease: false
161
161
  version_requirements: !ruby/object:Gem::Requirement
162
162
  requirements:
163
163
  - - "~>"
164
164
  - !ruby/object:Gem::Version
165
- version: '0.4'
165
+ version: '0.8'
166
166
  - !ruby/object:Gem::Dependency
167
167
  name: spek
168
168
  requirement: !ruby/object:Gem::Requirement
metadata.gz.sig CHANGED
Binary file