turbot-runner 0.0.11 → 0.0.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +8 -8
- data/lib/turbot_runner.rb +2 -2
- data/lib/turbot_runner/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
NDMzMzY5NTFmZWFlNzQyY2VhNjI4OTA3NWY1YzUxMWMzYjc0MGMxYQ==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
MjUxNWI3ZGFhMzM0Yjk5ZWVmZWRlMjE3YTc5NDM5YjE2MTRjZjA2NA==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
YjRkMDU4OGViZjAyNGU4YjJhMzkwMWIxMmFmMmY5NGE5M2Y3NGE5YzYwYWVi
|
10
|
+
NjZjOWNiN2JkYjFiNzUwYWQ4OWEwMDIxMGQzZjI1YTFlZDVkZTQzZGFkYjcy
|
11
|
+
ZTEwMmY3OWUzYTBmYWQzYzE4YTAxMzZjMTAxZDIyNjQzYWE3MGQ=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
OThmNzJjMjg1OTVhYTYxOGEyZGRjMzRlNmNlMmUyZDFhMjAyNzA4Y2IzYjM1
|
14
|
+
MzY3NmNiNThmMGVkM2MyNTkzMWQ2MjU5Y2MzODllMDIwNzhiNTlmMWU2ZTg2
|
15
|
+
NjI5ZTUxNDQ5Nzk5NzdhY2VlNzFkMTEzYjcwNzdiNTU1NTY0MjQ=
|
data/lib/turbot_runner.rb
CHANGED
@@ -138,7 +138,7 @@ module TurbotRunner
|
|
138
138
|
if messages.empty?
|
139
139
|
identifying_fields = identifying_fields_for_data_type(data_type)
|
140
140
|
if record.slice(*identifying_fields).empty?
|
141
|
-
messages <<
|
141
|
+
messages << "Missing attributes for identifying fields: #{identifying_fields.join(', ')}"
|
142
142
|
end
|
143
143
|
end
|
144
144
|
|
@@ -146,7 +146,7 @@ module TurbotRunner
|
|
146
146
|
end
|
147
147
|
|
148
148
|
def identifying_fields_for_data_type(data_type)
|
149
|
-
if data_type == config['data_type']
|
149
|
+
if data_type == @config['data_type']
|
150
150
|
@config['identifying_fields']
|
151
151
|
else
|
152
152
|
transformers = @config['transformers'].select {|transformer| transformer['data_type'] == data_type}
|