turbot 0.1.6 → 0.1.7

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,15 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: e6f9bd33d217e94908eb4054417bc7c0dba00772
4
- data.tar.gz: a6f6eeaff7a5c2a67231648d3fa0c5b15a230bc2
2
+ !binary "U0hBMQ==":
3
+ metadata.gz: !binary |-
4
+ NTY2YmZmMGY0NGYzYTliMGM4MGFmYzMyMzY1NzZjZmUxMjliNjQxYw==
5
+ data.tar.gz: !binary |-
6
+ NWU3ZjdhZTEzNTcxMzYwOTUzYTgyNDcwNWJlMWNiZTk2MzA1NjI3Ng==
5
7
  SHA512:
6
- metadata.gz: 854d253f41404652b4aaa057b01b8572bb4e34d2786211f12c345462d3838980733bdb1539b223be883a4b721a7879419731463deaede0df8e0c8ec125fda2a3
7
- data.tar.gz: f8c521cffe01fb137b2224506550efc29d2669eb582db287a8625ed1c12d6f0dd195f95ca89054fe7d7fa55ebb4037f58fdf942e78d2ebaf13724ea1f305b0e3
8
+ metadata.gz: !binary |-
9
+ M2Y3ZTFhOTk2NTQ5MWQ5NzU3ZjA0ZTM0MmI1NjhiZGRjMmNiNThkMWE2MjEw
10
+ YTU4MTcyZmExZGFlNjkwNGI3YzE3NWQ2MjM5ZWU5Yzc2YjZlNDY4MzlmZDg2
11
+ YjVhNDZjNjY3NGM4NWRlYWVmY2ZjODg3NjNmZTY1YWQ4MGIzMDE=
12
+ data.tar.gz: !binary |-
13
+ ZjRkNzJiY2ZjYTc3ZjlmOGNhZDUwZjNlY2RjZTg4M2FlYjYwOWFmMWMzYzc1
14
+ ZDk1MjFmOWQwZTc4ZGFjNGMwODU2YzI1ODEzNTE4ZjlkYmUyYWZiZGQ2MjJl
15
+ NThhYjU2MjBkNmM1OWZlMGQyOWUwNGVjZWU4ZGE1MjM3N2Y0Y2U=
@@ -291,11 +291,15 @@ class Turbot::Command::Bots < Turbot::Command::Base
291
291
 
292
292
  if rc
293
293
  response = handler.submit_batch
294
- if handler.count > 0
295
- puts "Submitted #{handler.count} records to turbot"
296
- puts "View your records at #{response.data[:url]}"
294
+ if response.is_a? Turbot::API::SuccessResponse
295
+ if handler.count > 0
296
+ puts "Submitted #{handler.count} records to turbot"
297
+ puts "View your records at #{response.data[:url]}"
298
+ else
299
+ puts "No records sent"
300
+ end
297
301
  else
298
- puts "No records sent"
302
+ error(response.message)
299
303
  end
300
304
  else
301
305
  puts
@@ -1,3 +1,3 @@
1
1
  module Turbot
2
- VERSION = "0.1.6"
2
+ VERSION = "0.1.7"
3
3
  end
metadata CHANGED
@@ -1,97 +1,97 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: turbot
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.6
4
+ version: 0.1.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Turbot
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-12-12 00:00:00.000000000 Z
11
+ date: 2014-12-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: turbotlib
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - ~>
18
18
  - !ruby/object:Gem::Version
19
19
  version: 0.0.8
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - "~>"
24
+ - - ~>
25
25
  - !ruby/object:Gem::Version
26
26
  version: 0.0.8
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: netrc
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - "~>"
31
+ - - ~>
32
32
  - !ruby/object:Gem::Version
33
33
  version: 0.7.7
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - "~>"
38
+ - - ~>
39
39
  - !ruby/object:Gem::Version
40
40
  version: 0.7.7
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: rest-client
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - "~>"
45
+ - - ~>
46
46
  - !ruby/object:Gem::Version
47
47
  version: 1.6.1
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - "~>"
52
+ - - ~>
53
53
  - !ruby/object:Gem::Version
54
54
  version: 1.6.1
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: launchy
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - ">="
59
+ - - ! '>='
60
60
  - !ruby/object:Gem::Version
61
61
  version: 0.3.2
62
62
  type: :runtime
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
- - - ">="
66
+ - - ! '>='
67
67
  - !ruby/object:Gem::Version
68
68
  version: 0.3.2
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: rubyzip
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
- - - ">="
73
+ - - ! '>='
74
74
  - !ruby/object:Gem::Version
75
75
  version: 1.0.0
76
76
  type: :runtime
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
- - - ">="
80
+ - - ! '>='
81
81
  - !ruby/object:Gem::Version
82
82
  version: 1.0.0
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: json-schema
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
- - - ">="
87
+ - - ! '>='
88
88
  - !ruby/object:Gem::Version
89
89
  version: '0'
90
90
  type: :runtime
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
- - - ">="
94
+ - - ! '>='
95
95
  - !ruby/object:Gem::Version
96
96
  version: '0'
97
97
  - !ruby/object:Gem::Dependency
@@ -140,14 +140,14 @@ dependencies:
140
140
  name: excon
141
141
  requirement: !ruby/object:Gem::Requirement
142
142
  requirements:
143
- - - ">="
143
+ - - ! '>='
144
144
  - !ruby/object:Gem::Version
145
145
  version: '0'
146
146
  type: :runtime
147
147
  prerelease: false
148
148
  version_requirements: !ruby/object:Gem::Requirement
149
149
  requirements:
150
- - - ">="
150
+ - - ! '>='
151
151
  - !ruby/object:Gem::Version
152
152
  version: '0'
153
153
  description: Client library and command-line tool to deploy and manage apps on Turbot.
@@ -250,12 +250,12 @@ require_paths:
250
250
  - lib
251
251
  required_ruby_version: !ruby/object:Gem::Requirement
252
252
  requirements:
253
- - - ">="
253
+ - - ! '>='
254
254
  - !ruby/object:Gem::Version
255
255
  version: 1.9.2
256
256
  required_rubygems_version: !ruby/object:Gem::Requirement
257
257
  requirements:
258
- - - ">="
258
+ - - ! '>='
259
259
  - !ruby/object:Gem::Version
260
260
  version: '0'
261
261
  requirements: []
@@ -265,3 +265,4 @@ signing_key:
265
265
  specification_version: 4
266
266
  summary: Client library and CLI to deploy apps on Turbot.
267
267
  test_files: []
268
+ has_rdoc: