zencoder-fetcher 0.2.3 → 0.2.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/README.rdoc +5 -1
- data/lib/zencoder_fetcher.rb +6 -2
- metadata +23 -13
data/README.rdoc
CHANGED
@@ -2,7 +2,11 @@
|
|
2
2
|
|
3
3
|
Fetcher is for developers working with Zencoder. If Zencoder can't notify your server when a job has completed, like if you're at localhost:3000, Fetcher can get the responses and push them to the server for you.
|
4
4
|
|
5
|
-
If you are testing notifications you can use the URL
|
5
|
+
If you are testing notifications you can use the URL
|
6
|
+
|
7
|
+
http://zencoderfetcher/
|
8
|
+
|
9
|
+
to create a successful notification.
|
6
10
|
|
7
11
|
== Commands
|
8
12
|
|
data/lib/zencoder_fetcher.rb
CHANGED
@@ -2,10 +2,14 @@ require 'rubygems'
|
|
2
2
|
require 'httparty'
|
3
3
|
require 'json'
|
4
4
|
require 'time'
|
5
|
-
|
5
|
+
begin
|
6
|
+
require 'active_support/core_ext'
|
7
|
+
rescue
|
8
|
+
require 'active_support'
|
9
|
+
end
|
6
10
|
|
7
11
|
module ZencoderFetcher
|
8
|
-
FETCHER_VERSION = [0,2,
|
12
|
+
FETCHER_VERSION = [0,2,4] unless defined?(FETCHER_VERSION)
|
9
13
|
|
10
14
|
def self.version
|
11
15
|
FETCHER_VERSION.join(".")
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: zencoder-fetcher
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 31
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 2
|
9
|
-
-
|
10
|
-
version: 0.2.
|
9
|
+
- 4
|
10
|
+
version: 0.2.4
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Chris Warren
|
@@ -16,8 +16,7 @@ autorequire:
|
|
16
16
|
bindir: bin
|
17
17
|
cert_chain: []
|
18
18
|
|
19
|
-
date: 2011-
|
20
|
-
default_executable:
|
19
|
+
date: 2011-09-16 00:00:00 Z
|
21
20
|
dependencies:
|
22
21
|
- !ruby/object:Gem::Dependency
|
23
22
|
name: trollop
|
@@ -67,16 +66,28 @@ dependencies:
|
|
67
66
|
requirement: &id004 !ruby/object:Gem::Requirement
|
68
67
|
none: false
|
69
68
|
requirements:
|
70
|
-
- -
|
69
|
+
- - ">="
|
71
70
|
- !ruby/object:Gem::Version
|
72
|
-
hash:
|
71
|
+
hash: 3
|
73
72
|
segments:
|
74
|
-
-
|
75
|
-
|
76
|
-
- 11
|
77
|
-
version: 2.3.11
|
73
|
+
- 0
|
74
|
+
version: "0"
|
78
75
|
type: :runtime
|
79
76
|
version_requirements: *id004
|
77
|
+
- !ruby/object:Gem::Dependency
|
78
|
+
name: i18n
|
79
|
+
prerelease: false
|
80
|
+
requirement: &id005 !ruby/object:Gem::Requirement
|
81
|
+
none: false
|
82
|
+
requirements:
|
83
|
+
- - ">="
|
84
|
+
- !ruby/object:Gem::Version
|
85
|
+
hash: 3
|
86
|
+
segments:
|
87
|
+
- 0
|
88
|
+
version: "0"
|
89
|
+
type: :runtime
|
90
|
+
version_requirements: *id005
|
80
91
|
description: Fetches notifications from Zencoder for local development where Zencoder is unable to communicate to the server, usually because it's localhost.
|
81
92
|
email:
|
82
93
|
- chris@zencoder.com
|
@@ -92,7 +103,6 @@ files:
|
|
92
103
|
- lib/zencoder_fetcher.rb
|
93
104
|
- LICENSE
|
94
105
|
- README.rdoc
|
95
|
-
has_rdoc: true
|
96
106
|
homepage: http://github.com/zencoder/zencoder-fetcher
|
97
107
|
licenses: []
|
98
108
|
|
@@ -122,7 +132,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
122
132
|
requirements:
|
123
133
|
- A Zencoder Account - http://zencoder.com
|
124
134
|
rubyforge_project:
|
125
|
-
rubygems_version: 1.
|
135
|
+
rubygems_version: 1.8.8
|
126
136
|
signing_key:
|
127
137
|
specification_version: 3
|
128
138
|
summary: Fetches notifications from Zencoder for local development.
|