etcher 1.0.0 → 1.1.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: 34d21b254cc83913eb0faad74e75f0200ce2047a68464a5a965401ff4a23abba
4
- data.tar.gz: 4b4fa75a075bb47f9ff3b016d267993868d7a0cd10208959d4c9ca349f269abe
3
+ metadata.gz: ea52520478e3119853467a893cab25be351334b56edafa953300669f49e7c26e
4
+ data.tar.gz: 966eb206c4c35348f110cf0dc6d0f8e90c1dec47b5a412470e91b0bbd3a3c970
5
5
  SHA512:
6
- metadata.gz: 857c46ed04704b131f19898ca4d7e97fb068efbe44561ed7bfcd5951a3f717928f530b3c28271e0991acf0a8365693b57c4b30294dc6100feb234d15ac43f19b
7
- data.tar.gz: 52e5d0095f32ef4b9778e42a015a6e923c422dfc00ffbb89268756faf984bdf6d6c2bbe8d5378e764e7fa9571934eee5ebbb73ae3dfb2e664bba7a90223eeab8
6
+ metadata.gz: 2d6c68d5be753984672d5aca7a39e55040aa70959c235b1f7bec22b7609407ebbd9147e1674cb36b4b7b64097450afccb7685ac4066987c2ad054bb10c8cad13
7
+ data.tar.gz: f213f8c18ff759a90aaea96370f5a8ff73917cbc01d830f2c91d1f10b2bda15141d1349ab832c22abe68ecb18ede4674a67467ec30a5b69b1c33eb0590344ae4
checksums.yaml.gz.sig CHANGED
Binary file
data/README.adoc CHANGED
@@ -134,13 +134,11 @@ While this is a more advanced use case, you'll usually only need to register a c
134
134
  As hinted at above, the complete sequence of steps are performed in the order listed:
135
135
 
136
136
  . *Load*: Each loader, if any, is called and merged with the previous loader to build initial content.
137
- . *Override*: Any overrides are merged with the result of the last loader to produce updated content.
137
+ . *Override*: Any overrides are merged with the result of the last loader to produce updated content. _In Version 2.0.0, this step happen after the Transform step._
138
138
  . *Transform*: Each transformer, if any, is called to transform and manipulate the content.
139
139
  . *Validate*: The contract is called to validate the content as previously loaded, overwritten, and transformed.
140
140
  . *Model*: The model consumes the content of the validated contract and creates a new record for you to use as needed.
141
141
 
142
- 💡 The _override_ step comes after the _load_ step and before the _transform_ step because this gives you maximum flexibility to override any loaded/overwritten attributes while allowing you to transform any/all attributes based on whether they exist or not.
143
-
144
142
  You can use the above steps as a reference when using this gem. Each step is explained in greater detail below.
145
143
 
146
144
  === Registry
@@ -507,6 +505,8 @@ etcher.call name: "test", label: "Test"
507
505
 
508
506
  Overrides are applied _after_ any loaders are processed and _before_ any transformations. They are a nice way to deal with user input during runtime or provide any additional configuration not supplied by the loading of your default configuration while still allowing you to transform them if desired.
509
507
 
508
+ ⚠️ In Version 2.0.0, this step will be changed to occur _after_ the Transform step for maximum flexibility.
509
+
510
510
  === Resolver
511
511
 
512
512
  In situations where you'd like Etcher to handle the complete load, transform, validate, and build steps for you, then you can use the resolver. This is provided for use cases where you'd like Etcher to handle everything for you and abort if otherwise. Example:
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 = "1.0.0"
5
+ spec.version = "1.1.0"
6
6
  spec.authors = ["Brooke Kuhlmann"]
7
7
  spec.email = ["brooke@alchemists.io"]
8
8
  spec.homepage = "https://alchemists.io/projects/etcher"
data.tar.gz.sig CHANGED
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: etcher
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.1.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-01-01 00:00:00.000000000 Z
38
+ date: 2024-02-20 00:00:00.000000000 Z
39
39
  dependencies:
40
40
  - !ruby/object:Gem::Dependency
41
41
  name: cogger
@@ -182,7 +182,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
182
182
  - !ruby/object:Gem::Version
183
183
  version: '0'
184
184
  requirements: []
185
- rubygems_version: 3.5.3
185
+ rubygems_version: 3.5.6
186
186
  signing_key:
187
187
  specification_version: 4
188
188
  summary: A monadic configuration loader, transformer, and validator.
metadata.gz.sig CHANGED
Binary file