turbot 0.0.39 → 0.0.40
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 +2 -2
- data/lib/turbot/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
MGRiODQwZGEwYjg3ZGNlYTc4NWJlNGQxMjZmNjQwYTEwZTU3MjllZQ==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
NzJiOGM0M2I2ZGE3OWE4YzE4ODUzOGM1NjhlZDI3NDgwMGNiYzM1OQ==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
N2I5MjZhYzZhZjUwZmRiYzM5YTY5YzU1MmNlNWViYjIyNDFkNDQ5YzM3ZjMx
|
10
|
+
OWRhYTYwMDU0N2ZhNDViYzA3MDQ2ZDRhMGYxMTk3ZTRhOTkxN2Q0YWY0YWVi
|
11
|
+
Zjc0ZjQ1NDkwOTdhYWYyYmMxMWRiMTM0MzBlMDdlMDY2YjBjOTQ=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
MDM4ZjNjMWVkOTkwMWZlZGJlOTBlMzE2YWI5YTJhMGNkMjMyZGVjZTM4MWQ4
|
14
|
+
N2Y1OGY0ZjdjM2ZkOWJiNjAyYjQ3ZWNiMzdhNmZhOTJiMGM0ODA2MTc2ZjZi
|
15
|
+
OGNmOWJkYWI1NmIyNjE3YTFlM2YwMmY0YTg0NzlhNWVkYzY1Y2M=
|
data/lib/turbot/command/bots.rb
CHANGED
@@ -184,9 +184,9 @@ class Turbot::Command::Bots < Turbot::Command::Base
|
|
184
184
|
|
185
185
|
response = File.open(archive_path) {|file| api.update_code(bot, file)}
|
186
186
|
case response
|
187
|
-
when SuccessResponse
|
187
|
+
when Turbot::API::SuccessResponse
|
188
188
|
puts "Your bot has been pushed to Turbot and will be reviewed for inclusion as soon as we can. THANKYOU!"
|
189
|
-
when FailureResponse
|
189
|
+
when Turbot::API::FailureResponse
|
190
190
|
error(response.message)
|
191
191
|
end
|
192
192
|
end
|
data/lib/turbot/version.rb
CHANGED