moovatom 0.1.4 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,4 +1,4 @@
1
1
  <response>
2
- <uuid>456</uuid>
2
+ <uuid>123</uuid>
3
3
  <message>This job was successfully cancelled.</message>
4
4
  </response>
@@ -0,0 +1,69 @@
1
+ {
2
+ "uuid": "123",
3
+ "media_type": "video",
4
+ "embed_code": "EMBED CODE SMART SWITCHING FOR AUTOMATIC MOBILE AND WEB SUPPORT.",
5
+ "iframe_target": "http://www.moovatom.com/media/embed/ID",
6
+ "original_download": "http://www.moovatom.com/media/download/orig/UUID",
7
+ "versions": [
8
+ {
9
+ "name": "mobile",
10
+ "type": "video/mp4",
11
+ "holdframe_download": "http://www.moovatom.com/PATH_TO_FILE",
12
+ "thumbnail_download": "http://www.moovatom.com/PATH_TO_FILE",
13
+ "holdframe_serve": "http://static.moovatom.com/PATH_TO_FILE",
14
+ "thumbnail_serve": "http://static.moovatom.com/PATH_TO_FILE",
15
+ "rtmp_stream": "rtmp://media.moovatom.com/PATH_TO_FILE",
16
+ "http_stream": "http://media.moovatom.com:1935/PATH_TO_FILE",
17
+ "rtsp_stream": "rtsp://media.moovatom.com:1935/PATH_TO_FILE",
18
+ "download": "http://www.moovatom.com/PATH_TO_FILE"
19
+ },
20
+ {
21
+ "name": "mobile_large",
22
+ "type": "video/mp4",
23
+ "holdframe_download": "http://www.moovatom.com/PATH_TO_FILE",
24
+ "thumbnail_download": "http://www.moovatom.com/PATH_TO_FILE",
25
+ "holdframe_serve": "http://static.moovatom.com/PATH_TO_FILE",
26
+ "thumbnail_serve": "http://static.moovatom.com/PATH_TO_FILE",
27
+ "rtmp_stream": "rtmp://media.moovatom.com/PATH_TO_FILE",
28
+ "http_stream": "http://media.moovatom.com:1935/PATH_TO_FILE",
29
+ "rtsp_stream": "rtsp://media.moovatom.com:1935/PATH_TO_FILE",
30
+ "download": "http://www.moovatom.com/PATH_TO_FILE"
31
+ },
32
+ {
33
+ "name": "small",
34
+ "type": "video/mp4",
35
+ "holdframe_download": "http://www.moovatom.com/PATH_TO_FILE",
36
+ "thumbnail_download": "http://www.moovatom.com/PATH_TO_FILE",
37
+ "holdframe_serve": "http://static.moovatom.com/PATH_TO_FILE",
38
+ "thumbnail_serve": "http://static.moovatom.com/PATH_TO_FILE",
39
+ "rtmp_stream": "rtmp://media.moovatom.com/PATH_TO_FILE",
40
+ "http_stream": "http://media.moovatom.com:1935/PATH_TO_FILE",
41
+ "rtsp_stream": "rtsp://media.moovatom.com:1935/PATH_TO_FILE",
42
+ "download": "http://www.moovatom.com/PATH_TO_FILE"
43
+ },
44
+ {
45
+ "name": "medium",
46
+ "type": "video/mp4",
47
+ "holdframe_download": "http://www.moovatom.com/PATH_TO_FILE",
48
+ "thumbnail_download": "http://www.moovatom.com/PATH_TO_FILE",
49
+ "holdframe_serve": "http://static.moovatom.com/PATH_TO_FILE",
50
+ "thumbnail_serve": "http://static.moovatom.com/PATH_TO_FILE",
51
+ "rtmp_stream": "rtmp://media.moovatom.com/PATH_TO_FILE",
52
+ "http_stream": "http://media.moovatom.com:1935/PATH_TO_FILE",
53
+ "rtsp_stream": "rtsp://media.moovatom.com:1935/PATH_TO_FILE",
54
+ "download": "http://www.moovatom.com/PATH_TO_FILE"
55
+ },
56
+ {
57
+ "name": "large",
58
+ "type": "video/mp4",
59
+ "holdframe_download": "http://www.moovatom.com/PATH_TO_FILE",
60
+ "thumbnail_download": "http://www.moovatom.com/PATH_TO_FILE",
61
+ "holdframe_serve": "http://static.moovatom.com/PATH_TO_FILE",
62
+ "thumbnail_serve": "http://static.moovatom.com/PATH_TO_FILE",
63
+ "rtmp_stream": "rtmp://media.moovatom.com/PATH_TO_FILE",
64
+ "http_stream": "http://media.moovatom.com:1935/PATH_TO_FILE",
65
+ "rtsp_stream": "rtsp://media.moovatom.com:1935/PATH_TO_FILE",
66
+ "download": "http://www.moovatom.com/PATH_TO_FILE"
67
+ }
68
+ ]
69
+ }
@@ -1,5 +1,5 @@
1
1
  <response>
2
- <uuid>456</uuid>
2
+ <uuid>123</uuid>
3
3
  <media_type>video</media_type>
4
4
  <embed_code>EMBED CODE IFRAME FOR SMART SWITCHING</embed_code>
5
5
  <iframe_target>http://www.moovatom.com/media/embed/SHORTID</iframe_target>
@@ -0,0 +1,4 @@
1
+ {
2
+ "uuid": "321",
3
+ "message": "Your job was started successfully."
4
+ }
@@ -1,4 +1,4 @@
1
1
  <response>
2
- <uuid>456</uuid>
2
+ <uuid>321</uuid>
3
3
  <message>Your job was started successfully.</message>
4
4
  </response>
@@ -0,0 +1,4 @@
1
+ {
2
+ "error": "This file type is not supported for watermarks. Please use .png",
3
+ }
4
+
@@ -0,0 +1,5 @@
1
+ <?xml version="1.0"?>
2
+ <response>
3
+ <error>This file type is not supported for watermarks. Please use .png</error>
4
+ </response>
5
+
@@ -0,0 +1,5 @@
1
+ {
2
+ "uuid": "123",
3
+ "message": "Player was edited successfully."
4
+ }
5
+
@@ -0,0 +1,6 @@
1
+ <?xml version="1.0"?>
2
+ <response>
3
+ <uuid>123</uuid>
4
+ <message>Player was edited successfully.</message>
5
+ </response>
6
+
@@ -0,0 +1,7 @@
1
+ {
2
+ "uuid": 123,
3
+ "processing": false,
4
+ "percent_complete": 100,
5
+ "error": "This was not a recognized format."
6
+ }
7
+
@@ -1,5 +1,5 @@
1
1
  <response>
2
- <uuid>456</uuid>
2
+ <uuid>123</uuid>
3
3
  <processing>False</processing>
4
4
  <percent_complete>100</percent_complete>
5
5
  <error>This was not a recognized format.</error>
@@ -0,0 +1,7 @@
1
+ {
2
+ "uuid": "123",
3
+ "processing": true,
4
+ "percent_complete": 75,
5
+ "error": ""
6
+ }
7
+
@@ -1,5 +1,5 @@
1
1
  <response>
2
- <uuid>456</uuid>
2
+ <uuid>123</uuid>
3
3
  <processing>True</processing>
4
4
  <percent_complete>75</percent_complete>
5
5
  <error></error>
data/spec/init_spec.rb ADDED
@@ -0,0 +1,79 @@
1
+ require "spec_helper"
2
+
3
+ # this file contains all the tests associated with instantiating a new
4
+ # MoovAtom::MoovEngine object
5
+
6
+ describe MoovAtom::MoovEngine, "Initialization Unit Tests" do
7
+
8
+ before do
9
+ @vattrs = {
10
+ uuid: '123',
11
+ username: 'jsmith',
12
+ userkey: '987654321',
13
+ title: 'My Great Movie',
14
+ blurb: 'The greatest movie ever made',
15
+ sourcefile: 'http://example.com/great.mp4',
16
+ callbackurl: 'http://example.com/callback'
17
+ }
18
+
19
+ @pattrs = {
20
+ height: "480",
21
+ width: "720",
22
+ auto_play: false,
23
+ sharing_enabled: true,
24
+ show_hold_image: true,
25
+ watermark: "http://www.example.com/path/to/watermark.png",
26
+ watermark_url: "http://www.example.com",
27
+ show_watermark: true,
28
+ watermark_opacity: "0.8",
29
+ background_color: "#000000",
30
+ duration_color: "#FFFFFF",
31
+ buffer_color: "#6C9CBC",
32
+ volume_color: "#000000",
33
+ volume_slider_color: "#000000",
34
+ button_color: "#889AA4",
35
+ button_over_color: "#92B2BD",
36
+ time_color: "#01DAFF"
37
+ }
38
+ end
39
+
40
+ it "sets video attributes through a hash" do
41
+ me = MoovAtom::MoovEngine.new @vattrs
42
+ @vattrs.each {|k,v| me.instance_variable_get("@#{k}").must_equal v}
43
+ end
44
+
45
+ it "sets player attributes through a hash" do
46
+ me = MoovAtom::MoovEngine.new @vattrs, @pattrs
47
+
48
+ @pattrs.each {|k,v| me.player.instance_variable_get("@table")[k].must_equal v}
49
+ end
50
+
51
+ it "sets video attributes through a block" do
52
+ me = MoovAtom::MoovEngine.new do |me|
53
+ @vattrs.each {|k,v| me.instance_variable_set "@#{k}", v}
54
+ end
55
+
56
+ @vattrs.each {|k,v| me.instance_variable_get("@#{k}").must_equal v}
57
+ end
58
+
59
+ it "sets player attributes through a block" do
60
+ me = MoovAtom::MoovEngine.new do |me|
61
+ me.player.height = @pattrs[:height]
62
+ me.player.width = @pattrs[:width]
63
+ me.player.time_color = @pattrs[:time_color]
64
+ end
65
+
66
+ me.player.height.must_equal @pattrs[:height]
67
+ me.player.width.must_equal @pattrs[:width]
68
+ me.player.time_color.must_equal @pattrs[:time_color]
69
+ end
70
+
71
+ it "defaults to a content_type of video" do
72
+ MoovAtom::MoovEngine.new.content_type.must_equal 'video'
73
+ end
74
+
75
+ it "defaults to a format of json" do
76
+ MoovAtom::MoovEngine.new.format.must_equal 'json'
77
+ end
78
+
79
+ end
@@ -0,0 +1,156 @@
1
+ require "spec_helper"
2
+
3
+ # this file contains all the tests for editing the attributes of the video
4
+ # player on Moovatom's servers
5
+
6
+ describe MoovAtom::MoovEngine, "Edit Player Request Unit Tests" do
7
+
8
+ before do
9
+ @pattrs1 = {
10
+ username: "YOUR_MOOVATOM_USERNAME",
11
+ userkey: "1a2b3c4d5e6f7g8h9i",
12
+ uuid: "123",
13
+ height: "480",
14
+ width: "720",
15
+ auto_play: false,
16
+ sharing_enabled: true,
17
+ show_hold_image: true,
18
+ watermark: "http://www.example.com/path/to/watermark.png",
19
+ watermark_url: "http://www.example.com",
20
+ show_watermark: true,
21
+ watermark_opacity: "0.8",
22
+ background_color: "#000000",
23
+ duration_color: "#FFFFFF",
24
+ buffer_color: "#6C9CBC",
25
+ volume_color: "#000000",
26
+ volume_slider_color: "#000000",
27
+ button_color: "#889AA4",
28
+ button_over_color: "#92B2BD",
29
+ time_color: "#01DAFF"
30
+ }
31
+
32
+ @pattrs2 = {
33
+ username: "YOUR_MOOVATOM_USERNAME",
34
+ userkey: "1a2b3c4d5e6f7g8h9i",
35
+ uuid: "321",
36
+ height: "720",
37
+ width: "480",
38
+ auto_play: true,
39
+ sharing_enabled: false,
40
+ show_hold_image: false,
41
+ watermark: "http://www.example2.com/path/to/watermark.png",
42
+ watermark_url: "http://www.example2.com",
43
+ show_watermark: false,
44
+ watermark_opacity: "0.4",
45
+ background_color: "#000000",
46
+ duration_color: "#FFFFFF",
47
+ buffer_color: "#6C9CBC",
48
+ volume_color: "#000000",
49
+ volume_slider_color: "#000000",
50
+ button_color: "#889AA4",
51
+ button_over_color: "#92B2BD",
52
+ time_color: "#01DAFF"
53
+ }
54
+
55
+ # mock up the connection to moovatom.com
56
+ @me = MoovAtom::MoovEngine.new({userkey: "humanshell"}, @pattrs1)
57
+ @url = "#{MoovAtom::API_URL}/edit_player"
58
+ json_error = File.join(File.dirname(__FILE__), 'fixtures', 'player_error.json')
59
+ FakeWeb.register_uri(:post, "#{@url}.json", :body => json_error)
60
+ json_success = File.join(File.dirname(__FILE__), 'fixtures', 'player_success.json')
61
+ FakeWeb.register_uri(:post, "#{@url}.json", :body => json_success)
62
+ xml_error = File.join(File.dirname(__FILE__), 'fixtures', 'player_error.xml')
63
+ FakeWeb.register_uri(:post, "#{@url}.xml", :body => xml_error)
64
+ xml_success = File.join(File.dirname(__FILE__), 'fixtures', 'player_success.xml')
65
+ FakeWeb.register_uri(:post, "#{@url}.xml", :body => xml_success)
66
+ end
67
+
68
+ after do
69
+ # clean up the registry after each test
70
+ FakeWeb.clean_registry
71
+
72
+ # enable all real requests after testing
73
+ FakeWeb.allow_net_connect = true
74
+ end
75
+
76
+ it "accepts a hash to update attributes" do
77
+
78
+ # create a MoovEngine object using the values from the @vars1 hash
79
+ me = MoovAtom::MoovEngine.new({username: "humanshell"}, @pattrs1)
80
+
81
+ # call edit_player() passing the hash of values from @vars2
82
+ me.edit_player @pattrs2
83
+
84
+ # the instance 'me' should now contain the values from the @pattrs2 hash
85
+ @pattrs2.each do |k,v|
86
+ me.player.instance_variable_get("@table")[:"#{k}"].must_equal v
87
+ end
88
+ end
89
+
90
+ it "accepts a block to update attributes" do
91
+
92
+ # create a new MoovEngine object using a block
93
+ me = MoovAtom::MoovEngine.new do |me|
94
+ me.player.uuid = "123"
95
+ me.player.height = "480"
96
+ me.player.width = "720"
97
+ me.player.auto_play = false
98
+ me.player.sharing_enabled = true
99
+ me.player.show_hold_image = true
100
+ me.player.show_watermark = true
101
+ me.player.watermark_opacity = "0.8"
102
+ end
103
+
104
+ # call edit_player() passing a block that sets player attributes
105
+ me.edit_player do |me|
106
+ me.player.uuid = "321"
107
+ me.player.height = "720"
108
+ me.player.width = "480"
109
+ me.player.auto_play = true
110
+ me.player.sharing_enabled = false
111
+ me.player.show_hold_image = false
112
+ me.player.show_watermark = false
113
+ me.player.watermark_opacity = "0.4"
114
+ end
115
+
116
+ # the instance 'me' should now contain the values from the second block
117
+ me.player.uuid.must_equal "321"
118
+ me.player.height.must_equal "720"
119
+ me.player.width.must_equal "480"
120
+ me.player.auto_play.must_equal true
121
+ me.player.sharing_enabled.must_equal false
122
+ me.player.show_hold_image.must_equal false
123
+ me.player.show_watermark.must_equal false
124
+ me.player.watermark_opacity.must_equal "0.4"
125
+ end
126
+
127
+ it "sets the action attribute to edit_player" do
128
+
129
+ # create a new MoovEngine object
130
+ me = MoovAtom::MoovEngine.new({username: "humanshell"}, @pattrs1)
131
+
132
+ # call the edit_player() method
133
+ me.edit_player
134
+
135
+ # after calling edit_player() @action should be 'edit_player'
136
+ me.action.must_equal 'edit_player'
137
+ end
138
+
139
+ describe "API Requests" do
140
+
141
+ it "edits a video's player using json" do
142
+ @me.edit_player
143
+ @me.response["uuid"].must_equal "123"
144
+ @me.response["message"].must_equal "Player was edited successfully."
145
+ end
146
+
147
+ it "edits a video's player using xml" do
148
+ @me.format = 'xml'
149
+ @me.edit_player
150
+ @me.response.root.elements["uuid"].text.must_equal "123"
151
+ @me.response.root.elements["message"].text.must_equal "Player was edited successfully."
152
+ end
153
+
154
+ end
155
+
156
+ end
@@ -0,0 +1,107 @@
1
+ require "spec_helper"
2
+
3
+ # this file contains all the tests associated with requesting the status of a
4
+ # video on Moovatom's servers.
5
+
6
+ describe MoovAtom::MoovEngine, "Status Request Unit Tests" do
7
+
8
+ before do
9
+ @vars1 = {
10
+ uuid: '123',
11
+ username: 'jsmith',
12
+ userkey: '987654321',
13
+ title: 'My Greatest Movie',
14
+ blurb: 'The greatest movie ever made',
15
+ sourcefile: 'http://example.com/greatest.mp4',
16
+ callbackurl: 'http://example.com/callback'
17
+ }
18
+
19
+ @vars2 = {
20
+ uuid: '321',
21
+ username: 'asmith',
22
+ userkey: '123456789',
23
+ title: 'My Best Movie',
24
+ blurb: 'The bestest movie ever made',
25
+ sourcefile: 'http://example.com/best.mp4',
26
+ callbackurl: 'http://example.com/callback_url'
27
+ }
28
+
29
+ # mock up the connection to moovatom.com
30
+ @me = MoovAtom::MoovEngine.new @vars1
31
+ @url = "#{MoovAtom::API_URL}/status"
32
+ json_error = File.join(File.dirname(__FILE__), 'fixtures', 'status_error.json')
33
+ FakeWeb.register_uri(:post, "#{@url}.json", :body => json_error)
34
+ json_success = File.join(File.dirname(__FILE__), 'fixtures', 'status_success.json')
35
+ FakeWeb.register_uri(:post, "#{@url}.json", :body => json_success)
36
+ xml_error = File.join(File.dirname(__FILE__), 'fixtures', 'status_error.xml')
37
+ FakeWeb.register_uri(:post, "#{@url}.xml", :body => xml_error)
38
+ xml_success = File.join(File.dirname(__FILE__), 'fixtures', 'status_success.xml')
39
+ FakeWeb.register_uri(:post, "#{@url}.xml", :body => xml_success)
40
+ end
41
+
42
+ after do
43
+ # clean up the registry after each test
44
+ FakeWeb.clean_registry
45
+
46
+ # enable all real requests after testing
47
+ FakeWeb.allow_net_connect = true
48
+ end
49
+
50
+ it "accepts a hash to update attributes" do
51
+
52
+ # create a MoovEngine object using the values from the @vars1 hash
53
+ me = MoovAtom::MoovEngine.new @vars1
54
+
55
+ # call get_status() passing the hash of values from @vars2
56
+ me.get_status @vars2
57
+
58
+ # the instance 'me' should now contain the values from the @vars2 hash
59
+ @vars2.each {|k,v| me.instance_variable_get("@#{k}").must_equal v}
60
+ end
61
+
62
+ it "accepts a block to update attributes" do
63
+
64
+ # create a new MoovEngine object with a block using the values from @vars1
65
+ me = MoovAtom::MoovEngine.new do |me|
66
+ @vars1.each {|k,v| me.instance_variable_set "@#{k}", v}
67
+ end
68
+
69
+ # call get_status() passing a block that sets instance variables to the
70
+ # values in the @vars2 hash
71
+ me.get_status do |me|
72
+ @vars2.each {|k,v| me.instance_variable_set "@#{k}", v}
73
+ end
74
+
75
+ # the instance 'me' should now contain the values from the @vars2 hash
76
+ @vars2.each {|k,v| me.instance_variable_get("@#{k}").must_equal v}
77
+ end
78
+
79
+ it "sets the action attribute to status" do
80
+
81
+ # create a new MoovEngine object
82
+ me = MoovAtom::MoovEngine.new @vars1
83
+
84
+ # call the get_details() method
85
+ me.get_status
86
+
87
+ # after calling get_status() @action should be 'status'
88
+ me.action.must_equal 'status'
89
+ end
90
+
91
+ # tests for the api call to get details about an existing video
92
+ describe "API Requests" do
93
+
94
+ it "gets status of a video using json" do
95
+ @me.get_status
96
+ @me.response["uuid"].must_equal @vars1[:uuid]
97
+ end
98
+
99
+ it "gets status of a video using xml" do
100
+ @me.format = 'xml'
101
+ @me.get_status
102
+ @me.response.root.elements["uuid"].text.must_equal @vars1[:uuid]
103
+ end
104
+
105
+ end
106
+
107
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: moovatom
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.2.0
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-01-17 00:00:00.000000000Z
12
+ date: 2012-02-20 00:00:00.000000000Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
- name: builder
16
- requirement: &70322201134200 !ruby/object:Gem::Requirement
15
+ name: json
16
+ requirement: &70226432833540 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: '0'
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *70322201134200
24
+ version_requirements: *70226432833540
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: minitest
27
- requirement: &70322201133780 !ruby/object:Gem::Requirement
27
+ requirement: &70226432833120 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ! '>='
@@ -32,10 +32,10 @@ dependencies:
32
32
  version: '0'
33
33
  type: :development
34
34
  prerelease: false
35
- version_requirements: *70322201133780
35
+ version_requirements: *70226432833120
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: turn
38
- requirement: &70322201133360 !ruby/object:Gem::Requirement
38
+ requirement: &70226432832700 !ruby/object:Gem::Requirement
39
39
  none: false
40
40
  requirements:
41
41
  - - ! '>='
@@ -43,10 +43,10 @@ dependencies:
43
43
  version: '0'
44
44
  type: :development
45
45
  prerelease: false
46
- version_requirements: *70322201133360
46
+ version_requirements: *70226432832700
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: fakeweb
49
- requirement: &70322201132940 !ruby/object:Gem::Requirement
49
+ requirement: &70226432832280 !ruby/object:Gem::Requirement
50
50
  none: false
51
51
  requirements:
52
52
  - - ! '>='
@@ -54,7 +54,7 @@ dependencies:
54
54
  version: '0'
55
55
  type: :development
56
56
  prerelease: false
57
- version_requirements: *70322201132940
57
+ version_requirements: *70226432832280
58
58
  description: This gem defines methods for controlling your videos on MoovAtom using
59
59
  the MoovEngine API.
60
60
  email:
@@ -72,13 +72,27 @@ files:
72
72
  - lib/moovatom.rb
73
73
  - lib/moovatom/version.rb
74
74
  - moovatom.gemspec
75
+ - spec/cancel_spec.rb
76
+ - spec/details_spec.rb
77
+ - spec/encode_spec.rb
78
+ - spec/fixtures/cancel.json
75
79
  - spec/fixtures/cancel.xml
80
+ - spec/fixtures/detail.json
76
81
  - spec/fixtures/detail.xml
82
+ - spec/fixtures/encode.json
77
83
  - spec/fixtures/encode.xml
84
+ - spec/fixtures/player_error.json
85
+ - spec/fixtures/player_error.xml
86
+ - spec/fixtures/player_success.json
87
+ - spec/fixtures/player_success.xml
88
+ - spec/fixtures/status_error.json
78
89
  - spec/fixtures/status_error.xml
90
+ - spec/fixtures/status_success.json
79
91
  - spec/fixtures/status_success.xml
80
- - spec/request_spec.rb
92
+ - spec/init_spec.rb
93
+ - spec/player_spec.rb
81
94
  - spec/spec_helper.rb
95
+ - spec/status_spec.rb
82
96
  homepage: http://moovatom.com
83
97
  licenses: []
84
98
  post_install_message:
@@ -104,10 +118,24 @@ signing_key:
104
118
  specification_version: 3
105
119
  summary: Access MoovAtom API
106
120
  test_files:
121
+ - spec/cancel_spec.rb
122
+ - spec/details_spec.rb
123
+ - spec/encode_spec.rb
124
+ - spec/fixtures/cancel.json
107
125
  - spec/fixtures/cancel.xml
126
+ - spec/fixtures/detail.json
108
127
  - spec/fixtures/detail.xml
128
+ - spec/fixtures/encode.json
109
129
  - spec/fixtures/encode.xml
130
+ - spec/fixtures/player_error.json
131
+ - spec/fixtures/player_error.xml
132
+ - spec/fixtures/player_success.json
133
+ - spec/fixtures/player_success.xml
134
+ - spec/fixtures/status_error.json
110
135
  - spec/fixtures/status_error.xml
136
+ - spec/fixtures/status_success.json
111
137
  - spec/fixtures/status_success.xml
112
- - spec/request_spec.rb
138
+ - spec/init_spec.rb
139
+ - spec/player_spec.rb
113
140
  - spec/spec_helper.rb
141
+ - spec/status_spec.rb