sdp 0.2.8 → 0.2.9
Sign up to get free protection for your applications and to get access to all the features.
- data/ChangeLog.rdoc +13 -0
- data/LICENSE.rdoc +1 -1
- data/README.rdoc +31 -11
- data/Rakefile +3 -10
- data/lib/sdp/description.rb +132 -16
- data/lib/sdp/parser.rb +4 -4
- data/lib/sdp/version.rb +1 -1
- data/sdp.gemspec +15 -15
- data/spec/integration/builds_descriptions_spec.rb +39 -0
- data/spec/integration/coverage/assets/0.7.1/application.css +1110 -0
- data/spec/integration/coverage/assets/0.7.1/application.js +626 -0
- data/spec/integration/coverage/assets/0.7.1/fancybox/blank.gif +0 -0
- data/spec/integration/coverage/assets/0.7.1/fancybox/fancy_close.png +0 -0
- data/spec/integration/coverage/assets/0.7.1/fancybox/fancy_loading.png +0 -0
- data/spec/integration/coverage/assets/0.7.1/fancybox/fancy_nav_left.png +0 -0
- data/spec/integration/coverage/assets/0.7.1/fancybox/fancy_nav_right.png +0 -0
- data/spec/integration/coverage/assets/0.7.1/fancybox/fancy_shadow_e.png +0 -0
- data/spec/integration/coverage/assets/0.7.1/fancybox/fancy_shadow_n.png +0 -0
- data/spec/integration/coverage/assets/0.7.1/fancybox/fancy_shadow_ne.png +0 -0
- data/spec/integration/coverage/assets/0.7.1/fancybox/fancy_shadow_nw.png +0 -0
- data/spec/integration/coverage/assets/0.7.1/fancybox/fancy_shadow_s.png +0 -0
- data/spec/integration/coverage/assets/0.7.1/fancybox/fancy_shadow_se.png +0 -0
- data/spec/integration/coverage/assets/0.7.1/fancybox/fancy_shadow_sw.png +0 -0
- data/spec/integration/coverage/assets/0.7.1/fancybox/fancy_shadow_w.png +0 -0
- data/spec/integration/coverage/assets/0.7.1/fancybox/fancy_title_left.png +0 -0
- data/spec/integration/coverage/assets/0.7.1/fancybox/fancy_title_main.png +0 -0
- data/spec/integration/coverage/assets/0.7.1/fancybox/fancy_title_over.png +0 -0
- data/spec/integration/coverage/assets/0.7.1/fancybox/fancy_title_right.png +0 -0
- data/spec/integration/coverage/assets/0.7.1/fancybox/fancybox-x.png +0 -0
- data/spec/integration/coverage/assets/0.7.1/fancybox/fancybox-y.png +0 -0
- data/spec/integration/coverage/assets/0.7.1/fancybox/fancybox.png +0 -0
- data/spec/integration/coverage/assets/0.7.1/favicon_green.png +0 -0
- data/spec/integration/coverage/assets/0.7.1/favicon_red.png +0 -0
- data/spec/integration/coverage/assets/0.7.1/favicon_yellow.png +0 -0
- data/spec/integration/coverage/assets/0.7.1/loading.gif +0 -0
- data/spec/integration/coverage/assets/0.7.1/magnify.png +0 -0
- data/spec/integration/coverage/assets/0.7.1/smoothness/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
- data/spec/integration/coverage/assets/0.7.1/smoothness/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
- data/spec/integration/coverage/assets/0.7.1/smoothness/images/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
- data/spec/integration/coverage/assets/0.7.1/smoothness/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
- data/spec/integration/coverage/assets/0.7.1/smoothness/images/ui-bg_glass_75_dadada_1x400.png +0 -0
- data/spec/integration/coverage/assets/0.7.1/smoothness/images/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
- data/spec/integration/coverage/assets/0.7.1/smoothness/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
- data/spec/integration/coverage/assets/0.7.1/smoothness/images/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
- data/spec/integration/coverage/assets/0.7.1/smoothness/images/ui-icons_222222_256x240.png +0 -0
- data/spec/integration/coverage/assets/0.7.1/smoothness/images/ui-icons_2e83ff_256x240.png +0 -0
- data/spec/integration/coverage/assets/0.7.1/smoothness/images/ui-icons_454545_256x240.png +0 -0
- data/spec/integration/coverage/assets/0.7.1/smoothness/images/ui-icons_888888_256x240.png +0 -0
- data/spec/integration/coverage/assets/0.7.1/smoothness/images/ui-icons_cd0a0a_256x240.png +0 -0
- data/spec/integration/coverage/index.html +72 -0
- data/spec/integration/parses_descriptions_spec.rb +129 -0
- data/spec/spec_helper.rb +2 -1
- data/spec/support/parser_matcher.rb +33 -0
- data/{features → spec}/support/sdp_file.txt +0 -0
- data/spec/support/test_descriptions.rb +137 -0
- data/spec/unit/sdp/coverage/assets/0.7.1/application.css +1110 -0
- data/spec/unit/sdp/coverage/assets/0.7.1/application.js +626 -0
- data/spec/unit/sdp/coverage/assets/0.7.1/fancybox/blank.gif +0 -0
- data/spec/unit/sdp/coverage/assets/0.7.1/fancybox/fancy_close.png +0 -0
- data/spec/unit/sdp/coverage/assets/0.7.1/fancybox/fancy_loading.png +0 -0
- data/spec/unit/sdp/coverage/assets/0.7.1/fancybox/fancy_nav_left.png +0 -0
- data/spec/unit/sdp/coverage/assets/0.7.1/fancybox/fancy_nav_right.png +0 -0
- data/spec/unit/sdp/coverage/assets/0.7.1/fancybox/fancy_shadow_e.png +0 -0
- data/spec/unit/sdp/coverage/assets/0.7.1/fancybox/fancy_shadow_n.png +0 -0
- data/spec/unit/sdp/coverage/assets/0.7.1/fancybox/fancy_shadow_ne.png +0 -0
- data/spec/unit/sdp/coverage/assets/0.7.1/fancybox/fancy_shadow_nw.png +0 -0
- data/spec/unit/sdp/coverage/assets/0.7.1/fancybox/fancy_shadow_s.png +0 -0
- data/spec/unit/sdp/coverage/assets/0.7.1/fancybox/fancy_shadow_se.png +0 -0
- data/spec/unit/sdp/coverage/assets/0.7.1/fancybox/fancy_shadow_sw.png +0 -0
- data/spec/unit/sdp/coverage/assets/0.7.1/fancybox/fancy_shadow_w.png +0 -0
- data/spec/unit/sdp/coverage/assets/0.7.1/fancybox/fancy_title_left.png +0 -0
- data/spec/unit/sdp/coverage/assets/0.7.1/fancybox/fancy_title_main.png +0 -0
- data/spec/unit/sdp/coverage/assets/0.7.1/fancybox/fancy_title_over.png +0 -0
- data/spec/unit/sdp/coverage/assets/0.7.1/fancybox/fancy_title_right.png +0 -0
- data/spec/unit/sdp/coverage/assets/0.7.1/fancybox/fancybox-x.png +0 -0
- data/spec/unit/sdp/coverage/assets/0.7.1/fancybox/fancybox-y.png +0 -0
- data/spec/unit/sdp/coverage/assets/0.7.1/fancybox/fancybox.png +0 -0
- data/spec/unit/sdp/coverage/assets/0.7.1/favicon_green.png +0 -0
- data/spec/unit/sdp/coverage/assets/0.7.1/favicon_red.png +0 -0
- data/spec/unit/sdp/coverage/assets/0.7.1/favicon_yellow.png +0 -0
- data/spec/unit/sdp/coverage/assets/0.7.1/loading.gif +0 -0
- data/spec/unit/sdp/coverage/assets/0.7.1/magnify.png +0 -0
- data/spec/unit/sdp/coverage/assets/0.7.1/smoothness/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
- data/spec/unit/sdp/coverage/assets/0.7.1/smoothness/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
- data/spec/unit/sdp/coverage/assets/0.7.1/smoothness/images/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
- data/spec/unit/sdp/coverage/assets/0.7.1/smoothness/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
- data/spec/unit/sdp/coverage/assets/0.7.1/smoothness/images/ui-bg_glass_75_dadada_1x400.png +0 -0
- data/spec/unit/sdp/coverage/assets/0.7.1/smoothness/images/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
- data/spec/unit/sdp/coverage/assets/0.7.1/smoothness/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
- data/spec/unit/sdp/coverage/assets/0.7.1/smoothness/images/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
- data/spec/unit/sdp/coverage/assets/0.7.1/smoothness/images/ui-icons_222222_256x240.png +0 -0
- data/spec/unit/sdp/coverage/assets/0.7.1/smoothness/images/ui-icons_2e83ff_256x240.png +0 -0
- data/spec/unit/sdp/coverage/assets/0.7.1/smoothness/images/ui-icons_454545_256x240.png +0 -0
- data/spec/unit/sdp/coverage/assets/0.7.1/smoothness/images/ui-icons_888888_256x240.png +0 -0
- data/spec/unit/sdp/coverage/assets/0.7.1/smoothness/images/ui-icons_cd0a0a_256x240.png +0 -0
- data/spec/unit/sdp/coverage/index.html +72 -0
- data/spec/unit/sdp/description_spec.rb +321 -0
- data/spec/unit/sdp/parser_spec.rb +154 -0
- data/spec/{sdp_spec.rb → unit/sdp_spec.rb} +2 -2
- metadata +189 -43
- data/features/accepts_description_text.feature +0 -12
- data/features/sdp_create.feature +0 -15
- data/features/sdp_get.feature +0 -37
- data/features/step_definitions/accepts_description_text_steps.rb +0 -15
- data/features/step_definitions/sdp_create_steps.rb +0 -48
- data/features/step_definitions/sdp_get_steps.rb +0 -23
- data/features/support/env.rb +0 -3
- data/lib/sdp/session_template.erb +0 -46
- data/spec/sdp/description_spec.rb +0 -392
- data/spec/sdp/parser_spec.rb +0 -207
@@ -0,0 +1,154 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
require 'sdp/parser'
|
3
|
+
require 'base64'
|
4
|
+
|
5
|
+
describe SDP::Parser do
|
6
|
+
it "handles descriptions missing time zone field" do
|
7
|
+
expect {
|
8
|
+
subject.parse SDP_MISSING_TIME
|
9
|
+
}.to_not raise_error Parslet::ParseFailed
|
10
|
+
end
|
11
|
+
|
12
|
+
context "parses" do
|
13
|
+
let(:description) { REQUIRED_ONLY }
|
14
|
+
|
15
|
+
it "required values" do
|
16
|
+
subject.parse(description).should == {
|
17
|
+
:session_section => {
|
18
|
+
:protocol_version => "0",
|
19
|
+
:username => "guy",
|
20
|
+
:id => "1234",
|
21
|
+
:version => "5555",
|
22
|
+
:network_type => "IN",
|
23
|
+
:address_type => "IP4",
|
24
|
+
:unicast_address => "123.33.22.123",
|
25
|
+
:name => "This is a test session",
|
26
|
+
:connection_network_type => "IN",
|
27
|
+
:connection_address_type => "IP4",
|
28
|
+
:connection_address=> "0.0.0.0",
|
29
|
+
:start_time => "11111",
|
30
|
+
:stop_time => "22222"
|
31
|
+
},
|
32
|
+
:media_sections => []
|
33
|
+
}
|
34
|
+
end
|
35
|
+
|
36
|
+
it "alternate email address" do
|
37
|
+
sdp = "e=Jane Doe <j.doe@example.com>\r\n"
|
38
|
+
sdp_hash = subject.parse sdp
|
39
|
+
sdp_hash[:session_section][:email_address].should == "Jane Doe <j.doe@example.com>"
|
40
|
+
end
|
41
|
+
|
42
|
+
it "connection data that uses TTL value" do
|
43
|
+
sdp = "c=IN IP4 224.2.36.42/127\r\n"
|
44
|
+
sdp_hash = subject.parse sdp
|
45
|
+
sdp_hash[:session_section][:connection_address].should == "224.2.36.42/127"
|
46
|
+
end
|
47
|
+
|
48
|
+
it "connection data that uses IPv6 and address count" do
|
49
|
+
sdp = "c=IN IP6 FF15::101/3\r\n"
|
50
|
+
sdp_hash = subject.parse sdp
|
51
|
+
sdp_hash[:session_section][:connection_address].should == "FF15::101/3"
|
52
|
+
end
|
53
|
+
|
54
|
+
it "repeat times in seconds" do
|
55
|
+
sdp = "r=604800 3600 0 90000\r\n"
|
56
|
+
sdp_hash = subject.parse sdp
|
57
|
+
sdp_hash[:session_section][:repeat_interval].should == "604800"
|
58
|
+
sdp_hash[:session_section][:active_duration].should == "3600"
|
59
|
+
sdp_hash[:session_section][:offsets_from_start_time].should == "0 90000"
|
60
|
+
end
|
61
|
+
|
62
|
+
it "time zones" do
|
63
|
+
sdp = "z=2882844526 -1h 2898848070 0\r\n"
|
64
|
+
sdp_hash = subject.parse sdp
|
65
|
+
sdp_hash[:session_section][:time_zones].first[:adjustment_time].should == "2882844526"
|
66
|
+
sdp_hash[:session_section][:time_zones].first[:offset].should == "-1h"
|
67
|
+
sdp_hash[:session_section][:time_zones].last[:adjustment_time].should == "2898848070"
|
68
|
+
sdp_hash[:session_section][:time_zones].last[:offset].should == "0"
|
69
|
+
end
|
70
|
+
|
71
|
+
context "encryption keys" do
|
72
|
+
it "clear" do
|
73
|
+
sdp = "k=clear:password\r\n"
|
74
|
+
sdp_hash = subject.parse sdp
|
75
|
+
sdp_hash[:session_section][:encryption_method].should == "clear"
|
76
|
+
sdp_hash[:session_section][:encryption_key].should == "password"
|
77
|
+
end
|
78
|
+
|
79
|
+
it "base64" do
|
80
|
+
# #encode64 adds newlines every 60 chars; remove them--they're unnecessary
|
81
|
+
password = Base64.encode64('password').gsub("\n", '')
|
82
|
+
sdp = "k=base64:#{password}\r\n"
|
83
|
+
sdp_hash = subject.parse sdp
|
84
|
+
sdp_hash[:session_section][:encryption_method].should == "base64"
|
85
|
+
sdp_hash[:session_section][:encryption_key].should == password
|
86
|
+
end
|
87
|
+
|
88
|
+
it "uri" do
|
89
|
+
uri = "http://aserver.com/thing.pdf"
|
90
|
+
sdp = "k=uri:#{uri}\r\n"
|
91
|
+
sdp_hash = subject.parse sdp
|
92
|
+
sdp_hash[:session_section][:encryption_method].should == "uri"
|
93
|
+
sdp_hash[:session_section][:encryption_key].should == uri
|
94
|
+
end
|
95
|
+
|
96
|
+
it "prompt" do
|
97
|
+
sdp = "k=prompt\r\n"
|
98
|
+
sdp_hash = subject.parse sdp
|
99
|
+
sdp_hash[:session_section][:encryption_method].should == "prompt"
|
100
|
+
sdp_hash[:session_section][:encryption_key].should be_nil
|
101
|
+
end
|
102
|
+
end
|
103
|
+
end
|
104
|
+
|
105
|
+
context "attributes" do
|
106
|
+
it "attribute" do
|
107
|
+
sdp = "a=x-qt-text-cmt:Orban Opticodec-PC\r\n"
|
108
|
+
sdp_hash = subject.parse sdp
|
109
|
+
sdp_hash[:session_section][:attributes].first[:attribute].should ==
|
110
|
+
"x-qt-text-cmt"
|
111
|
+
sdp_hash[:session_section][:attributes].first[:value].should ==
|
112
|
+
"Orban Opticodec-PC"
|
113
|
+
end
|
114
|
+
end
|
115
|
+
|
116
|
+
context "media sections" do
|
117
|
+
it "all possible fields in 1 section" do
|
118
|
+
sdp = "m=audio 0 RTP/AVP 96\r\ni=Test info\r\nc=IN IP4 0.0.0.0\r\nb=AS:40\r\nk=prompt\r\na=rtpmap:96 MP4A-LATM/44100/2\r\na=fmtp:96 cpresent=0;config=400027200000\r\n"
|
119
|
+
sdp_hash = subject.parse sdp
|
120
|
+
first_media_section = sdp_hash[:media_sections].first
|
121
|
+
first_media_section[:media].should == "audio"
|
122
|
+
first_media_section[:port].should == "0"
|
123
|
+
first_media_section[:protocol].should == "RTP/AVP"
|
124
|
+
first_media_section[:format].should == "96"
|
125
|
+
first_media_section[:information].should == "Test info"
|
126
|
+
first_media_section[:connection_network_type].should == "IN"
|
127
|
+
first_media_section[:connection_address_type].should == "IP4"
|
128
|
+
first_media_section[:connection_address].should == "0.0.0.0"
|
129
|
+
first_media_section[:bandwidth_type].should == "AS"
|
130
|
+
first_media_section[:bandwidth].should == "40"
|
131
|
+
first_media_section[:encryption_method].should == "prompt"
|
132
|
+
first_media_section[:attributes].first[:attribute].should == "rtpmap"
|
133
|
+
first_media_section[:attributes].first[:value].should == "96 MP4A-LATM/44100/2"
|
134
|
+
first_media_section[:attributes].last[:attribute].should == "fmtp"
|
135
|
+
first_media_section[:attributes].last[:value].should == "96 cpresent=0;config=400027200000"
|
136
|
+
end
|
137
|
+
end
|
138
|
+
|
139
|
+
context "parses EOLs" do
|
140
|
+
it "parses \\r\\n" do
|
141
|
+
sdp = "v=123\r\n"
|
142
|
+
lambda { subject.parse sdp }.should_not raise_error
|
143
|
+
sdp_hash = subject.parse sdp
|
144
|
+
sdp_hash[:session_section][:protocol_version].should == "123"
|
145
|
+
end
|
146
|
+
|
147
|
+
it "parses \\n" do
|
148
|
+
sdp = "v=456\n"
|
149
|
+
lambda { subject.parse sdp }.should_not raise_error
|
150
|
+
sdp_hash = subject.parse sdp
|
151
|
+
sdp_hash[:session_section][:protocol_version].should == "456"
|
152
|
+
end
|
153
|
+
end
|
154
|
+
end
|
@@ -23,8 +23,8 @@ a=rtpmap:99 h263-1998/90000
|
|
23
23
|
EOF
|
24
24
|
|
25
25
|
describe SDP do
|
26
|
-
|
27
|
-
SDP.const_get('VERSION').should eql '0.2.
|
26
|
+
describe "VERSION" do
|
27
|
+
specify { SDP.const_get('VERSION').should eql '0.2.9' }
|
28
28
|
end
|
29
29
|
|
30
30
|
it "raises when parsing malformed SDP text" do
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sdp
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.9
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-11-
|
12
|
+
date: 2012-11-21 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: parslet
|
@@ -43,22 +43,6 @@ dependencies:
|
|
43
43
|
- - ! '>'
|
44
44
|
- !ruby/object:Gem::Version
|
45
45
|
version: 1.0.0
|
46
|
-
- !ruby/object:Gem::Dependency
|
47
|
-
name: cucumber
|
48
|
-
requirement: !ruby/object:Gem::Requirement
|
49
|
-
none: false
|
50
|
-
requirements:
|
51
|
-
- - ! '>='
|
52
|
-
- !ruby/object:Gem::Version
|
53
|
-
version: 1.1.0
|
54
|
-
type: :development
|
55
|
-
prerelease: false
|
56
|
-
version_requirements: !ruby/object:Gem::Requirement
|
57
|
-
none: false
|
58
|
-
requirements:
|
59
|
-
- - ! '>='
|
60
|
-
- !ruby/object:Gem::Version
|
61
|
-
version: 1.1.0
|
62
46
|
- !ruby/object:Gem::Dependency
|
63
47
|
name: rake
|
64
48
|
requirement: !ruby/object:Gem::Requirement
|
@@ -123,10 +107,13 @@ dependencies:
|
|
123
107
|
- - ! '>='
|
124
108
|
- !ruby/object:Gem::Version
|
125
109
|
version: 0.6.0
|
126
|
-
description: !
|
127
|
-
|
128
|
-
|
129
|
-
|
110
|
+
description: ! 'This gem allows for parsing SDP (Session Description
|
111
|
+
|
112
|
+
Protocol) information in to a Ruby object, making it easy to read
|
113
|
+
|
114
|
+
and work with that data. It also allows for easily creating SDP objects
|
115
|
+
|
116
|
+
that can be converted to text using'
|
130
117
|
email: steve.loveless@gmail.com
|
131
118
|
executables: []
|
132
119
|
extensions: []
|
@@ -135,26 +122,104 @@ extra_rdoc_files:
|
|
135
122
|
- LICENSE.rdoc
|
136
123
|
- README.rdoc
|
137
124
|
files:
|
138
|
-
- features/accepts_description_text.feature
|
139
|
-
- features/sdp_create.feature
|
140
|
-
- features/sdp_get.feature
|
141
|
-
- features/step_definitions/accepts_description_text_steps.rb
|
142
|
-
- features/step_definitions/sdp_create_steps.rb
|
143
|
-
- features/step_definitions/sdp_get_steps.rb
|
144
|
-
- features/support/env.rb
|
145
|
-
- features/support/sdp_file.txt
|
146
125
|
- lib/ext/hash_patch.rb
|
147
126
|
- lib/sdp/description.rb
|
148
127
|
- lib/sdp/parse_error.rb
|
149
128
|
- lib/sdp/parser.rb
|
150
129
|
- lib/sdp/runtime_error.rb
|
151
|
-
- lib/sdp/session_template.erb
|
152
130
|
- lib/sdp/version.rb
|
153
131
|
- lib/sdp.rb
|
154
|
-
- spec/
|
155
|
-
- spec/
|
156
|
-
- spec/
|
132
|
+
- spec/integration/builds_descriptions_spec.rb
|
133
|
+
- spec/integration/coverage/assets/0.7.1/application.css
|
134
|
+
- spec/integration/coverage/assets/0.7.1/application.js
|
135
|
+
- spec/integration/coverage/assets/0.7.1/fancybox/blank.gif
|
136
|
+
- spec/integration/coverage/assets/0.7.1/fancybox/fancy_close.png
|
137
|
+
- spec/integration/coverage/assets/0.7.1/fancybox/fancy_loading.png
|
138
|
+
- spec/integration/coverage/assets/0.7.1/fancybox/fancy_nav_left.png
|
139
|
+
- spec/integration/coverage/assets/0.7.1/fancybox/fancy_nav_right.png
|
140
|
+
- spec/integration/coverage/assets/0.7.1/fancybox/fancy_shadow_e.png
|
141
|
+
- spec/integration/coverage/assets/0.7.1/fancybox/fancy_shadow_n.png
|
142
|
+
- spec/integration/coverage/assets/0.7.1/fancybox/fancy_shadow_ne.png
|
143
|
+
- spec/integration/coverage/assets/0.7.1/fancybox/fancy_shadow_nw.png
|
144
|
+
- spec/integration/coverage/assets/0.7.1/fancybox/fancy_shadow_s.png
|
145
|
+
- spec/integration/coverage/assets/0.7.1/fancybox/fancy_shadow_se.png
|
146
|
+
- spec/integration/coverage/assets/0.7.1/fancybox/fancy_shadow_sw.png
|
147
|
+
- spec/integration/coverage/assets/0.7.1/fancybox/fancy_shadow_w.png
|
148
|
+
- spec/integration/coverage/assets/0.7.1/fancybox/fancy_title_left.png
|
149
|
+
- spec/integration/coverage/assets/0.7.1/fancybox/fancy_title_main.png
|
150
|
+
- spec/integration/coverage/assets/0.7.1/fancybox/fancy_title_over.png
|
151
|
+
- spec/integration/coverage/assets/0.7.1/fancybox/fancy_title_right.png
|
152
|
+
- spec/integration/coverage/assets/0.7.1/fancybox/fancybox-x.png
|
153
|
+
- spec/integration/coverage/assets/0.7.1/fancybox/fancybox-y.png
|
154
|
+
- spec/integration/coverage/assets/0.7.1/fancybox/fancybox.png
|
155
|
+
- spec/integration/coverage/assets/0.7.1/favicon_green.png
|
156
|
+
- spec/integration/coverage/assets/0.7.1/favicon_red.png
|
157
|
+
- spec/integration/coverage/assets/0.7.1/favicon_yellow.png
|
158
|
+
- spec/integration/coverage/assets/0.7.1/loading.gif
|
159
|
+
- spec/integration/coverage/assets/0.7.1/magnify.png
|
160
|
+
- spec/integration/coverage/assets/0.7.1/smoothness/images/ui-bg_flat_0_aaaaaa_40x100.png
|
161
|
+
- spec/integration/coverage/assets/0.7.1/smoothness/images/ui-bg_flat_75_ffffff_40x100.png
|
162
|
+
- spec/integration/coverage/assets/0.7.1/smoothness/images/ui-bg_glass_55_fbf9ee_1x400.png
|
163
|
+
- spec/integration/coverage/assets/0.7.1/smoothness/images/ui-bg_glass_65_ffffff_1x400.png
|
164
|
+
- spec/integration/coverage/assets/0.7.1/smoothness/images/ui-bg_glass_75_dadada_1x400.png
|
165
|
+
- spec/integration/coverage/assets/0.7.1/smoothness/images/ui-bg_glass_75_e6e6e6_1x400.png
|
166
|
+
- spec/integration/coverage/assets/0.7.1/smoothness/images/ui-bg_glass_95_fef1ec_1x400.png
|
167
|
+
- spec/integration/coverage/assets/0.7.1/smoothness/images/ui-bg_highlight-soft_75_cccccc_1x100.png
|
168
|
+
- spec/integration/coverage/assets/0.7.1/smoothness/images/ui-icons_222222_256x240.png
|
169
|
+
- spec/integration/coverage/assets/0.7.1/smoothness/images/ui-icons_2e83ff_256x240.png
|
170
|
+
- spec/integration/coverage/assets/0.7.1/smoothness/images/ui-icons_454545_256x240.png
|
171
|
+
- spec/integration/coverage/assets/0.7.1/smoothness/images/ui-icons_888888_256x240.png
|
172
|
+
- spec/integration/coverage/assets/0.7.1/smoothness/images/ui-icons_cd0a0a_256x240.png
|
173
|
+
- spec/integration/coverage/index.html
|
174
|
+
- spec/integration/parses_descriptions_spec.rb
|
157
175
|
- spec/spec_helper.rb
|
176
|
+
- spec/support/parser_matcher.rb
|
177
|
+
- spec/support/sdp_file.txt
|
178
|
+
- spec/support/test_descriptions.rb
|
179
|
+
- spec/unit/sdp/coverage/assets/0.7.1/application.css
|
180
|
+
- spec/unit/sdp/coverage/assets/0.7.1/application.js
|
181
|
+
- spec/unit/sdp/coverage/assets/0.7.1/fancybox/blank.gif
|
182
|
+
- spec/unit/sdp/coverage/assets/0.7.1/fancybox/fancy_close.png
|
183
|
+
- spec/unit/sdp/coverage/assets/0.7.1/fancybox/fancy_loading.png
|
184
|
+
- spec/unit/sdp/coverage/assets/0.7.1/fancybox/fancy_nav_left.png
|
185
|
+
- spec/unit/sdp/coverage/assets/0.7.1/fancybox/fancy_nav_right.png
|
186
|
+
- spec/unit/sdp/coverage/assets/0.7.1/fancybox/fancy_shadow_e.png
|
187
|
+
- spec/unit/sdp/coverage/assets/0.7.1/fancybox/fancy_shadow_n.png
|
188
|
+
- spec/unit/sdp/coverage/assets/0.7.1/fancybox/fancy_shadow_ne.png
|
189
|
+
- spec/unit/sdp/coverage/assets/0.7.1/fancybox/fancy_shadow_nw.png
|
190
|
+
- spec/unit/sdp/coverage/assets/0.7.1/fancybox/fancy_shadow_s.png
|
191
|
+
- spec/unit/sdp/coverage/assets/0.7.1/fancybox/fancy_shadow_se.png
|
192
|
+
- spec/unit/sdp/coverage/assets/0.7.1/fancybox/fancy_shadow_sw.png
|
193
|
+
- spec/unit/sdp/coverage/assets/0.7.1/fancybox/fancy_shadow_w.png
|
194
|
+
- spec/unit/sdp/coverage/assets/0.7.1/fancybox/fancy_title_left.png
|
195
|
+
- spec/unit/sdp/coverage/assets/0.7.1/fancybox/fancy_title_main.png
|
196
|
+
- spec/unit/sdp/coverage/assets/0.7.1/fancybox/fancy_title_over.png
|
197
|
+
- spec/unit/sdp/coverage/assets/0.7.1/fancybox/fancy_title_right.png
|
198
|
+
- spec/unit/sdp/coverage/assets/0.7.1/fancybox/fancybox-x.png
|
199
|
+
- spec/unit/sdp/coverage/assets/0.7.1/fancybox/fancybox-y.png
|
200
|
+
- spec/unit/sdp/coverage/assets/0.7.1/fancybox/fancybox.png
|
201
|
+
- spec/unit/sdp/coverage/assets/0.7.1/favicon_green.png
|
202
|
+
- spec/unit/sdp/coverage/assets/0.7.1/favicon_red.png
|
203
|
+
- spec/unit/sdp/coverage/assets/0.7.1/favicon_yellow.png
|
204
|
+
- spec/unit/sdp/coverage/assets/0.7.1/loading.gif
|
205
|
+
- spec/unit/sdp/coverage/assets/0.7.1/magnify.png
|
206
|
+
- spec/unit/sdp/coverage/assets/0.7.1/smoothness/images/ui-bg_flat_0_aaaaaa_40x100.png
|
207
|
+
- spec/unit/sdp/coverage/assets/0.7.1/smoothness/images/ui-bg_flat_75_ffffff_40x100.png
|
208
|
+
- spec/unit/sdp/coverage/assets/0.7.1/smoothness/images/ui-bg_glass_55_fbf9ee_1x400.png
|
209
|
+
- spec/unit/sdp/coverage/assets/0.7.1/smoothness/images/ui-bg_glass_65_ffffff_1x400.png
|
210
|
+
- spec/unit/sdp/coverage/assets/0.7.1/smoothness/images/ui-bg_glass_75_dadada_1x400.png
|
211
|
+
- spec/unit/sdp/coverage/assets/0.7.1/smoothness/images/ui-bg_glass_75_e6e6e6_1x400.png
|
212
|
+
- spec/unit/sdp/coverage/assets/0.7.1/smoothness/images/ui-bg_glass_95_fef1ec_1x400.png
|
213
|
+
- spec/unit/sdp/coverage/assets/0.7.1/smoothness/images/ui-bg_highlight-soft_75_cccccc_1x100.png
|
214
|
+
- spec/unit/sdp/coverage/assets/0.7.1/smoothness/images/ui-icons_222222_256x240.png
|
215
|
+
- spec/unit/sdp/coverage/assets/0.7.1/smoothness/images/ui-icons_2e83ff_256x240.png
|
216
|
+
- spec/unit/sdp/coverage/assets/0.7.1/smoothness/images/ui-icons_454545_256x240.png
|
217
|
+
- spec/unit/sdp/coverage/assets/0.7.1/smoothness/images/ui-icons_888888_256x240.png
|
218
|
+
- spec/unit/sdp/coverage/assets/0.7.1/smoothness/images/ui-icons_cd0a0a_256x240.png
|
219
|
+
- spec/unit/sdp/coverage/index.html
|
220
|
+
- spec/unit/sdp/description_spec.rb
|
221
|
+
- spec/unit/sdp/parser_spec.rb
|
222
|
+
- spec/unit/sdp_spec.rb
|
158
223
|
- ChangeLog.rdoc
|
159
224
|
- LICENSE.rdoc
|
160
225
|
- README.rdoc
|
@@ -177,18 +242,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
177
242
|
- - ! '>='
|
178
243
|
- !ruby/object:Gem::Version
|
179
244
|
version: '0'
|
180
|
-
segments:
|
181
|
-
- 0
|
182
|
-
hash: -1413003614041401094
|
183
245
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
184
246
|
none: false
|
185
247
|
requirements:
|
186
248
|
- - ! '>='
|
187
249
|
- !ruby/object:Gem::Version
|
188
250
|
version: '0'
|
189
|
-
segments:
|
190
|
-
- 0
|
191
|
-
hash: -1413003614041401094
|
192
251
|
requirements: []
|
193
252
|
rubyforge_project:
|
194
253
|
rubygems_version: 1.8.24
|
@@ -196,8 +255,95 @@ signing_key:
|
|
196
255
|
specification_version: 3
|
197
256
|
summary: Parse and create SDP (Session Description Protocol) text based on RFC4566.
|
198
257
|
test_files:
|
199
|
-
- spec/
|
200
|
-
- spec/
|
201
|
-
- spec/
|
258
|
+
- spec/integration/builds_descriptions_spec.rb
|
259
|
+
- spec/integration/coverage/assets/0.7.1/application.css
|
260
|
+
- spec/integration/coverage/assets/0.7.1/application.js
|
261
|
+
- spec/integration/coverage/assets/0.7.1/fancybox/blank.gif
|
262
|
+
- spec/integration/coverage/assets/0.7.1/fancybox/fancy_close.png
|
263
|
+
- spec/integration/coverage/assets/0.7.1/fancybox/fancy_loading.png
|
264
|
+
- spec/integration/coverage/assets/0.7.1/fancybox/fancy_nav_left.png
|
265
|
+
- spec/integration/coverage/assets/0.7.1/fancybox/fancy_nav_right.png
|
266
|
+
- spec/integration/coverage/assets/0.7.1/fancybox/fancy_shadow_e.png
|
267
|
+
- spec/integration/coverage/assets/0.7.1/fancybox/fancy_shadow_n.png
|
268
|
+
- spec/integration/coverage/assets/0.7.1/fancybox/fancy_shadow_ne.png
|
269
|
+
- spec/integration/coverage/assets/0.7.1/fancybox/fancy_shadow_nw.png
|
270
|
+
- spec/integration/coverage/assets/0.7.1/fancybox/fancy_shadow_s.png
|
271
|
+
- spec/integration/coverage/assets/0.7.1/fancybox/fancy_shadow_se.png
|
272
|
+
- spec/integration/coverage/assets/0.7.1/fancybox/fancy_shadow_sw.png
|
273
|
+
- spec/integration/coverage/assets/0.7.1/fancybox/fancy_shadow_w.png
|
274
|
+
- spec/integration/coverage/assets/0.7.1/fancybox/fancy_title_left.png
|
275
|
+
- spec/integration/coverage/assets/0.7.1/fancybox/fancy_title_main.png
|
276
|
+
- spec/integration/coverage/assets/0.7.1/fancybox/fancy_title_over.png
|
277
|
+
- spec/integration/coverage/assets/0.7.1/fancybox/fancy_title_right.png
|
278
|
+
- spec/integration/coverage/assets/0.7.1/fancybox/fancybox-x.png
|
279
|
+
- spec/integration/coverage/assets/0.7.1/fancybox/fancybox-y.png
|
280
|
+
- spec/integration/coverage/assets/0.7.1/fancybox/fancybox.png
|
281
|
+
- spec/integration/coverage/assets/0.7.1/favicon_green.png
|
282
|
+
- spec/integration/coverage/assets/0.7.1/favicon_red.png
|
283
|
+
- spec/integration/coverage/assets/0.7.1/favicon_yellow.png
|
284
|
+
- spec/integration/coverage/assets/0.7.1/loading.gif
|
285
|
+
- spec/integration/coverage/assets/0.7.1/magnify.png
|
286
|
+
- spec/integration/coverage/assets/0.7.1/smoothness/images/ui-bg_flat_0_aaaaaa_40x100.png
|
287
|
+
- spec/integration/coverage/assets/0.7.1/smoothness/images/ui-bg_flat_75_ffffff_40x100.png
|
288
|
+
- spec/integration/coverage/assets/0.7.1/smoothness/images/ui-bg_glass_55_fbf9ee_1x400.png
|
289
|
+
- spec/integration/coverage/assets/0.7.1/smoothness/images/ui-bg_glass_65_ffffff_1x400.png
|
290
|
+
- spec/integration/coverage/assets/0.7.1/smoothness/images/ui-bg_glass_75_dadada_1x400.png
|
291
|
+
- spec/integration/coverage/assets/0.7.1/smoothness/images/ui-bg_glass_75_e6e6e6_1x400.png
|
292
|
+
- spec/integration/coverage/assets/0.7.1/smoothness/images/ui-bg_glass_95_fef1ec_1x400.png
|
293
|
+
- spec/integration/coverage/assets/0.7.1/smoothness/images/ui-bg_highlight-soft_75_cccccc_1x100.png
|
294
|
+
- spec/integration/coverage/assets/0.7.1/smoothness/images/ui-icons_222222_256x240.png
|
295
|
+
- spec/integration/coverage/assets/0.7.1/smoothness/images/ui-icons_2e83ff_256x240.png
|
296
|
+
- spec/integration/coverage/assets/0.7.1/smoothness/images/ui-icons_454545_256x240.png
|
297
|
+
- spec/integration/coverage/assets/0.7.1/smoothness/images/ui-icons_888888_256x240.png
|
298
|
+
- spec/integration/coverage/assets/0.7.1/smoothness/images/ui-icons_cd0a0a_256x240.png
|
299
|
+
- spec/integration/coverage/index.html
|
300
|
+
- spec/integration/parses_descriptions_spec.rb
|
202
301
|
- spec/spec_helper.rb
|
302
|
+
- spec/support/parser_matcher.rb
|
303
|
+
- spec/support/sdp_file.txt
|
304
|
+
- spec/support/test_descriptions.rb
|
305
|
+
- spec/unit/sdp/coverage/assets/0.7.1/application.css
|
306
|
+
- spec/unit/sdp/coverage/assets/0.7.1/application.js
|
307
|
+
- spec/unit/sdp/coverage/assets/0.7.1/fancybox/blank.gif
|
308
|
+
- spec/unit/sdp/coverage/assets/0.7.1/fancybox/fancy_close.png
|
309
|
+
- spec/unit/sdp/coverage/assets/0.7.1/fancybox/fancy_loading.png
|
310
|
+
- spec/unit/sdp/coverage/assets/0.7.1/fancybox/fancy_nav_left.png
|
311
|
+
- spec/unit/sdp/coverage/assets/0.7.1/fancybox/fancy_nav_right.png
|
312
|
+
- spec/unit/sdp/coverage/assets/0.7.1/fancybox/fancy_shadow_e.png
|
313
|
+
- spec/unit/sdp/coverage/assets/0.7.1/fancybox/fancy_shadow_n.png
|
314
|
+
- spec/unit/sdp/coverage/assets/0.7.1/fancybox/fancy_shadow_ne.png
|
315
|
+
- spec/unit/sdp/coverage/assets/0.7.1/fancybox/fancy_shadow_nw.png
|
316
|
+
- spec/unit/sdp/coverage/assets/0.7.1/fancybox/fancy_shadow_s.png
|
317
|
+
- spec/unit/sdp/coverage/assets/0.7.1/fancybox/fancy_shadow_se.png
|
318
|
+
- spec/unit/sdp/coverage/assets/0.7.1/fancybox/fancy_shadow_sw.png
|
319
|
+
- spec/unit/sdp/coverage/assets/0.7.1/fancybox/fancy_shadow_w.png
|
320
|
+
- spec/unit/sdp/coverage/assets/0.7.1/fancybox/fancy_title_left.png
|
321
|
+
- spec/unit/sdp/coverage/assets/0.7.1/fancybox/fancy_title_main.png
|
322
|
+
- spec/unit/sdp/coverage/assets/0.7.1/fancybox/fancy_title_over.png
|
323
|
+
- spec/unit/sdp/coverage/assets/0.7.1/fancybox/fancy_title_right.png
|
324
|
+
- spec/unit/sdp/coverage/assets/0.7.1/fancybox/fancybox-x.png
|
325
|
+
- spec/unit/sdp/coverage/assets/0.7.1/fancybox/fancybox-y.png
|
326
|
+
- spec/unit/sdp/coverage/assets/0.7.1/fancybox/fancybox.png
|
327
|
+
- spec/unit/sdp/coverage/assets/0.7.1/favicon_green.png
|
328
|
+
- spec/unit/sdp/coverage/assets/0.7.1/favicon_red.png
|
329
|
+
- spec/unit/sdp/coverage/assets/0.7.1/favicon_yellow.png
|
330
|
+
- spec/unit/sdp/coverage/assets/0.7.1/loading.gif
|
331
|
+
- spec/unit/sdp/coverage/assets/0.7.1/magnify.png
|
332
|
+
- spec/unit/sdp/coverage/assets/0.7.1/smoothness/images/ui-bg_flat_0_aaaaaa_40x100.png
|
333
|
+
- spec/unit/sdp/coverage/assets/0.7.1/smoothness/images/ui-bg_flat_75_ffffff_40x100.png
|
334
|
+
- spec/unit/sdp/coverage/assets/0.7.1/smoothness/images/ui-bg_glass_55_fbf9ee_1x400.png
|
335
|
+
- spec/unit/sdp/coverage/assets/0.7.1/smoothness/images/ui-bg_glass_65_ffffff_1x400.png
|
336
|
+
- spec/unit/sdp/coverage/assets/0.7.1/smoothness/images/ui-bg_glass_75_dadada_1x400.png
|
337
|
+
- spec/unit/sdp/coverage/assets/0.7.1/smoothness/images/ui-bg_glass_75_e6e6e6_1x400.png
|
338
|
+
- spec/unit/sdp/coverage/assets/0.7.1/smoothness/images/ui-bg_glass_95_fef1ec_1x400.png
|
339
|
+
- spec/unit/sdp/coverage/assets/0.7.1/smoothness/images/ui-bg_highlight-soft_75_cccccc_1x100.png
|
340
|
+
- spec/unit/sdp/coverage/assets/0.7.1/smoothness/images/ui-icons_222222_256x240.png
|
341
|
+
- spec/unit/sdp/coverage/assets/0.7.1/smoothness/images/ui-icons_2e83ff_256x240.png
|
342
|
+
- spec/unit/sdp/coverage/assets/0.7.1/smoothness/images/ui-icons_454545_256x240.png
|
343
|
+
- spec/unit/sdp/coverage/assets/0.7.1/smoothness/images/ui-icons_888888_256x240.png
|
344
|
+
- spec/unit/sdp/coverage/assets/0.7.1/smoothness/images/ui-icons_cd0a0a_256x240.png
|
345
|
+
- spec/unit/sdp/coverage/index.html
|
346
|
+
- spec/unit/sdp/description_spec.rb
|
347
|
+
- spec/unit/sdp/parser_spec.rb
|
348
|
+
- spec/unit/sdp_spec.rb
|
203
349
|
has_rdoc:
|