turbot-runner 0.2.3 → 0.2.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,7 @@
1
1
  ---
2
- !binary "U0hBMQ==":
3
- metadata.gz: !binary |-
4
- MGQ1N2ZlZWE5M2M4ZjA2MzYxYmJlYzcyZWExZTQyNmUyZDBiZDZlOQ==
5
- data.tar.gz: !binary |-
6
- ODgzZWNlMTY5ZmRjNTQxMDgxNzRhYWMxMmZlZjE2YzQ5MzJlMWRjOQ==
2
+ SHA1:
3
+ metadata.gz: dd39bb61650d5be95618abe1c447f5e1e9f3e6e8
4
+ data.tar.gz: d6e827a73dea91e210cb1101ddd3516326212c4c
7
5
  SHA512:
8
- metadata.gz: !binary |-
9
- NzE0ZDUwYTQwMWNhMzkzMDJmZDNmM2UzN2VjZjU1OGI5ODkxMzY3OTNkNzQ5
10
- MDcwZjUzY2QyMmYyODNmMWJmNGY2ZDJjNDVhYWUyYThkZjcxNzY2NmNkYjc5
11
- YzYwNjkxNDIwMmJlNWVkNmM5OGRmYjAwNmU1MTg1NGFhYzRjNmY=
12
- data.tar.gz: !binary |-
13
- ZDJkYzViYTA4ZTg2MzlhZmQwMmQ5ZWQ1ZDQ5NWU1NWQyOGYzMjkxOTFiOTE3
14
- NTZlMTAwMGRiZTYzMTkxNzUwNzU0OTcyNjRmOTRkNmY2N2QxM2RjMmNkNWZj
15
- MjcxYzM5M2IxZDZiZDcyZGJlN2VmNGIyYjk3ZDg0ZGI3YWJjYzY=
6
+ metadata.gz: 32b164da9b666b3d89348b45362ab4ac15a70e6cbcb1334c97b4cd2ee175704de0061391e894ff648d286069d11607473d6b8d9b43feb45b29ebbaaa30001e85
7
+ data.tar.gz: c24d22527ae8935ddc9e5681412d6cd28c84dbd32c5e9c8fe3e494b5d45b291f2105b56dbdd50b78e69c822f15019707873f9216c8abbe912a4916341c1f2b80
@@ -12,8 +12,8 @@ module TurbotRunner
12
12
 
13
13
  def process(line)
14
14
  begin
15
- if line.strip == "RUN ENDED"
16
- @record_handler.handle_run_ended
15
+ if line.strip == "SNAPSHOT ENDED" || line.strip == "RUN ENDED" # latter is legacy
16
+ @record_handler.handle_snapshot_ended
17
17
  @runner.interrupt if @runner
18
18
  else
19
19
  record = Openc::JsonSchema.convert_dates(schema_path, JSON.parse(line))
@@ -1,3 +1,3 @@
1
1
  module TurbotRunner
2
- VERSION = '0.2.3'
2
+ VERSION = '0.2.4'
3
3
  end
@@ -9,7 +9,6 @@
9
9
  },
10
10
  "file_format": {
11
11
  "description": "Format of the document, if known",
12
- "type": "string",
13
12
  "enum": ["xml","pdf","html","doc", null]
14
13
  },
15
14
  "original_source_url": {
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: turbot-runner
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.3
4
+ version: 0.2.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - OpenCorporates
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-09-01 00:00:00.000000000 Z
11
+ date: 2015-10-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -152,19 +152,18 @@ require_paths:
152
152
  - lib
153
153
  required_ruby_version: !ruby/object:Gem::Requirement
154
154
  requirements:
155
- - - ! '>='
155
+ - - ">="
156
156
  - !ruby/object:Gem::Version
157
157
  version: 1.9.2
158
158
  required_rubygems_version: !ruby/object:Gem::Requirement
159
159
  requirements:
160
- - - ! '>='
160
+ - - ">="
161
161
  - !ruby/object:Gem::Version
162
162
  version: '0'
163
163
  requirements: []
164
164
  rubyforge_project:
165
- rubygems_version: 2.2.2
165
+ rubygems_version: 2.4.5
166
166
  signing_key:
167
167
  specification_version: 4
168
168
  summary: Utilities for running bots with Turbot
169
169
  test_files: []
170
- has_rdoc: