stupeflix 0.0.3 → 0.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/examples/example.rb CHANGED
@@ -45,8 +45,8 @@ while result.nil?
45
45
  err
46
46
  elsif yt_id = status['available-1-url'].scan(/v=([^&]+)/i).flatten.first rescue nil
47
47
  "Complete: http://www.youtube.com/watch?v=#{yt_id}&hd=1"
48
- elsif (%w(queued generating generated uploading available).include? status['status'] rescue nil)
49
- p 'Processing...'; nil
48
+ elsif (%w(queued info generating generated uploading available).include? status['status'] rescue nil)
49
+ p "#{status['status'].capitalize}..."; nil
50
50
  elsif (status.response.code.to_i != 200 rescue nil)
51
51
  "Error: #{status}"
52
52
  else
@@ -1,3 +1,3 @@
1
1
  module Stupeflix
2
- VERSION = '0.0.3'
2
+ VERSION = '0.0.4'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: stupeflix
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-02-14 00:00:00.000000000 Z
12
+ date: 2013-02-15 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: httparty