ruby-oembed 0.8.8 → 0.8.9

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: c357d1b21f61f7339b29510045ad103a0bfa209b
4
+ data.tar.gz: eb8ddb9df50702ae4778f6993e6d772a1ef66ad0
5
+ SHA512:
6
+ metadata.gz: 44f5346456a227c3d5293eece8348eb871118aea8b2a9183946a6c69c6d123eba8a1fbdd6c7e2c0f2b5be7d51e4477d1b8ce57948058f252f4b43a74821afe81
7
+ data.tar.gz: 89d25a9740658a0dc18277eba8927e3cd32af1d5dc8548c16632374ab88d6d22d179798eaca6c1681a572f2089a87519165465963ed952f369a9115fe4076099
data/CHANGELOG.rdoc CHANGED
@@ -1,5 +1,10 @@
1
1
  = CHANGELOG
2
2
 
3
+ == 0.8.9 - 15 September 2013
4
+
5
+ * SoundCloud provider supports https URLs; Pull #30 (Greg Tangey)
6
+ * Address rspec DEPRECATION warnings; Pull metavida#3 (Marcos Wright Kuhns)
7
+
3
8
  == 0.8.8 - 18 November 2012
4
9
 
5
10
  * OEmbed::Response::Photo#html now includes alt attribute; Pull #23 & #25 (François de Metz)
@@ -253,6 +253,7 @@ module OEmbed
253
253
  # http://developers.soundcloud.com/docs/oembed
254
254
  SoundCloud = OEmbed::Provider.new("http://soundcloud.com/oembed", :json)
255
255
  SoundCloud << "http://*.soundcloud.com/*"
256
+ SoundCloud << "https://*.soundcloud.com/*"
256
257
  add_official_provider(SoundCloud)
257
258
 
258
259
  # Provider for skitch.com
@@ -2,9 +2,9 @@ module OEmbed
2
2
  class Version
3
3
  MAJOR = 0
4
4
  MINOR = 8
5
- PATCH = 8
5
+ PATCH = 9
6
6
  STRING = "#{MAJOR}.#{MINOR}.#{PATCH}"
7
-
7
+
8
8
  class << self
9
9
  # A String representing the current version of the OEmbed gem.
10
10
  def inspect
@@ -13,6 +13,6 @@ module OEmbed
13
13
  alias_method :to_s, :inspect
14
14
  end
15
15
  end
16
-
16
+
17
17
  VERSION = Version::STRING
18
18
  end
@@ -17,7 +17,7 @@ describe "OEmbed::Formatter::JSON::Backends::JSONGem" do
17
17
 
18
18
  it "should support JSON" do
19
19
  proc { OEmbed::Formatter.supported?(:json) }.
20
- should_not raise_error(OEmbed::FormatNotSupported)
20
+ should_not raise_error
21
21
  end
22
22
 
23
23
  it "should be using the JSONGem backend" do
@@ -13,7 +13,7 @@ describe "OEmbed::Formatter::JSON::Backends::Yaml" do
13
13
 
14
14
  it "should support JSON" do
15
15
  proc { OEmbed::Formatter.supported?(:json) }.
16
- should_not raise_error(OEmbed::FormatNotSupported)
16
+ should_not raise_error
17
17
  end
18
18
 
19
19
  it "should be using the Yaml backend" do
@@ -17,7 +17,7 @@ describe "OEmbed::Formatter::XML::Backends::Nokogiri" do
17
17
 
18
18
  it "should support XML" do
19
19
  proc { OEmbed::Formatter.supported?(:xml) }.
20
- should_not raise_error(OEmbed::FormatNotSupported)
20
+ should_not raise_error
21
21
  end
22
22
 
23
23
  it "should be using the Nokogiri backend" do
@@ -13,7 +13,7 @@ describe "OEmbed::Formatter::XML::Backends::REXML" do
13
13
 
14
14
  it "should support XML" do
15
15
  proc { OEmbed::Formatter.supported?(:xml) }.
16
- should_not raise_error(OEmbed::FormatNotSupported)
16
+ should_not raise_error
17
17
  end
18
18
 
19
19
  it "should be using the XmlSimple backend" do
@@ -17,7 +17,7 @@ describe "OEmbed::Formatter::XML::Backends::XmlSimple" do
17
17
 
18
18
  it "should support XML" do
19
19
  proc { OEmbed::Formatter.supported?(:xml) }.
20
- should_not raise_error(OEmbed::FormatNotSupported)
20
+ should_not raise_error
21
21
  end
22
22
 
23
23
  it "should be using the XmlSimple backend" do
@@ -4,14 +4,14 @@ describe OEmbed::Formatter do
4
4
  include OEmbedSpecHelper
5
5
 
6
6
  it "should support JSON" do
7
- proc { OEmbed::Formatter.support?(:json) }.
8
- should_not raise_error(OEmbed::FormatNotSupported)
7
+ proc { OEmbed::Formatter.supported?(:json) }.
8
+ should_not raise_error
9
9
  end
10
-
10
+
11
11
  it "should default to JSON" do
12
12
  OEmbed::Formatter.default.should == 'json'
13
13
  end
14
-
14
+
15
15
  it "should decode a JSON String" do
16
16
  decoded = OEmbed::Formatter.decode(:json, valid_response(:json))
17
17
  # We need to compare keys & values separately because we don't expect all
@@ -19,12 +19,12 @@ describe OEmbed::Formatter do
19
19
  decoded.keys.should == valid_response(:object).keys
20
20
  decoded.values.map{|v|v.to_s}.should == valid_response(:object).values.map{|v|v.to_s}
21
21
  end
22
-
22
+
23
23
  it "should support XML" do
24
- proc { OEmbed::Formatter.support?(:xml) }.
25
- should_not raise_error(OEmbed::FormatNotSupported)
24
+ proc { OEmbed::Formatter.supported?(:xml) }.
25
+ should_not raise_error
26
26
  end
27
-
27
+
28
28
  it "should decode an XML String" do
29
29
  decoded = OEmbed::Formatter.decode(:xml, valid_response(:xml))
30
30
  # We need to compare keys & values separately because we don't expect all
@@ -14,7 +14,7 @@ describe OEmbed::Provider do
14
14
  after(:all) do
15
15
  VCR.eject_cassette
16
16
  end
17
-
17
+
18
18
  include OEmbedSpecHelper
19
19
 
20
20
  before(:all) do
@@ -31,17 +31,17 @@ describe OEmbed::Provider do
31
31
 
32
32
  it "should require a valid endpoint for a new instance" do
33
33
  proc { OEmbed::Provider.new("http://foo.com/oembed/") }.
34
- should_not raise_error(ArgumentError)
35
-
34
+ should_not raise_error
35
+
36
36
  proc { OEmbed::Provider.new("https://foo.com/oembed/") }.
37
- should_not raise_error(ArgumentError)
37
+ should_not raise_error
38
38
  end
39
-
39
+
40
40
  it "should allow a {format} string in the endpoint for a new instance" do
41
41
  proc { OEmbed::Provider.new("http://foo.com/oembed.{format}/get") }.
42
- should_not raise_error(ArgumentError)
42
+ should_not raise_error
43
43
  end
44
-
44
+
45
45
  it "should raise an ArgumentError given an invalid endpoint for a new instance" do
46
46
  [
47
47
  "httpx://foo.com/oembed/",
@@ -57,7 +57,7 @@ describe OEmbed::Provider do
57
57
 
58
58
  it "should allow no URI schema to be given" do
59
59
  provier = OEmbed::Provider.new("http://foo.com/oembed")
60
-
60
+
61
61
  provier.include?("http://foo.com/1").should be_true
62
62
  provier.include?("http://bar.foo.com/1").should be_true
63
63
  provier.include?("http://bar.foo.com/show/1").should be_true
@@ -69,82 +69,82 @@ describe OEmbed::Provider do
69
69
  it "should allow a String as a URI schema" do
70
70
  provier = OEmbed::Provider.new("http://foo.com/oembed")
71
71
  provier << "http://bar.foo.com/*"
72
-
72
+
73
73
  provier.include?("http://bar.foo.com/1").should be_true
74
74
  provier.include?("http://bar.foo.com/show/1").should be_true
75
-
75
+
76
76
  provier.include?("https://bar.foo.com/1").should be_false
77
77
  provier.include?("http://foo.com/1").should be_false
78
78
  end
79
-
79
+
80
80
  it "should allow multiple path wildcards in a String URI schema" do
81
81
  provier = OEmbed::Provider.new("http://foo.com/oembed")
82
82
  provier << "http://bar.foo.com/*/show/*"
83
-
83
+
84
84
  provier.include?("http://bar.foo.com/photo/show/1").should be_true
85
85
  provier.include?("http://bar.foo.com/video/show/2").should be_true
86
86
  provier.include?("http://bar.foo.com/help/video/show/2").should be_true
87
-
87
+
88
88
  provier.include?("https://bar.foo.com/photo/show/1").should be_false
89
89
  provier.include?("http://foo.com/video/show/2").should be_false
90
90
  provier.include?("http://bar.foo.com/show/1").should be_false
91
91
  provier.include?("http://bar.foo.com/1").should be_false
92
92
  end
93
-
93
+
94
94
  it "should NOT allow multiple domain wildcards in a String URI schema" do
95
95
  provier = OEmbed::Provider.new("http://foo.com/oembed")
96
-
96
+
97
97
  pending("We don't yet validate URL schema strings") do
98
98
  proc { provier << "http://*.com/*" }.
99
99
  should raise_error(ArgumentError)
100
100
  end
101
-
101
+
102
102
  provier.include?("http://foo.com/1").should be_false
103
103
  end
104
-
104
+
105
105
  it "should allow a sub-domain wildcard in String URI schema" do
106
106
  provier = OEmbed::Provider.new("http://foo.com/oembed")
107
107
  provier << "http://*.foo.com/*"
108
-
108
+
109
109
  provier.include?("http://bar.foo.com/1").should be_true
110
110
  provier.include?("http://foo.foo.com/2").should be_true
111
111
  provier.include?("http://foo.com/3").should be_true
112
-
112
+
113
113
  provier.include?("https://bar.foo.com/1").should be_false
114
114
  provier.include?("http://my.bar.foo.com/1").should be_false
115
-
115
+
116
116
  provier << "http://my.*.foo.com/*"
117
117
  end
118
-
118
+
119
119
  it "should allow multiple sub-domain wildcards in a String URI schema" do
120
120
  provier = OEmbed::Provider.new("http://foo.com/oembed")
121
121
  provier << "http://*.my.*.foo.com/*"
122
-
122
+
123
123
  provier.include?("http://my.bar.foo.com/1").should be_true
124
124
  provier.include?("http://my.foo.com/2").should be_true
125
125
  provier.include?("http://bar.my.bar.foo.com/3").should be_true
126
-
126
+
127
127
  provier.include?("http://bar.foo.com/1").should be_false
128
128
  provier.include?("http://foo.bar.foo.com/1").should be_false
129
129
  end
130
-
130
+
131
131
  it "should NOT allow a scheme wildcard in a String URI schema" do
132
132
  provier = OEmbed::Provider.new("http://foo.com/oembed")
133
-
133
+
134
134
  pending("We don't yet validate URL schema strings") do
135
135
  proc { provier << "*://foo.com/*" }.
136
136
  should raise_error(ArgumentError)
137
137
  end
138
-
138
+
139
139
  provier.include?("http://foo.com/1").should be_false
140
140
  end
141
141
 
142
142
  it "should allow a scheme other than http in a String URI schema" do
143
143
  provier = OEmbed::Provider.new("http://foo.com/oembed")
144
144
  provier << "https://foo.com/*"
145
-
145
+
146
146
  provier.include?("https://foo.com/1").should be_true
147
-
147
+
148
148
  gopher_url = "gopher://foo.com/1"
149
149
  provier.include?(gopher_url).should be_false
150
150
  provier << "gopher://foo.com/*"
@@ -154,12 +154,12 @@ describe OEmbed::Provider do
154
154
  it "should allow a Regexp as a URI schema" do
155
155
  provier = OEmbed::Provider.new("http://foo.com/oembed")
156
156
  provier << %r{^https?://([^\.]*\.)?foo.com/(show/)?\d+}
157
-
157
+
158
158
  provier.include?("http://bar.foo.com/1").should be_true
159
159
  provier.include?("http://bar.foo.com/show/1").should be_true
160
160
  provier.include?("http://foo.com/1").should be_true
161
161
  provier.include?("https://bar.foo.com/1").should be_true
162
-
162
+
163
163
  provier.include?("http://bar.foo.com/video/1").should be_false
164
164
  provier.include?("gopher://foo.com/1").should be_false
165
165
  end
@@ -183,16 +183,16 @@ describe OEmbed::Provider do
183
183
  }.
184
184
  should_not raise_error
185
185
  end
186
-
186
+
187
187
  it "should not allow random formats to be parsed" do
188
188
  yaml_provider = OEmbed::Provider.new("http://foo.com/api/oembed.{format}", :yml)
189
189
  yaml_provider << "http://foo.com/*"
190
190
  yaml_url = "http://foo.com/video/1"
191
-
191
+
192
192
  yaml_provider.should_receive(:raw).
193
193
  with(yaml_url, {:format=>:yml}).
194
194
  and_return(valid_response(:json))
195
-
195
+
196
196
  proc { yaml_provider.get(yaml_url) }.
197
197
  should raise_error(OEmbed::FormatNotSupported)
198
198
  end
@@ -245,13 +245,13 @@ describe OEmbed::Provider do
245
245
  uri = @qik.send(:build, example_url(:qik), :format => :json)
246
246
  uri.path.should == "/api/oembed.json"
247
247
  end
248
-
248
+
249
249
  it "should build correctly with query parameters in the endpoint URL" do
250
250
  provider = OEmbed::Provider.new('http://www.youtube.com/oembed?scheme=https')
251
251
  provider << 'http://*.youtube.com/*'
252
252
  url = 'http://youtube.com/watch?v=M3r2XDceM6A'
253
253
  provider.include?(url).should be_true
254
-
254
+
255
255
  uri = provider.send(:build, url)
256
256
  uri.query.include?("scheme=https").should be_true
257
257
  uri.query.include?("url=#{CGI.escape url}").should be_true
@@ -263,53 +263,45 @@ describe OEmbed::Provider do
263
263
  res = @flickr.send(:raw, example_url(:flickr))
264
264
  res.should == example_body(:flickr)
265
265
  end
266
-
266
+
267
267
  it "should return the body on 200 even over https" do
268
268
  @vimeo_ssl = OEmbed::Provider.new("https://vimeo.com/api/oembed.{format}")
269
269
  @vimeo_ssl << "http://*.vimeo.com/*"
270
270
  @vimeo_ssl << "https://*.vimeo.com/*"
271
271
 
272
- proc do
272
+ expect {
273
273
  @vimeo_ssl.send(:raw, example_url(:vimeo_ssl)).should == example_body(:vimeo_ssl)
274
- end.should_not raise_error
274
+ }.not_to raise_error
275
275
  end
276
276
 
277
277
  it "should raise an UnknownFormat error on 501" do
278
278
  # Note: This test relies on a custom-written VCR response in the
279
279
  # cassettes/OEmbed_Provider.yml file.
280
-
281
- proc do
280
+
281
+ expect {
282
282
  @flickr.send(:raw, File.join(example_url(:flickr), '501'))
283
- end.should raise_error(OEmbed::UnknownFormat)
283
+ }.to raise_error(OEmbed::UnknownFormat)
284
284
  end
285
285
 
286
286
  it "should raise a NotFound error on 404" do
287
287
  # Note: This test relies on a custom-written VCR response in the
288
288
  # cassettes/OEmbed_Provider.yml file.
289
-
290
- proc do
289
+
290
+ expect {
291
291
  @flickr.send(:raw, File.join(example_url(:flickr), '404'))
292
- end.should raise_error(OEmbed::NotFound)
292
+ }.to raise_error(OEmbed::NotFound)
293
293
  end
294
294
 
295
295
  it "should raise an UnknownResponse error on other responses" do
296
296
  # Note: This test relies on a custom-written VCR response in the
297
297
  # cassettes/OEmbed_Provider.yml file.
298
-
298
+
299
299
  statuses_to_check = ['405', '500']
300
-
301
- statuses_to_check.each do |status|
302
- proc do
303
- proc do
304
- @flickr.send(:raw, File.join(example_url(:flickr), status))
305
- end.should_not raise_error(OEmbed::NotFound)
306
- end.should_not raise_error(OEmbed::UnknownResponse)
307
- end
308
-
300
+
309
301
  statuses_to_check.each do |status|
310
- proc do
302
+ expect {
311
303
  @flickr.send(:raw, File.join(example_url(:flickr), status))
312
- end.should raise_error(OEmbed::UnknownResponse)
304
+ }.to raise_error(OEmbed::UnknownResponse)
313
305
  end
314
306
  end
315
307
  end
@@ -326,31 +318,31 @@ describe OEmbed::Provider do
326
318
  and_return(valid_response(:xml))
327
319
  @flickr.get(example_url(:flickr), :format=>:xml)
328
320
 
329
- lambda do
321
+ expect {
330
322
  @flickr.should_receive(:raw).
331
323
  with(example_url(:flickr), {:format=>:yml}).
332
324
  and_return(valid_response(:json))
333
325
  @flickr.get(example_url(:flickr), :format=>:yml)
334
- end.should raise_error(OEmbed::FormatNotSupported)
326
+ }.to raise_error(OEmbed::FormatNotSupported)
335
327
  end
336
-
328
+
337
329
  it "should return OEmbed::Response" do
338
- @flickr.stub!(:raw).and_return(valid_response(@default))
330
+ @flickr.stub(:raw).and_return(valid_response(@default))
339
331
  @flickr.get(example_url(:flickr)).should be_a(OEmbed::Response)
340
332
  end
341
333
 
342
334
  it "should be calling OEmbed::Response#create_for internally" do
343
- @flickr.stub!(:raw).and_return(valid_response(@default))
335
+ @flickr.stub(:raw).and_return(valid_response(@default))
344
336
  OEmbed::Response.should_receive(:create_for).
345
337
  with(valid_response(@default), @flickr, example_url(:flickr), @default.to_s)
346
338
  @flickr.get(example_url(:flickr))
347
339
 
348
- @qik.stub!(:raw).and_return(valid_response(:xml))
340
+ @qik.stub(:raw).and_return(valid_response(:xml))
349
341
  OEmbed::Response.should_receive(:create_for).
350
342
  with(valid_response(:xml), @qik, example_url(:qik), 'xml')
351
343
  @qik.get(example_url(:qik))
352
344
 
353
- @viddler.stub!(:raw).and_return(valid_response(:json))
345
+ @viddler.stub(:raw).and_return(valid_response(:json))
354
346
  OEmbed::Response.should_receive(:create_for).
355
347
  with(valid_response(:json), @viddler, example_url(:viddler), 'json')
356
348
  @viddler.get(example_url(:viddler))
@@ -50,7 +50,7 @@ describe OEmbed::Response do
50
50
  "url" => "http://foo.com/bar",
51
51
  }
52
52
  }
53
-
53
+
54
54
  let(:expected_skipped) {
55
55
  {
56
56
  "fields" => "hello",
@@ -59,7 +59,7 @@ describe OEmbed::Response do
59
59
  "to_s" => "random string",
60
60
  }
61
61
  }
62
-
62
+
63
63
  let(:all_expected) {
64
64
  expected_helpers.merge(expected_skipped)
65
65
  }
@@ -106,31 +106,31 @@ describe OEmbed::Response do
106
106
 
107
107
  describe "create_for" do
108
108
  it "should only allow JSON or XML" do
109
- lambda do
109
+ expect {
110
110
  OEmbed::Response.create_for(valid_response(:json), flickr, example_url(:flickr), :json)
111
- end.should_not raise_error(OEmbed::FormatNotSupported)
111
+ }.not_to raise_error
112
112
 
113
- lambda do
113
+ expect {
114
114
  OEmbed::Response.create_for(valid_response(:xml), flickr, example_url(:flickr), :xml)
115
- end.should_not raise_error(OEmbed::FormatNotSupported)
115
+ }.not_to raise_error
116
116
 
117
- lambda do
117
+ expect {
118
118
  OEmbed::Response.create_for(valid_response(:yml), flickr, example_url(:flickr), :yml)
119
- end.should raise_error(OEmbed::FormatNotSupported)
119
+ }.to raise_error(OEmbed::FormatNotSupported)
120
120
  end
121
121
 
122
122
  it "should not parse the incorrect format" do
123
- lambda do
123
+ expect {
124
124
  OEmbed::Response.create_for(valid_response(:object), example_url(:flickr), flickr, :json)
125
- end.should raise_error(OEmbed::ParseError)
125
+ }.to raise_error(OEmbed::ParseError)
126
126
 
127
- lambda do
127
+ expect {
128
128
  OEmbed::Response.create_for(valid_response(:xml), example_url(:flickr), viddler, :json)
129
- end.should raise_error(OEmbed::ParseError)
129
+ }.to raise_error(OEmbed::ParseError)
130
130
 
131
- lambda do
131
+ expect {
132
132
  OEmbed::Response.create_for(valid_response(:json), example_url(:flickr), viddler, :xml)
133
- end.should raise_error(OEmbed::ParseError)
133
+ }.to raise_error(OEmbed::ParseError)
134
134
  end
135
135
  end
136
136
 
@@ -202,7 +202,7 @@ describe OEmbed::Response do
202
202
  response = OEmbed::Response.create_for(example_body(:flickr), example_url(:flickr), flickr, :json)
203
203
  response.should respond_to(:title)
204
204
  response.title.should_not be_empty
205
-
205
+
206
206
  response.html.should_not be_nil
207
207
  response.html.should match(/alt='#{response.title}'/)
208
208
  end
@@ -210,7 +210,7 @@ describe OEmbed::Response do
210
210
  it "should work just fine, without a title" do
211
211
  response = OEmbed::Response.create_for(example_body(:skitch), example_url(:skitch), skitch, :json)
212
212
  response.should_not respond_to(:title)
213
-
213
+
214
214
  response.html.should_not be_nil
215
215
  response.html.should match(/alt=''/)
216
216
  end
metadata CHANGED
@@ -1,8 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruby-oembed
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.8
5
- prerelease:
4
+ version: 0.8.9
6
5
  platform: ruby
7
6
  authors:
8
7
  - Magnus Holm
@@ -17,87 +16,76 @@ dependencies:
17
16
  - !ruby/object:Gem::Dependency
18
17
  name: rake
19
18
  requirement: !ruby/object:Gem::Requirement
20
- none: false
21
19
  requirements:
22
- - - ! '>='
20
+ - - '>='
23
21
  - !ruby/object:Gem::Version
24
22
  version: '0'
25
23
  type: :development
26
24
  prerelease: false
27
25
  version_requirements: !ruby/object:Gem::Requirement
28
- none: false
29
26
  requirements:
30
- - - ! '>='
27
+ - - '>='
31
28
  - !ruby/object:Gem::Version
32
29
  version: '0'
33
30
  - !ruby/object:Gem::Dependency
34
31
  name: json
35
32
  requirement: !ruby/object:Gem::Requirement
36
- none: false
37
33
  requirements:
38
- - - ! '>='
34
+ - - '>='
39
35
  - !ruby/object:Gem::Version
40
36
  version: '0'
41
37
  type: :development
42
38
  prerelease: false
43
39
  version_requirements: !ruby/object:Gem::Requirement
44
- none: false
45
40
  requirements:
46
- - - ! '>='
41
+ - - '>='
47
42
  - !ruby/object:Gem::Version
48
43
  version: '0'
49
44
  - !ruby/object:Gem::Dependency
50
45
  name: xml-simple
51
46
  requirement: !ruby/object:Gem::Requirement
52
- none: false
53
47
  requirements:
54
- - - ! '>='
48
+ - - '>='
55
49
  - !ruby/object:Gem::Version
56
50
  version: '0'
57
51
  type: :development
58
52
  prerelease: false
59
53
  version_requirements: !ruby/object:Gem::Requirement
60
- none: false
61
54
  requirements:
62
- - - ! '>='
55
+ - - '>='
63
56
  - !ruby/object:Gem::Version
64
57
  version: '0'
65
58
  - !ruby/object:Gem::Dependency
66
59
  name: nokogiri
67
60
  requirement: !ruby/object:Gem::Requirement
68
- none: false
69
61
  requirements:
70
- - - ! '>='
62
+ - - '>='
71
63
  - !ruby/object:Gem::Version
72
64
  version: '0'
73
65
  type: :development
74
66
  prerelease: false
75
67
  version_requirements: !ruby/object:Gem::Requirement
76
- none: false
77
68
  requirements:
78
- - - ! '>='
69
+ - - '>='
79
70
  - !ruby/object:Gem::Version
80
71
  version: '0'
81
72
  - !ruby/object:Gem::Dependency
82
73
  name: rspec
83
74
  requirement: !ruby/object:Gem::Requirement
84
- none: false
85
75
  requirements:
86
- - - ! '>='
76
+ - - '>='
87
77
  - !ruby/object:Gem::Version
88
78
  version: '2.0'
89
79
  type: :development
90
80
  prerelease: false
91
81
  version_requirements: !ruby/object:Gem::Requirement
92
- none: false
93
82
  requirements:
94
- - - ! '>='
83
+ - - '>='
95
84
  - !ruby/object:Gem::Version
96
85
  version: '2.0'
97
86
  - !ruby/object:Gem::Dependency
98
87
  name: vcr
99
88
  requirement: !ruby/object:Gem::Requirement
100
- none: false
101
89
  requirements:
102
90
  - - ~>
103
91
  - !ruby/object:Gem::Version
@@ -105,7 +93,6 @@ dependencies:
105
93
  type: :development
106
94
  prerelease: false
107
95
  version_requirements: !ruby/object:Gem::Requirement
108
- none: false
109
96
  requirements:
110
97
  - - ~>
111
98
  - !ruby/object:Gem::Version
@@ -113,17 +100,15 @@ dependencies:
113
100
  - !ruby/object:Gem::Dependency
114
101
  name: fakeweb
115
102
  requirement: !ruby/object:Gem::Requirement
116
- none: false
117
103
  requirements:
118
- - - ! '>='
104
+ - - '>='
119
105
  - !ruby/object:Gem::Version
120
106
  version: '0'
121
107
  type: :development
122
108
  prerelease: false
123
109
  version_requirements: !ruby/object:Gem::Requirement
124
- none: false
125
110
  requirements:
126
- - - ! '>='
111
+ - - '>='
127
112
  - !ruby/object:Gem::Version
128
113
  version: '0'
129
114
  description: An oEmbed consumer library written in Ruby, letting you easily get embeddable
@@ -193,12 +178,13 @@ files:
193
178
  homepage: http://github.com/judofyr/ruby-oembed
194
179
  licenses:
195
180
  - MIT
181
+ metadata: {}
196
182
  post_install_message:
197
183
  rdoc_options:
198
184
  - --main
199
185
  - README.rdoc
200
186
  - --title
201
- - ruby-oembed-0.8.8
187
+ - ruby-oembed-0.8.9
202
188
  - --inline-source
203
189
  - --exclude
204
190
  - tasks
@@ -206,20 +192,18 @@ rdoc_options:
206
192
  require_paths:
207
193
  - lib
208
194
  required_ruby_version: !ruby/object:Gem::Requirement
209
- none: false
210
195
  requirements:
211
- - - ! '>='
196
+ - - '>='
212
197
  - !ruby/object:Gem::Version
213
198
  version: '0'
214
199
  required_rubygems_version: !ruby/object:Gem::Requirement
215
- none: false
216
200
  requirements:
217
- - - ! '>='
201
+ - - '>='
218
202
  - !ruby/object:Gem::Version
219
203
  version: '0'
220
204
  requirements: []
221
205
  rubyforge_project:
222
- rubygems_version: 1.8.19
206
+ rubygems_version: 2.1.3
223
207
  signing_key:
224
208
  specification_version: 3
225
209
  summary: oEmbed for Ruby