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 +8 -8
- data/lib/turbot/command/bots.rb +4 -0
- data/lib/turbot/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
YmNhZGI4YWU5MDQwYzAyZjY4NzU3YjZkYWU2YTgxZTRlOGJmZmY4Zg==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
NGJhY2Y4ZDRmMjAwYmM3MzMyZTkyMGE0ODRmZjczNzZhM2ZkZDMwYw==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
ODY4NjQ1MmJjMzMwYmViMzMwMmMzNjhiOTE3MTYwOWMwMGM0NGU5NjNjNDgw
|
10
|
+
ODFjZmU5ODJmNzczMmUyY2UzODljYjM5NmY2YmY1ZjI3OGJjYTE3NGYzYTM0
|
11
|
+
NmM1ZDRkYzEwNjhkZWE2YTE1ZjVmZjhlNzc0NmUxNjA4ODVkM2Y=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
OTg3ZDI4N2JkYTI4MzJmYjQzODZlNzg2NzVkMTY5NTgzYWY3ZjQ3MDY2MzFk
|
14
|
+
NWRlMGE5MDg5MmEzZmZmMjE2MzMyYjI2Zjg4ZjVhZmQ5ZGY5OTg3NTE1ZTI1
|
15
|
+
NjIzMTU2NTI2NDI5NTM5NGNiMjhiM2Q3MzUyNzM0ZmVlNDdhNTE=
|
data/lib/turbot/command/bots.rb
CHANGED
@@ -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
|
data/lib/turbot/version.rb
CHANGED
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.
|
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.
|
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.
|
110
|
+
version: 0.0.14
|
111
111
|
- !ruby/object:Gem::Dependency
|
112
112
|
name: turbot-runner
|
113
113
|
requirement: !ruby/object:Gem::Requirement
|