spob-flix_cloud-gem 0.6 → 0.6.1
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/flix_cloud/job.rb +1 -1
- data/lib/flix_cloud/record.rb +1 -0
- metadata +14 -2
data/lib/flix_cloud/job.rb
CHANGED
@@ -38,7 +38,7 @@ class FlixCloud::Job < FlixCloud::Record
|
|
38
38
|
def save
|
39
39
|
return false unless valid?
|
40
40
|
|
41
|
-
self.response = post('flixcloud/jobs', to_xml)
|
41
|
+
self.response = post('api/flixcloud/jobs', to_xml)
|
42
42
|
|
43
43
|
if response.success?
|
44
44
|
self.id = response.body_as_hash['job']['id']
|
data/lib/flix_cloud/record.rb
CHANGED
@@ -31,6 +31,7 @@ class FlixCloud::Record
|
|
31
31
|
protected
|
32
32
|
|
33
33
|
def post(path, body)
|
34
|
+
puts "========>https://flixcloud.com/#{path}<=================="
|
34
35
|
begin
|
35
36
|
FlixCloud::Response.new(HttpClient::Resource.new("https://flixcloud.com/#{path}",
|
36
37
|
:verify_ssl => OpenSSL::SSL::VERIFY_PEER).post(body, :content_type => 'application/xml', :accept => 'application/xml'))
|
metadata
CHANGED
@@ -1,11 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: spob-flix_cloud-gem
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
+
hash: 5
|
4
5
|
prerelease: false
|
5
6
|
segments:
|
6
7
|
- 0
|
7
8
|
- 6
|
8
|
-
|
9
|
+
- 1
|
10
|
+
version: 0.6.1
|
9
11
|
platform: ruby
|
10
12
|
authors:
|
11
13
|
- Bob Sturim
|
@@ -20,9 +22,11 @@ dependencies:
|
|
20
22
|
name: builder
|
21
23
|
prerelease: false
|
22
24
|
requirement: &id001 !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
23
26
|
requirements:
|
24
27
|
- - ">="
|
25
28
|
- !ruby/object:Gem::Version
|
29
|
+
hash: 15
|
26
30
|
segments:
|
27
31
|
- 2
|
28
32
|
- 1
|
@@ -34,9 +38,11 @@ dependencies:
|
|
34
38
|
name: crack
|
35
39
|
prerelease: false
|
36
40
|
requirement: &id002 !ruby/object:Gem::Requirement
|
41
|
+
none: false
|
37
42
|
requirements:
|
38
43
|
- - ">="
|
39
44
|
- !ruby/object:Gem::Version
|
45
|
+
hash: 25
|
40
46
|
segments:
|
41
47
|
- 0
|
42
48
|
- 1
|
@@ -48,9 +54,11 @@ dependencies:
|
|
48
54
|
name: sevenwire-http_client
|
49
55
|
prerelease: false
|
50
56
|
requirement: &id003 !ruby/object:Gem::Requirement
|
57
|
+
none: false
|
51
58
|
requirements:
|
52
59
|
- - ">="
|
53
60
|
- !ruby/object:Gem::Version
|
61
|
+
hash: 27
|
54
62
|
segments:
|
55
63
|
- 0
|
56
64
|
- 1
|
@@ -100,23 +108,27 @@ rdoc_options:
|
|
100
108
|
require_paths:
|
101
109
|
- lib
|
102
110
|
required_ruby_version: !ruby/object:Gem::Requirement
|
111
|
+
none: false
|
103
112
|
requirements:
|
104
113
|
- - ">="
|
105
114
|
- !ruby/object:Gem::Version
|
115
|
+
hash: 3
|
106
116
|
segments:
|
107
117
|
- 0
|
108
118
|
version: "0"
|
109
119
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
120
|
+
none: false
|
110
121
|
requirements:
|
111
122
|
- - ">="
|
112
123
|
- !ruby/object:Gem::Version
|
124
|
+
hash: 3
|
113
125
|
segments:
|
114
126
|
- 0
|
115
127
|
version: "0"
|
116
128
|
requirements: []
|
117
129
|
|
118
130
|
rubyforge_project:
|
119
|
-
rubygems_version: 1.3.
|
131
|
+
rubygems_version: 1.3.7
|
120
132
|
signing_key:
|
121
133
|
specification_version: 2
|
122
134
|
summary: Gem for integrating with http://flixcloud.com, forked to allow thumbnails to be specified as well
|