zencoder-cli 0.1.4 → 0.1.5
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/zencoder-cli/cli.rb +9 -1
- data/lib/zencoder-cli/version.rb +1 -1
- metadata +3 -3
data/lib/zencoder-cli/cli.rb
CHANGED
@@ -67,4 +67,12 @@ EOS
|
|
67
67
|
end
|
68
68
|
|
69
69
|
|
70
|
-
|
70
|
+
begin
|
71
|
+
Zencoder::CLI::Command.run(command, args, global_options, command_options)
|
72
|
+
rescue Timeout::Error
|
73
|
+
puts "The request timed out. Try again later or contact support."
|
74
|
+
exit 1
|
75
|
+
rescue Interrupt
|
76
|
+
puts "\rRequest cancelled."
|
77
|
+
exit
|
78
|
+
end
|
data/lib/zencoder-cli/version.rb
CHANGED
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: zencoder-cli
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 17
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 1
|
9
|
-
-
|
10
|
-
version: 0.1.
|
9
|
+
- 5
|
10
|
+
version: 0.1.5
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Brandon Arbini
|