flixit 0.0.17 → 0.0.18

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/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.17
1
+ 0.0.18
@@ -33,7 +33,7 @@ protected
33
33
  def post(path, body)
34
34
  begin
35
35
  flixcloud = RestClient::Resource.new(
36
- "https://flixcloud.com/#{path}",
36
+ "https://www.flixcloud.com/#{path}",
37
37
  :verify_ssl => false
38
38
  )
39
39
  Flixit::Response.new(flixcloud.post body, :content_type => :xml, :accept => :xml)
@@ -8,7 +8,7 @@ context "Create a Job" do
8
8
  :file_locations => { :input => {:url => 'http://flixcloud.com/somefile.mp4'},
9
9
  :output => {:url => 's3://flixcloud/somefile.flv'},
10
10
  :thumbnails => {:url => "s3://flixcloud/somefile/",:prefix => 'thumbnail'}})
11
- Fredo.post "https://flixcloud.com/jobs" do
11
+ Fredo.post "https://www.flixcloud.com/jobs" do
12
12
  %{<?xml version="1.0" encoding="UTF-8"?><job><id type="integer">3254</id><initialized-job-at type="datetime">2009-02-11T01:23:54Z</initialized-job-at></job>}
13
13
  end
14
14
 
@@ -26,9 +26,9 @@ context "Create a Job" do
26
26
  job = Flixit::Job.new(:recipe_id => 1,
27
27
  :api_key => 'this_is_an_api_key',
28
28
  :pass_through => YAML.dump({:key => 'value'}),
29
- :file_locations => { :input => {:url => 'http://flixcloud.com/somefile.mp4'},
30
- :output => {:url => 's3://flixcloud/somefile.flv'},
31
- :thumbnails => {:url => "s3://flixcloud/somefile/"}})
29
+ :file_locations => { :input => {:url => 's3://mybucket/somefile.mp4'},
30
+ :output => {:url => 's3://mybucket/somefile.flv'},
31
+ :thumbnails => {:url => "s3://mybucket/somefile/"}})
32
32
  job.save
33
33
 
34
34
  request = Crack::XML.parse Fredo.books.last[:body]
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 0
8
- - 17
9
- version: 0.0.17
8
+ - 18
9
+ version: 0.0.18
10
10
  platform: ruby
11
11
  authors:
12
12
  - Leandro Pedroni