animoto 0.0.0.alpha6 → 0.0.0.alpha7
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/animoto/asset.rb +1 -1
- data/lib/animoto/client.rb +1 -1
- data/lib/animoto.rb +1 -1
- data/spec/animoto/footage_spec.rb +3 -3
- data/spec/animoto/image_spec.rb +3 -3
- data/spec/animoto/song_spec.rb +3 -3
- metadata +3 -3
data/lib/animoto/asset.rb
CHANGED
data/lib/animoto/client.rb
CHANGED
@@ -196,7 +196,7 @@ module Animoto
|
|
196
196
|
# @param [Hash] options
|
197
197
|
# @return [Hash] deserialized response body
|
198
198
|
def send_manifest manifest, endpoint, options = {}
|
199
|
-
u = URI.parse(endpoint)
|
199
|
+
u = URI.parse(self.endpoint)
|
200
200
|
u.path = endpoint
|
201
201
|
request(
|
202
202
|
:post,
|
data/lib/animoto.rb
CHANGED
@@ -11,9 +11,9 @@ describe Animoto::Footage do
|
|
11
11
|
@footage = Animoto::Footage.new 'http://website.com/movie.mp4'
|
12
12
|
end
|
13
13
|
|
14
|
-
it "should have a '
|
15
|
-
@footage.to_hash.should have_key('
|
16
|
-
@footage.to_hash['
|
14
|
+
it "should have a 'source_url' key with the url" do
|
15
|
+
@footage.to_hash.should have_key('source_url')
|
16
|
+
@footage.to_hash['source_url'].should == @footage.source
|
17
17
|
end
|
18
18
|
|
19
19
|
it "should not have a 'spotlit' key" do
|
data/spec/animoto/image_spec.rb
CHANGED
@@ -11,9 +11,9 @@ describe Animoto::Image do
|
|
11
11
|
@image = Animoto::Image.new 'http://website.com/image.png'
|
12
12
|
end
|
13
13
|
|
14
|
-
it "should have a '
|
15
|
-
@image.to_hash.should have_key('
|
16
|
-
@image.to_hash['
|
14
|
+
it "should have a 'source_url' key with the url" do
|
15
|
+
@image.to_hash.should have_key('source_url')
|
16
|
+
@image.to_hash['source_url'].should == @image.source
|
17
17
|
end
|
18
18
|
|
19
19
|
describe "if rotated" do
|
data/spec/animoto/song_spec.rb
CHANGED
@@ -7,9 +7,9 @@ describe Animoto::Song do
|
|
7
7
|
@song = Animoto::Song.new 'http://website.com/song.mp3'
|
8
8
|
end
|
9
9
|
|
10
|
-
it "should have a '
|
11
|
-
@song.to_hash.should have_key('
|
12
|
-
@song.to_hash['
|
10
|
+
it "should have a 'source_url' key with the url" do
|
11
|
+
@song.to_hash.should have_key('source_url')
|
12
|
+
@song.to_hash['source_url'].should == @song.source
|
13
13
|
end
|
14
14
|
|
15
15
|
describe "if a start time was specified" do
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: animoto
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash: -
|
4
|
+
hash: -1710980403
|
5
5
|
prerelease: true
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 0
|
9
9
|
- 0
|
10
|
-
-
|
11
|
-
version: 0.0.0.
|
10
|
+
- alpha7
|
11
|
+
version: 0.0.0.alpha7
|
12
12
|
platform: ruby
|
13
13
|
authors:
|
14
14
|
- Animoto
|