ruby-oembed 0.8.14 → 0.9.0

Sign up to get free protection for your applications and to get access to all the features.
data/spec/spec_helper.rb CHANGED
@@ -2,6 +2,12 @@ require 'rubygems'
2
2
  require 'vcr'
3
3
  require File.dirname(__FILE__) + '/../lib/oembed'
4
4
 
5
+ RSpec.configure do |config|
6
+ config.raise_errors_for_deprecations!
7
+ config.tty = true
8
+ config.color = true
9
+ end
10
+
5
11
  module OEmbedSpecHelper
6
12
  EXAMPLE = YAML.load_file(File.expand_path(File.join(__FILE__, '../spec_helper_examples.yml'))) unless defined?(EXAMPLE)
7
13
 
@@ -27,7 +33,7 @@ module OEmbedSpecHelper
27
33
 
28
34
  results
29
35
  end
30
-
36
+
31
37
  def example_body(site)
32
38
  EXAMPLE[site][:body]
33
39
  end
@@ -62,7 +68,7 @@ module OEmbedSpecHelper
62
68
  XML
63
69
  end
64
70
  end
65
-
71
+
66
72
  def invalid_response(case_name, format)
67
73
  format = format.to_s
68
74
  valid = valid_response(format)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruby-oembed
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.14
4
+ version: 0.9.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Magnus Holm
@@ -123,7 +123,6 @@ extra_rdoc_files:
123
123
  - LICENSE
124
124
  files:
125
125
  - ".gitignore"
126
- - ".rvmrc"
127
126
  - ".travis.yml"
128
127
  - ".yardopts"
129
128
  - CHANGELOG.rdoc
@@ -145,6 +144,7 @@ files:
145
144
  - lib/oembed/formatter/xml/backends/nokogiri.rb
146
145
  - lib/oembed/formatter/xml/backends/rexml.rb
147
146
  - lib/oembed/formatter/xml/backends/xmlsimple.rb
147
+ - lib/oembed/http_helper.rb
148
148
  - lib/oembed/provider.rb
149
149
  - lib/oembed/provider_discovery.rb
150
150
  - lib/oembed/providers.rb
@@ -184,7 +184,7 @@ rdoc_options:
184
184
  - "--main"
185
185
  - README.rdoc
186
186
  - "--title"
187
- - ruby-oembed-0.8.14
187
+ - ruby-oembed-0.9.0
188
188
  - "--inline-source"
189
189
  - "--exclude"
190
190
  - tasks
@@ -203,7 +203,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
203
203
  version: '0'
204
204
  requirements: []
205
205
  rubyforge_project:
206
- rubygems_version: 2.2.2
206
+ rubygems_version: 2.4.7
207
207
  signing_key:
208
208
  specification_version: 3
209
209
  summary: oEmbed for Ruby
data/.rvmrc DELETED
@@ -1 +0,0 @@
1
- rvm --create use default@oembed