etcher 1.0.0 → 1.2.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: 16f4335440726392076ca31e69cd180b72ba62a0251f53df1d03360a4e457c3a
4
+ data.tar.gz: 0c471d6980811751707ee8f1db95b3a8d8c58c29b3a486138e9608d4649f1f9f
5
5
  SHA512:
6
- metadata.gz: 857c46ed04704b131f19898ca4d7e97fb068efbe44561ed7bfcd5951a3f717928f530b3c28271e0991acf0a8365693b57c4b30294dc6100feb234d15ac43f19b
7
- data.tar.gz: 52e5d0095f32ef4b9778e42a015a6e923c422dfc00ffbb89268756faf984bdf6d6c2bbe8d5378e764e7fa9571934eee5ebbb73ae3dfb2e664bba7a90223eeab8
6
+ metadata.gz: d99e98d45fca9aef28ebda93b18a19ee5d29a03b723377a5ae17aa6bc37af096b1760b8c9a025347f41ee88f659017e451c9d1c414bdca2b1c29a7b2ffb61392
7
+ data.tar.gz: 85af46afc0a618d7ea121743e7868d1a5f2b0a186fd0efcb26aefbd2ec7c75aa4ca2fcd87d4737476ec17f996321432a53a355cb9a115c6e13974fddd15ac189
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.2.0"
6
6
  spec.authors = ["Brooke Kuhlmann"]
7
7
  spec.email = ["brooke@alchemists.io"]
8
8
  spec.homepage = "https://alchemists.io/projects/etcher"
@@ -27,7 +27,7 @@ Gem::Specification.new do |spec|
27
27
  spec.add_dependency "core", "~> 1.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.0"
30
+ spec.add_dependency "refinements", "~> 12.1"
31
31
  spec.add_dependency "versionaire", "~> 13.0"
32
32
  spec.add_dependency "zeitwerk", "~> 2.6"
33
33
 
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.2.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-03-03 00:00:00.000000000 Z
39
39
  dependencies:
40
40
  - !ruby/object:Gem::Dependency
41
41
  name: cogger
@@ -99,14 +99,14 @@ dependencies:
99
99
  requirements:
100
100
  - - "~>"
101
101
  - !ruby/object:Gem::Version
102
- version: '12.0'
102
+ version: '12.1'
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: '12.0'
109
+ version: '12.1'
110
110
  - !ruby/object:Gem::Dependency
111
111
  name: versionaire
112
112
  requirement: !ruby/object:Gem::Requirement
@@ -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
@@ -1,3 +1,2 @@
1
- fyЛbEx!����Y���ۥ>?6��Փ��I��<��M����R��yvP�2y��cu���Xj�V$�=�,�8ʘ"hMҧ�$Y���qU��~��=F����{�
2
- ��E�:4GnK���NA��K����Ob���c��i���kQ���V+�yb�N������~�EL�Ȫ<2��
3
- E�D�_aPB�"���<~���_q����~el#5��pVB�x��M����G�H,
1
+ E1s�r��8&�t�;������d�� 5��w2�����WqO-�+<����s�{D!W6d�m�։iy��� ~�0��
2
+ Q����;ߘ�s>g���+Zk1sf0c`Z9J+��Z&o��&�~�Wg`KW 6Y$=��,V:Î�U]���7 �j2�_(i��d�؆-����3 �>���\+2 ��������)