Commit ad20a848 authored by Jonne Haß's avatar Jonne Haß
Browse files

bump ruby-oembed

parent 68da48f0
......@@ -63,7 +63,7 @@ gem 'nokogiri', '1.6.0'
gem 'rails_autolink', '1.1.0'
gem 'redcarpet', '3.0.0'
gem 'roxml', '3.1.6'
gem 'ruby-oembed', '0.8.8'
gem 'ruby-oembed', '0.8.9'
gem 'opengraph_parser', '0.2.3'
......
......@@ -350,7 +350,7 @@ GEM
rspec-expectations (~> 2.13.0)
rspec-mocks (~> 2.13.0)
ruby-hmac (0.4.0)
ruby-oembed (0.8.8)
ruby-oembed (0.8.9)
ruby-progressbar (1.1.1)
rubyzip (0.9.9)
safe_yaml (0.9.5)
......@@ -493,7 +493,7 @@ DEPENDENCIES
roxml (= 3.1.6)
rspec-instafail (= 0.2.4)
rspec-rails (= 2.13.2)
ruby-oembed (= 0.8.8)
ruby-oembed (= 0.8.9)
sass-rails (= 3.2.6)
selenium-webdriver (= 2.34.0)
sidekiq (= 2.11.1)
......
......@@ -7,9 +7,6 @@ require 'uri'
# note that 'trusted_endpoint_url' is the only information
# in OEmbed that we can trust. anything else may be spoofed!
# patch in support for new https soundcloud
OEmbed::Providers::SoundCloud << "https://*.soundcloud.com/*"
oembed_provider_list = [
OEmbed::Providers::Youtube,
OEmbed::Providers::Vimeo,
......@@ -35,4 +32,4 @@ end
OEmbed::Providers.register_fallback(OEmbed::ProviderDiscovery)
TRUSTED_OEMBED_PROVIDERS = OEmbed::Providers
\ No newline at end of file
TRUSTED_OEMBED_PROVIDERS = OEmbed::Providers
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment