zencoder-fetcher 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.0
1
+ 0.1.1
@@ -23,8 +23,10 @@ module ZencoderFetcher
23
23
  HTTParty.post(post_uri, job)
24
24
  end
25
25
  puts "#{response.size} notifications retrieved and posted to #{post_uri}"
26
- else
26
+ elsif response.body =~ /errors/
27
27
  puts JSON.parse(response.body)["errors"]
28
+ else
29
+ puts "No notifications found."
28
30
  end
29
31
  rescue Exception => e
30
32
  raise e
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{zencoder-fetcher}
8
- s.version = "0.1.0"
8
+ s.version = "0.1.1"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["chriswarren"]
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 1
8
- - 0
9
- version: 0.1.0
8
+ - 1
9
+ version: 0.1.1
10
10
  platform: ruby
11
11
  authors:
12
12
  - chriswarren