turbot 0.0.29 → 0.0.30

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
- Y2I2YTA4MWYzMDBiOGQ1MDFkNmExZWU5NjdkMWRkNmQxOTdiNmU4Mg==
4
+ ZDA5ZDU1YmEwNTE2ZGM5NDExNWU4ZTZjNDY4NDY4ZjNkZjlmODhjZA==
5
5
  data.tar.gz: !binary |-
6
- ZDU4N2JlYjgxMjQ1OTBiMzYwMTk5MWQxMjQ2ZTUwOGJhN2ZhMTIwOQ==
6
+ NzRjMDk5YmYyZGIxN2ZkYmI0OTg4Yjc2MDAzMzA0Yzg5ZTdjNzM3Mg==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- NzFmOTFkZWJiMzM1ZGMxOTVjZDI0MDAxZmQ4ZTNhM2MxODY4YjlmNWQyOGFj
10
- NjU3NjIyZjlmMWVlZDI4OGViM2NmZmVmOTY1ZjhjZDIzNTRkNDg0OGExMWE1
11
- NTUzOGJkMTZlY2RmYTBhZGM1MTU5NmIxNjk4ZDQxNTRlMTVhZGM=
9
+ NTI3NWIxMjM2YzE2YzEwMWE2OThhZDUwMzllZjc1NGMwZjg2Nzk4ZWQ5Zjc3
10
+ Yjg1ZWY5NWY1ZGEwNWFlOTFmMDVlODE0ZmVkMjM5NDQxZDg0NmJlM2NhYTI0
11
+ NTYwOTgwODMyNTc1ZmQwOTUwYmIzYTU4MDIxZThjNTVmZTc2MWU=
12
12
  data.tar.gz: !binary |-
13
- NzQ2ODIwYThiZjFiYTg1NGNkYzZlYTE0ZDRjNDY3YzZiYWNmYmFiOWI1MDNl
14
- Y2FmZmE1ZDQzOWMyNmUyNzRiMzkxOTBlZDEyNzUwOThmMWZmMTZmZmM0ZjZi
15
- NGI0YTdlMzI1NDhmYTBmOGFiZmE4NzliY2VhNGYzNmM1ZjkxZDg=
13
+ YTdmOWI5ZDZhZjkxMWExYzM1YmEzN2EyYmUxMjE1MjZkZGI3NDMwZDM1N2Jj
14
+ MWZkNmFlNWQ4YjViNDY2NzJmNGZiNjZhOTdmZWY0YjFmNjZjNmIyNTRkMDU2
15
+ NGJiZjUzMGZkMDk0MjEyM2FiMGFjYTIyYjU5MzlmMWY3NzZkZjM=
@@ -325,9 +325,8 @@ class PreviewRunner < TurbotRunner::BaseRunner
325
325
  puts "View your records at #{result.data[:url]}"
326
326
  end
327
327
 
328
- def handle_failed_run(output)
328
+ def handle_failed_run
329
329
  puts "Bot did not run to completion:"
330
- puts output
331
330
  end
332
331
 
333
332
  private
@@ -351,9 +350,8 @@ class DumpRunner < TurbotRunner::BaseRunner
351
350
  puts
352
351
  end
353
352
 
354
- def handle_failed_run(output)
353
+ def handle_failed_run
355
354
  puts "Bot did not run to completion:"
356
- puts output
357
355
  end
358
356
  end
359
357
 
@@ -376,9 +374,8 @@ class ValidationRunner < TurbotRunner::BaseRunner
376
374
  interrupt
377
375
  end
378
376
 
379
- def handle_failed_run(output)
377
+ def handle_failed_run
380
378
  puts "Bot did not run to completion:"
381
- puts output
382
379
  end
383
380
 
384
381
  def handle_interrupted_run
@@ -1,3 +1,3 @@
1
1
  module Turbot
2
- VERSION = "0.0.29"
2
+ VERSION = "0.0.30"
3
3
  end
@@ -1,5 +1,10 @@
1
+ # -*- coding: utf-8 -*-
2
+
1
3
  import json
2
4
  import datetime
5
+ import turbotlib
6
+
7
+ turbotlib.log("starting run...")
3
8
 
4
9
  for n in range(0,20):
5
10
  data = {"number": n,
@@ -8,3 +13,5 @@ for n in range(0,20):
8
13
  "source_url": "http://somewhere.com/%s" % n}
9
14
  # The Turbot specification simply requires us to output lines of JSON
10
15
  print json.dumps(data)
16
+
17
+ turbotlib.log("done!")
@@ -1,4 +1,9 @@
1
+ # -*- coding: utf-8 -*-
2
+
1
3
  require 'json'
4
+ require 'turbotlib'
5
+
6
+ Turbotlib.log("Starting run...")
2
7
 
3
8
  (1...20).each do |n|
4
9
  data = {
@@ -10,3 +15,5 @@ require 'json'
10
15
  # The Turbot specification simply requires us to output lines of JSON
11
16
  puts JSON.dump(data)
12
17
  end
18
+
19
+ Turbotlib.log("Done!")
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: turbot
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.29
4
+ version: 0.0.30
5
5
  platform: ruby
6
6
  authors:
7
7
  - Turbot
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-06-30 00:00:00.000000000 Z
11
+ date: 2014-07-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: netrc
@@ -114,14 +114,14 @@ dependencies:
114
114
  requirements:
115
115
  - - '='
116
116
  - !ruby/object:Gem::Version
117
- version: 0.0.2
117
+ version: 0.0.3
118
118
  type: :runtime
119
119
  prerelease: false
120
120
  version_requirements: !ruby/object:Gem::Requirement
121
121
  requirements:
122
122
  - - '='
123
123
  - !ruby/object:Gem::Version
124
- version: 0.0.2
124
+ version: 0.0.3
125
125
  - !ruby/object:Gem::Dependency
126
126
  name: excon
127
127
  requirement: !ruby/object:Gem::Requirement