oembedr 0.0.3 → 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
data/.travis.yml ADDED
@@ -0,0 +1,8 @@
1
+ language: ruby
2
+ rvm:
3
+ - 1.9.2
4
+ - 1.9.3
5
+ notifications:
6
+ email:
7
+ recipients:
8
+ - mwilson@majorleaguegaming.com
data/Gemfile CHANGED
@@ -2,3 +2,5 @@ source "http://rubygems.org"
2
2
 
3
3
  # Specify your gem's dependencies in oembedr.gemspec
4
4
  gemspec
5
+
6
+ gem 'rake', :group => :test
data/README.md CHANGED
@@ -2,6 +2,8 @@
2
2
 
3
3
  Lightweight, Flexible OEmbed Consumer Library.
4
4
 
5
+ [![Build Status](https://secure.travis-ci.org/agoragames/oembedr.png)](http://travis-ci.org/agoragames/oembedr)
6
+
5
7
  ### Installation
6
8
 
7
9
  `gem install oembedr`
@@ -24,7 +24,9 @@ module Oembedr
24
24
  /dotsub\.com/ => 'http://dotsub.com/services/oembed',
25
25
  /clikthrough\.com/ => 'http://clikthrough.com/services/oembed',
26
26
  /kinomap\.com/ => 'http://www.kinomap.com/oembed',
27
- /photobucket\.com/ => 'http://photobucket.com/oembed'
27
+ /photobucket\.com/ => 'http://photobucket.com/oembed',
28
+ /speakerdeck\.com/ => 'https://speakerdeck.com/oembed.{format}',
29
+ /soundcloud\.com/ => 'http://soundcloud.com/oembed'
28
30
  # ...
29
31
  }
30
32
 
@@ -1,3 +1,3 @@
1
1
  module Oembedr
2
- VERSION = "0.0.3"
2
+ VERSION = "1.0.0"
3
3
  end
data/oembedr.gemspec CHANGED
@@ -21,7 +21,6 @@ Gem::Specification.new do |s|
21
21
  # specify any dependencies here; for example:
22
22
  s.add_development_dependency "rspec"
23
23
  s.add_development_dependency "yajl-ruby"
24
- s.add_development_dependency "typhoeus"
25
24
  s.add_development_dependency "vcr", "~> 2.0.0.rc1"
26
25
  s.add_development_dependency "fakeweb"
27
26
  s.add_development_dependency "guard"
@@ -31,4 +30,5 @@ Gem::Specification.new do |s|
31
30
  s.add_dependency "multi_json"
32
31
  s.add_dependency "faraday"
33
32
  s.add_dependency "faraday_middleware"
33
+ s.add_dependency "typhoeus"
34
34
  end
@@ -45,7 +45,9 @@ module Oembedr
45
45
  "http://dotsub.com/view/10e3cb5e-96c7-4cfb-bcea-8ab11e04e090" => 'http://dotsub.com/services/oembed',
46
46
  "http://www.clikthrough.com/theater/video/55" => 'http://clikthrough.com/services/oembed',
47
47
  "http://www.kinomap.com/kms-vzkpc7" => 'http://www.kinomap.com/oembed',
48
- "http://img.photobucket.com/albums/v211/JAV123/Michael%20Holland%20Candle%20Burning/_MG_5661.jpg" => 'http://photobucket.com/oembed'
48
+ "http://img.photobucket.com/albums/v211/JAV123/Michael%20Holland%20Candle%20Burning/_MG_5661.jpg" => 'http://photobucket.com/oembed',
49
+ "https://speakerdeck.com/u/czarneckid/p/railsconf-2012-stack-smashing-cornflower-blue" => 'https://speakerdeck.com/oembed.{format}',
50
+ "http://soundcloud.com/cape910/17-cape-x-example-midnight-run" => 'http://soundcloud.com/oembed'
49
51
  }.each do |(test_url, expected_value)|
50
52
  it "should match #{test_url} to #{expected_value}" do
51
53
  Oembedr.service_endpoint(test_url).should == expected_value
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: oembedr
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 1.0.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-19 00:00:00.000000000 Z
12
+ date: 2012-07-24 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rspec
16
- requirement: &2152421940 !ruby/object:Gem::Requirement
16
+ requirement: !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,10 +21,15 @@ dependencies:
21
21
  version: '0'
22
22
  type: :development
23
23
  prerelease: false
24
- version_requirements: *2152421940
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - ! '>='
28
+ - !ruby/object:Gem::Version
29
+ version: '0'
25
30
  - !ruby/object:Gem::Dependency
26
31
  name: yajl-ruby
27
- requirement: &2152421480 !ruby/object:Gem::Requirement
32
+ requirement: !ruby/object:Gem::Requirement
28
33
  none: false
29
34
  requirements:
30
35
  - - ! '>='
@@ -32,21 +37,15 @@ dependencies:
32
37
  version: '0'
33
38
  type: :development
34
39
  prerelease: false
35
- version_requirements: *2152421480
36
- - !ruby/object:Gem::Dependency
37
- name: typhoeus
38
- requirement: &2152421040 !ruby/object:Gem::Requirement
40
+ version_requirements: !ruby/object:Gem::Requirement
39
41
  none: false
40
42
  requirements:
41
43
  - - ! '>='
42
44
  - !ruby/object:Gem::Version
43
45
  version: '0'
44
- type: :development
45
- prerelease: false
46
- version_requirements: *2152421040
47
46
  - !ruby/object:Gem::Dependency
48
47
  name: vcr
49
- requirement: &2152420520 !ruby/object:Gem::Requirement
48
+ requirement: !ruby/object:Gem::Requirement
50
49
  none: false
51
50
  requirements:
52
51
  - - ~>
@@ -54,10 +53,15 @@ dependencies:
54
53
  version: 2.0.0.rc1
55
54
  type: :development
56
55
  prerelease: false
57
- version_requirements: *2152420520
56
+ version_requirements: !ruby/object:Gem::Requirement
57
+ none: false
58
+ requirements:
59
+ - - ~>
60
+ - !ruby/object:Gem::Version
61
+ version: 2.0.0.rc1
58
62
  - !ruby/object:Gem::Dependency
59
63
  name: fakeweb
60
- requirement: &2152420100 !ruby/object:Gem::Requirement
64
+ requirement: !ruby/object:Gem::Requirement
61
65
  none: false
62
66
  requirements:
63
67
  - - ! '>='
@@ -65,10 +69,15 @@ dependencies:
65
69
  version: '0'
66
70
  type: :development
67
71
  prerelease: false
68
- version_requirements: *2152420100
72
+ version_requirements: !ruby/object:Gem::Requirement
73
+ none: false
74
+ requirements:
75
+ - - ! '>='
76
+ - !ruby/object:Gem::Version
77
+ version: '0'
69
78
  - !ruby/object:Gem::Dependency
70
79
  name: guard
71
- requirement: &2152419620 !ruby/object:Gem::Requirement
80
+ requirement: !ruby/object:Gem::Requirement
72
81
  none: false
73
82
  requirements:
74
83
  - - ! '>='
@@ -76,10 +85,15 @@ dependencies:
76
85
  version: '0'
77
86
  type: :development
78
87
  prerelease: false
79
- version_requirements: *2152419620
88
+ version_requirements: !ruby/object:Gem::Requirement
89
+ none: false
90
+ requirements:
91
+ - - ! '>='
92
+ - !ruby/object:Gem::Version
93
+ version: '0'
80
94
  - !ruby/object:Gem::Dependency
81
95
  name: guard-rspec
82
- requirement: &2152419140 !ruby/object:Gem::Requirement
96
+ requirement: !ruby/object:Gem::Requirement
83
97
  none: false
84
98
  requirements:
85
99
  - - ! '>='
@@ -87,10 +101,15 @@ dependencies:
87
101
  version: '0'
88
102
  type: :development
89
103
  prerelease: false
90
- version_requirements: *2152419140
104
+ version_requirements: !ruby/object:Gem::Requirement
105
+ none: false
106
+ requirements:
107
+ - - ! '>='
108
+ - !ruby/object:Gem::Version
109
+ version: '0'
91
110
  - !ruby/object:Gem::Dependency
92
111
  name: guard-bundler
93
- requirement: &2152418700 !ruby/object:Gem::Requirement
112
+ requirement: !ruby/object:Gem::Requirement
94
113
  none: false
95
114
  requirements:
96
115
  - - ! '>='
@@ -98,10 +117,15 @@ dependencies:
98
117
  version: '0'
99
118
  type: :development
100
119
  prerelease: false
101
- version_requirements: *2152418700
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ none: false
122
+ requirements:
123
+ - - ! '>='
124
+ - !ruby/object:Gem::Version
125
+ version: '0'
102
126
  - !ruby/object:Gem::Dependency
103
127
  name: multi_json
104
- requirement: &2152418240 !ruby/object:Gem::Requirement
128
+ requirement: !ruby/object:Gem::Requirement
105
129
  none: false
106
130
  requirements:
107
131
  - - ! '>='
@@ -109,10 +133,15 @@ dependencies:
109
133
  version: '0'
110
134
  type: :runtime
111
135
  prerelease: false
112
- version_requirements: *2152418240
136
+ version_requirements: !ruby/object:Gem::Requirement
137
+ none: false
138
+ requirements:
139
+ - - ! '>='
140
+ - !ruby/object:Gem::Version
141
+ version: '0'
113
142
  - !ruby/object:Gem::Dependency
114
143
  name: faraday
115
- requirement: &2152417780 !ruby/object:Gem::Requirement
144
+ requirement: !ruby/object:Gem::Requirement
116
145
  none: false
117
146
  requirements:
118
147
  - - ! '>='
@@ -120,10 +149,15 @@ dependencies:
120
149
  version: '0'
121
150
  type: :runtime
122
151
  prerelease: false
123
- version_requirements: *2152417780
152
+ version_requirements: !ruby/object:Gem::Requirement
153
+ none: false
154
+ requirements:
155
+ - - ! '>='
156
+ - !ruby/object:Gem::Version
157
+ version: '0'
124
158
  - !ruby/object:Gem::Dependency
125
159
  name: faraday_middleware
126
- requirement: &2152417220 !ruby/object:Gem::Requirement
160
+ requirement: !ruby/object:Gem::Requirement
127
161
  none: false
128
162
  requirements:
129
163
  - - ! '>='
@@ -131,7 +165,28 @@ dependencies:
131
165
  version: '0'
132
166
  type: :runtime
133
167
  prerelease: false
134
- version_requirements: *2152417220
168
+ version_requirements: !ruby/object:Gem::Requirement
169
+ none: false
170
+ requirements:
171
+ - - ! '>='
172
+ - !ruby/object:Gem::Version
173
+ version: '0'
174
+ - !ruby/object:Gem::Dependency
175
+ name: typhoeus
176
+ requirement: !ruby/object:Gem::Requirement
177
+ none: false
178
+ requirements:
179
+ - - ! '>='
180
+ - !ruby/object:Gem::Version
181
+ version: '0'
182
+ type: :runtime
183
+ prerelease: false
184
+ version_requirements: !ruby/object:Gem::Requirement
185
+ none: false
186
+ requirements:
187
+ - - ! '>='
188
+ - !ruby/object:Gem::Version
189
+ version: '0'
135
190
  description: oembedr aims to make consuming oembed resources easy
136
191
  email:
137
192
  - mhw@hypomodern.com
@@ -142,6 +197,7 @@ files:
142
197
  - .gitignore
143
198
  - .rspec
144
199
  - .rvmrc
200
+ - .travis.yml
145
201
  - CHANGELOG.md
146
202
  - Gemfile
147
203
  - Guardfile
@@ -181,7 +237,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
181
237
  version: '0'
182
238
  requirements: []
183
239
  rubyforge_project:
184
- rubygems_version: 1.8.15
240
+ rubygems_version: 1.8.24
185
241
  signing_key:
186
242
  specification_version: 3
187
243
  summary: Lightweight, Flexible OEmbed Consumer Library