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.
@@ -67,4 +67,12 @@ EOS
67
67
  end
68
68
 
69
69
 
70
- Zencoder::CLI::Command.run(command, args, global_options, command_options)
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
@@ -1,5 +1,5 @@
1
1
  module Zencoder
2
2
  module CLI
3
- GEM_VERSION = '0.1.4'
3
+ GEM_VERSION = '0.1.5'
4
4
  end
5
5
  end
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: 19
4
+ hash: 17
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 4
10
- version: 0.1.4
9
+ - 5
10
+ version: 0.1.5
11
11
  platform: ruby
12
12
  authors:
13
13
  - Brandon Arbini