enigmamachine 0.4.1 → 0.4.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/README.rdoc +6 -1
  2. data/VERSION +1 -1
  3. data/enigmamachine.gemspec +1 -1
  4. metadata +3 -3
data/README.rdoc CHANGED
@@ -53,7 +53,8 @@ receive the video. When the upload is complete, make an HTTP call something like
53
53
 
54
54
  with the params:
55
55
 
56
- "video=/foo/bar/blah.mp4" # the full path to a file on your local filesystem
56
+ "video[file]=/foo/bar/blah.mp4" # the full path to a file on your local filesystem
57
+ "video[callback_url]=http://example.org/call/back/id" # an optional callback url
57
58
  "encoder_id=1" # the id of an encoder defined in your enigmamachine database
58
59
 
59
60
  The enigmamachine will run all encoding tasks on the video, while your web
@@ -66,6 +67,10 @@ protected by HTTP basic auth. By default, the username is
66
67
  <i>admin</i> and the password is <i>admin</i>. You can change the username and
67
68
  password in the config.yml file which will be generated on first use.
68
69
 
70
+ When a video has finished encoding, the main web application might want to know.
71
+ The optional video[callback_url] parameter tells enigmamachine to execute a GET
72
+ request to the callback url when video encoding is complete.
73
+
69
74
  Programmatic requests in Ruby might look something like this:
70
75
 
71
76
  # enigma_client.rb:
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.4.1
1
+ 0.4.2
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{enigmamachine}
8
- s.version = "0.4.1"
8
+ s.version = "0.4.2"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Dave Hrycyszyn"]
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: enigmamachine
3
3
  version: !ruby/object:Gem::Version
4
- hash: 13
4
+ hash: 11
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 4
9
- - 1
10
- version: 0.4.1
9
+ - 2
10
+ version: 0.4.2
11
11
  platform: ruby
12
12
  authors:
13
13
  - Dave Hrycyszyn