trailblazer-declarative 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -1
- data/lib/trailblazer/declarative/state.rb +1 -1
- data/lib/trailblazer/declarative/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bdebef268a3a152fdcddd1fbe14f6314d13e36d678751569cf2e632bc4dbca8c
|
4
|
+
data.tar.gz: a6a73193ebcbc8ecabbccc6f0005acd43a41140ea25d8cc1f836fb0e20b446f4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '092903b15320ac17589e4b0ca460ee42d12605086275875c3d3dd4a85a2a6d97607f93b48791a2121e4f270adc48b1cd9eddf3f2b86def27ee8cc9ba0b4f0a5a'
|
7
|
+
data.tar.gz: bac233fc0156b526f6063774e6e8e7ca6c436afceb895154d62575a19c8ab14a24c83f240f78fcbda159ea9358389e57759712d9b42e0251779e1813bd66cdc6
|
data/CHANGELOG.md
CHANGED
@@ -46,7 +46,7 @@ module Trailblazer
|
|
46
46
|
end
|
47
47
|
|
48
48
|
def copy_fields(**options)
|
49
|
-
|
49
|
+
@fields.collect do |path, value|
|
50
50
|
path_options = @field_options.fetch(path)
|
51
51
|
inherited_value = path_options.fetch(:copy).(value, **options)
|
52
52
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: trailblazer-declarative
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nick Sutterer
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-06-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: minitest-line
|