etcher 2.7.0 → 3.0.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: e4580b6cd680172fc09d1b82bf4a31d870a5aa7af92ab0a4fac2599499866a5b
4
- data.tar.gz: f96ed7363d125b357a0902f82ead36584dc2820fc51960717d4abf5a2dc2148f
3
+ metadata.gz: e55d7c638a82ca65381cc6c7d1a10021dd621f601686d4bc0d92616f46c20b76
4
+ data.tar.gz: 104b1bb001f89797a40ff8532cc08dc426f43dc542a34b1e8928fb8981b839c1
5
5
  SHA512:
6
- metadata.gz: e3ec4696e45f937f7a8079f9ea56ef63bb3c40f0679fe63e38d7b7c1be643667a4352f9045c7f97902e3662327f6c7a7efbf19d5a50b2ddfc44992181f45a6bb
7
- data.tar.gz: 4c4c72056e69d7f3dd06bc62f1e206a956cf08f3ea0dd03b8d44956be563606123d24fb04d675ef46735b6a06959b5b992db0eee3e3195ad627cb603f2fdd888
6
+ metadata.gz: d0c3207aeb5102ae046c835cc11f389dfb5475c9fbd92b8873e54bd8781babd0b3c8144de33d7a4798d4ad159c31b8780e9322e9375d869d95f4e4408a8771e6
7
+ data.tar.gz: 620c1f69d237137c7ed74596df840b11598568d34b31d051976334b8785474063163bb6282585726ab1be495e34d432a1afb8d40e4b7bfcfa1c95eda108e3c09
checksums.yaml.gz.sig CHANGED
Binary file
data/etcher.gemspec CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |spec|
4
4
  spec.name = "etcher"
5
- spec.version = "2.7.0"
5
+ spec.version = "3.0.0"
6
6
  spec.authors = ["Brooke Kuhlmann"]
7
7
  spec.email = ["brooke@alchemists.io"]
8
8
  spec.homepage = "https://alchemists.io/projects/etcher"
@@ -22,13 +22,13 @@ Gem::Specification.new do |spec|
22
22
  spec.signing_key = Gem.default_key_path
23
23
  spec.cert_chain = [Gem.default_cert_path]
24
24
 
25
- spec.required_ruby_version = ">= 3.3", "<= 3.4"
26
- spec.add_dependency "cogger", "~> 0.31"
27
- spec.add_dependency "core", "~> 1.10"
25
+ spec.required_ruby_version = "~> 3.4"
26
+ spec.add_dependency "cogger", "~> 1.0"
27
+ spec.add_dependency "core", "~> 2.0"
28
28
  spec.add_dependency "dry-monads", "~> 1.6"
29
29
  spec.add_dependency "dry-types", "~> 1.7"
30
- spec.add_dependency "refinements", "~> 12.10"
31
- spec.add_dependency "versionaire", "~> 13.10"
30
+ spec.add_dependency "refinements", "~> 13.0"
31
+ spec.add_dependency "versionaire", "~> 14.0"
32
32
  spec.add_dependency "zeitwerk", "~> 2.7"
33
33
 
34
34
  spec.extra_rdoc_files = Dir["README*", "LICENSE*"]
@@ -13,6 +13,7 @@ module Etcher
13
13
 
14
14
  def initialize registry = Registry.new
15
15
  @registry = registry
16
+ freeze
16
17
  end
17
18
 
18
19
  def call(**overrides)
@@ -12,6 +12,7 @@ module Etcher
12
12
  def initialize attributes = ENV, only: Core::EMPTY_ARRAY
13
13
  @attributes = attributes
14
14
  @only = Array only
15
+ freeze
15
16
  end
16
17
 
17
18
  def call = Success attributes.slice(*only).transform_keys(&:downcase)
@@ -10,6 +10,7 @@ module Etcher
10
10
 
11
11
  def initialize(**attributes)
12
12
  @attributes = attributes
13
+ freeze
13
14
  end
14
15
 
15
16
  def call = Success attributes
@@ -14,6 +14,7 @@ module Etcher
14
14
  @path = path
15
15
  @fallback = fallback
16
16
  @logger = logger
17
+ freeze
17
18
  end
18
19
 
19
20
  def call
@@ -17,6 +17,7 @@ module Etcher
17
17
  @path = path
18
18
  @fallback = fallback
19
19
  @logger = logger
20
+ freeze
20
21
  end
21
22
 
22
23
  def call
@@ -13,6 +13,7 @@ module Etcher
13
13
  def initialize registry = Registry.new, logger: LOGGER
14
14
  @builder = Builder.new registry
15
15
  @logger = logger
16
+ freeze
16
17
  end
17
18
 
18
19
  def call(**overrides)
@@ -1,6 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  require "dry/monads"
4
+ require "pathname"
4
5
  require "refinements/hash"
5
6
 
6
7
  module Etcher
@@ -14,6 +15,7 @@ module Etcher
14
15
  def initialize key, fallback: Pathname.pwd.basename.to_s
15
16
  @key = key
16
17
  @fallback = fallback
18
+ freeze
17
19
  end
18
20
 
19
21
  def call attributes
@@ -13,6 +13,7 @@ module Etcher
13
13
  @retainers = retainers
14
14
  @mappings = mappings
15
15
  @pattern = /%<.+>s/o
16
+ freeze
16
17
  end
17
18
 
18
19
  def call attributes
@@ -1,6 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  require "dry/monads"
4
+ require "pathname"
4
5
  require "refinements/hash"
5
6
 
6
7
  module Etcher
@@ -14,6 +15,7 @@ module Etcher
14
15
  def initialize key, fallback: Pathname.pwd
15
16
  @key = key
16
17
  @fallback = fallback
18
+ freeze
17
19
  end
18
20
 
19
21
  def call attributes
@@ -11,6 +11,7 @@ module Etcher
11
11
  def initialize key, fallback: ::Time.now.utc
12
12
  @key = key
13
13
  @fallback = fallback
14
+ freeze
14
15
  end
15
16
 
16
17
  def call attributes
data.tar.gz.sig CHANGED
Binary file
metadata CHANGED
@@ -1,11 +1,10 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: etcher
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.7.0
4
+ version: 3.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brooke Kuhlmann
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain:
11
10
  - |
@@ -35,7 +34,7 @@ cert_chain:
35
34
  3n5C8/6Zh9DYTkpcwPSuIfAga6wf4nXc9m6JAw8AuMLaiWN/r/2s4zJsUHYERJEu
36
35
  gZGm4JqtuSg8pYjPeIJxS960owq+SfuC+jxqmRA54BisFCv/0VOJi7tiJVY=
37
36
  -----END CERTIFICATE-----
38
- date: 2024-11-09 00:00:00.000000000 Z
37
+ date: 2024-12-27 00:00:00.000000000 Z
39
38
  dependencies:
40
39
  - !ruby/object:Gem::Dependency
41
40
  name: cogger
@@ -43,28 +42,28 @@ dependencies:
43
42
  requirements:
44
43
  - - "~>"
45
44
  - !ruby/object:Gem::Version
46
- version: '0.31'
45
+ version: '1.0'
47
46
  type: :runtime
48
47
  prerelease: false
49
48
  version_requirements: !ruby/object:Gem::Requirement
50
49
  requirements:
51
50
  - - "~>"
52
51
  - !ruby/object:Gem::Version
53
- version: '0.31'
52
+ version: '1.0'
54
53
  - !ruby/object:Gem::Dependency
55
54
  name: core
56
55
  requirement: !ruby/object:Gem::Requirement
57
56
  requirements:
58
57
  - - "~>"
59
58
  - !ruby/object:Gem::Version
60
- version: '1.10'
59
+ version: '2.0'
61
60
  type: :runtime
62
61
  prerelease: false
63
62
  version_requirements: !ruby/object:Gem::Requirement
64
63
  requirements:
65
64
  - - "~>"
66
65
  - !ruby/object:Gem::Version
67
- version: '1.10'
66
+ version: '2.0'
68
67
  - !ruby/object:Gem::Dependency
69
68
  name: dry-monads
70
69
  requirement: !ruby/object:Gem::Requirement
@@ -99,28 +98,28 @@ dependencies:
99
98
  requirements:
100
99
  - - "~>"
101
100
  - !ruby/object:Gem::Version
102
- version: '12.10'
101
+ version: '13.0'
103
102
  type: :runtime
104
103
  prerelease: false
105
104
  version_requirements: !ruby/object:Gem::Requirement
106
105
  requirements:
107
106
  - - "~>"
108
107
  - !ruby/object:Gem::Version
109
- version: '12.10'
108
+ version: '13.0'
110
109
  - !ruby/object:Gem::Dependency
111
110
  name: versionaire
112
111
  requirement: !ruby/object:Gem::Requirement
113
112
  requirements:
114
113
  - - "~>"
115
114
  - !ruby/object:Gem::Version
116
- version: '13.10'
115
+ version: '14.0'
117
116
  type: :runtime
118
117
  prerelease: false
119
118
  version_requirements: !ruby/object:Gem::Requirement
120
119
  requirements:
121
120
  - - "~>"
122
121
  - !ruby/object:Gem::Version
123
- version: '13.10'
122
+ version: '14.0'
124
123
  - !ruby/object:Gem::Dependency
125
124
  name: zeitwerk
126
125
  requirement: !ruby/object:Gem::Requirement
@@ -135,7 +134,6 @@ dependencies:
135
134
  - - "~>"
136
135
  - !ruby/object:Gem::Version
137
136
  version: '2.7'
138
- description:
139
137
  email:
140
138
  - brooke@alchemists.io
141
139
  executables: []
@@ -173,16 +171,12 @@ metadata:
173
171
  label: Etcher
174
172
  rubygems_mfa_required: 'true'
175
173
  source_code_uri: https://github.com/bkuhlmann/etcher
176
- post_install_message:
177
174
  rdoc_options: []
178
175
  require_paths:
179
176
  - lib
180
177
  required_ruby_version: !ruby/object:Gem::Requirement
181
178
  requirements:
182
- - - ">="
183
- - !ruby/object:Gem::Version
184
- version: '3.3'
185
- - - "<="
179
+ - - "~>"
186
180
  - !ruby/object:Gem::Version
187
181
  version: '3.4'
188
182
  required_rubygems_version: !ruby/object:Gem::Requirement
@@ -191,8 +185,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
191
185
  - !ruby/object:Gem::Version
192
186
  version: '0'
193
187
  requirements: []
194
- rubygems_version: 3.5.23
195
- signing_key:
188
+ rubygems_version: 3.6.2
196
189
  specification_version: 4
197
190
  summary: A monadic configuration loader, transformer, and validator.
198
191
  test_files: []
metadata.gz.sig CHANGED
Binary file