turbot-runner 0.0.11 → 0.0.12

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- OTEyMjJkMGUzZDg1ODFkZmYzNDM1MzUwMDk0MmY2ZTJiYTQ5OGUyOQ==
4
+ NDMzMzY5NTFmZWFlNzQyY2VhNjI4OTA3NWY1YzUxMWMzYjc0MGMxYQ==
5
5
  data.tar.gz: !binary |-
6
- ZTYwYWE1MmUwMjExNjA1ZGU4NzQ4Njg2YjU0NWQ3ODBlZTc0YTZkMw==
6
+ MjUxNWI3ZGFhMzM0Yjk5ZWVmZWRlMjE3YTc5NDM5YjE2MTRjZjA2NA==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- ODM5Njk5YTc5YzMyZDFiMmFkZDEzNzczOTVhMjQ4NzUyZWFiYTI2ZDU4ZmU4
10
- M2RjM2U0NTMwNzZjMWRiZjRkNjJlMmZmMTEyODM3MzI5NDM5NTQ2YjkzZGZh
11
- MWI2NWVlZjQ1ZTRjNmNjMDkxZjBlOTA5N2ZiNmNkYWQyNjMyNzU=
9
+ YjRkMDU4OGViZjAyNGU4YjJhMzkwMWIxMmFmMmY5NGE5M2Y3NGE5YzYwYWVi
10
+ NjZjOWNiN2JkYjFiNzUwYWQ4OWEwMDIxMGQzZjI1YTFlZDVkZTQzZGFkYjcy
11
+ ZTEwMmY3OWUzYTBmYWQzYzE4YTAxMzZjMTAxZDIyNjQzYWE3MGQ=
12
12
  data.tar.gz: !binary |-
13
- MTlkODMwMjVhNDkwZTgyZTdhMTVhNGYyOGNhNzk5OWIyZTFkNTgwNjZlYjVi
14
- N2M4OWEyNTk0NGM0MTNhM2FmYjVkNDc1ZjY4ZWY2M2Q5ZWIzOWE2MmNkZmE2
15
- OTg0YzVjNWUzOTE2YjRhZjU1MDA4MDRlNmI3ZmJkYmJkNzMzZTU=
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 << ["Missing attributes for identifying fields: #{identifying_fields}"]
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}
@@ -1,3 +1,3 @@
1
1
  module TurbotRunner
2
- VERSION = '0.0.11'
2
+ VERSION = '0.0.12'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: turbot-runner
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.11
4
+ version: 0.0.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - OpenCorporates