turbot 0.0.37 → 0.0.38

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
- NTkwMjE0MDBiZTcxMjBlOTU1OGVkZmNjNjdhMWI0MjYzZTMyOTYwNw==
4
+ YmNhZGI4YWU5MDQwYzAyZjY4NzU3YjZkYWU2YTgxZTRlOGJmZmY4Zg==
5
5
  data.tar.gz: !binary |-
6
- MmU5N2MwZWQ4ZWE2NjI5OGFlNWJmZTY0NmI1Mzc0NzI4MzM4OTk3NA==
6
+ NGJhY2Y4ZDRmMjAwYmM3MzMyZTkyMGE0ODRmZjczNzZhM2ZkZDMwYw==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- MjQ4YjM1NmIxOWI5ZDk1MjU3MDZjNzExYWM3ZTlkMzNhY2FjMDE5YTA0YzI5
10
- MGIwNDgzYTU0ODY4NGZiZDg1NWJlZGJmMzAzMTdlMWQwYjI5ZTZmYjRjMjlk
11
- YWQ5YTM5OTAyNzhiYWU2YTdlYzhhNGUyYmRkM2Y4YTM2MDFkOTM=
9
+ ODY4NjQ1MmJjMzMwYmViMzMwMmMzNjhiOTE3MTYwOWMwMGM0NGU5NjNjNDgw
10
+ ODFjZmU5ODJmNzczMmUyY2UzODljYjM5NmY2YmY1ZjI3OGJjYTE3NGYzYTM0
11
+ NmM1ZDRkYzEwNjhkZWE2YTE1ZjVmZjhlNzc0NmUxNjA4ODVkM2Y=
12
12
  data.tar.gz: !binary |-
13
- ZDkwNTE2MmExMGZmOGMyNzBmYTFmNTg0ZWZjMmNmMzA4OTU4ZmNhN2IwYzIz
14
- MDI0M2E1YmRiM2FmMmUwM2U1MWFjNzhhNmI3NTU1NGUxOGVjNmFiMGFhYzky
15
- ZjhhNGRiNWQxNTJlOWEyYjcyMWRkNWZkNWQwOTYyOWEzYzhkZWQ=
13
+ OTg3ZDI4N2JkYTI4MzJmYjQzODZlNzg2NzVkMTY5NTgzYWY3ZjQ3MDY2MzFk
14
+ NWRlMGE5MDg5MmEzZmZmMjE2MzMyYjI2Zjg4ZjVhZmQ5ZGY5OTg3NTE1ZTI1
15
+ NjIzMTU2NTI2NDI5NTM5NGNiMjhiM2Q3MzUyNzM0ZmVlNDdhNTE=
@@ -333,12 +333,14 @@ class PreviewRunner < TurbotRunner::BaseRunner
333
333
  end
334
334
 
335
335
  def handle_non_json_output(line)
336
+ puts
336
337
  puts "The following line was not valid JSON:"
337
338
  puts line
338
339
  interrupt
339
340
  end
340
341
 
341
342
  def handle_interrupted_run
343
+ puts
342
344
  result = submit_batch
343
345
  puts "Run interrupted!"
344
346
  puts "Sent #{@count} records."
@@ -347,6 +349,7 @@ class PreviewRunner < TurbotRunner::BaseRunner
347
349
 
348
350
  def handle_successful_run
349
351
  result = submit_batch
352
+ puts
350
353
  puts "Sent #{@count} records."
351
354
  puts "View your records at #{result.data[:url]}"
352
355
  end
@@ -357,6 +360,7 @@ class PreviewRunner < TurbotRunner::BaseRunner
357
360
 
358
361
  private
359
362
  def submit_batch
363
+ STDOUT.write('.')
360
364
  result = @api.create_draft_data(@bot_name, @batch.to_json)
361
365
  @batch = []
362
366
  result
@@ -1,3 +1,3 @@
1
1
  module Turbot
2
- VERSION = "0.0.37"
2
+ VERSION = "0.0.38"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: turbot
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.37
4
+ version: 0.0.38
5
5
  platform: ruby
6
6
  authors:
7
7
  - Turbot
@@ -100,14 +100,14 @@ dependencies:
100
100
  requirements:
101
101
  - - '='
102
102
  - !ruby/object:Gem::Version
103
- version: 0.0.13
103
+ version: 0.0.14
104
104
  type: :runtime
105
105
  prerelease: false
106
106
  version_requirements: !ruby/object:Gem::Requirement
107
107
  requirements:
108
108
  - - '='
109
109
  - !ruby/object:Gem::Version
110
- version: 0.0.13
110
+ version: 0.0.14
111
111
  - !ruby/object:Gem::Dependency
112
112
  name: turbot-runner
113
113
  requirement: !ruby/object:Gem::Requirement