turbot-runner-morph 0.0.5 → 0.0.6

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 CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- ZDJhMjMzZjdhNjZkNTdmZDE1Y2YwYzA2MzI1NjJiNTNhODk5NGMyZg==
4
+ OTJiZDYzYjEwOTczNmZkNjE1MDhiYjk5ZDgyZGRlMzE4Y2RhYjY1ZQ==
5
5
  data.tar.gz: !binary |-
6
- MDFjYzNkYjgzYjdhM2RhNWFhMTFmZTZiYjE0NmM5ZjRmODFiNmRmOA==
6
+ MDhmMTVlNGJhZTRkNjI1NjU0NjU2ZGJmZmY0NjIxZjhjZjBjOGZiZA==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- OTQxMDQwYTBhMmI4MDQxZmNlNWNhNmU4NmVlODNlNzYxNzA1OGMyZDZmZmMy
10
- MmM3MGFhYjhlZDE1ZWViOTk5ZGViOGEwZmM0MThjZWEwY2M3NDZkZWM2YWFm
11
- YjA3NzgxODU3M2Y3MTM0NGMyNDgwNGY2YzZmZTc2YjBjMWQwNjA=
9
+ NDVmNzdjYmIyYjczOGM1NWJiNzI2Y2IwNzc5YTUyZGZiODBmYTUwYWE5NGRh
10
+ M2QxMTJiYzY2ODU5NjYzOTVmMWUzMDJjZDUxNmQzY2E5YzBjOWU3MWYzNGZk
11
+ MTk5MDljMzcwZGI3NTYxYTVjMzk5N2QyZmRkZGEyNzFjZDdjZWE=
12
12
  data.tar.gz: !binary |-
13
- M2E2MmFmZmZkYzBkZWFiMTNjODYwOWFkMjJkYzJlZTI4YjgwMTI1YmY3YjUx
14
- ZDIzNDc2NTUyMTYzYmFkOTZjMDQyYzIxZjhmMzNlYjMyNjViYjdmZTE4MDkx
15
- ZDM1YTFkODIwNmRhYjVmMzM5NGEzOGZjNjg0ZjQ1NWJhZDY3YzY=
13
+ OTVjMTBhYmZhMTFmMDZkYzZhNTgzNzE1MmFmZmNiYTg0NTJlNGNjNTc0YmM5
14
+ YzJjMTE5MTJkNjliYmVmOTc5Y2M5OWFhZjgwMzAzMzRmMjY1NmQwOGMxYTll
15
+ ZWI0YjhkYjFlNDY2OTQyMjA1N2ZkZjc3NWVlYTcyM2FiODg4YTA=
@@ -3,10 +3,7 @@ module TurbotRunner
3
3
  def handle_valid_record(record, data_type)
4
4
  end
5
5
 
6
- def handle_snapshot_ended
7
- end
8
-
9
- def handle_run_ended
6
+ def handle_snapshot_ended(data_type)
10
7
  end
11
8
 
12
9
  def handle_invalid_record(record, data_type, error_message)
@@ -12,7 +12,7 @@ module TurbotRunner
12
12
  def process(line)
13
13
  begin
14
14
  if line.strip == "SNAPSHOT ENDED" || line.strip == "RUN ENDED" # latter is legacy
15
- @record_handler.handle_snapshot_ended
15
+ @record_handler.handle_snapshot_ended(@data_type)
16
16
  @runner.interrupt if @runner
17
17
  else
18
18
  record = Openc::JsonSchema.convert_dates(schema_path, JSON.parse(line))
@@ -1,3 +1,3 @@
1
1
  module TurbotRunner
2
- VERSION = '0.0.5'
2
+ VERSION = '0.0.6'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: turbot-runner-morph
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - OpenCorporates