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 +1 -1
- data/lib/zencoder_fetcher.rb +3 -1
- data/zencoder-fetcher.gemspec +1 -1
- metadata +2 -2
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.1.
|
1
|
+
0.1.1
|
data/lib/zencoder_fetcher.rb
CHANGED
@@ -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
|
-
|
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
|
data/zencoder-fetcher.gemspec
CHANGED