bump ruby-oembed
This commit is contained in:
parent
68da48f0d6
commit
ad20a8487b
3 changed files with 4 additions and 7 deletions
2
Gemfile
2
Gemfile
|
|
@ -63,7 +63,7 @@ gem 'nokogiri', '1.6.0'
|
||||||
gem 'rails_autolink', '1.1.0'
|
gem 'rails_autolink', '1.1.0'
|
||||||
gem 'redcarpet', '3.0.0'
|
gem 'redcarpet', '3.0.0'
|
||||||
gem 'roxml', '3.1.6'
|
gem 'roxml', '3.1.6'
|
||||||
gem 'ruby-oembed', '0.8.8'
|
gem 'ruby-oembed', '0.8.9'
|
||||||
gem 'opengraph_parser', '0.2.3'
|
gem 'opengraph_parser', '0.2.3'
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -350,7 +350,7 @@ GEM
|
||||||
rspec-expectations (~> 2.13.0)
|
rspec-expectations (~> 2.13.0)
|
||||||
rspec-mocks (~> 2.13.0)
|
rspec-mocks (~> 2.13.0)
|
||||||
ruby-hmac (0.4.0)
|
ruby-hmac (0.4.0)
|
||||||
ruby-oembed (0.8.8)
|
ruby-oembed (0.8.9)
|
||||||
ruby-progressbar (1.1.1)
|
ruby-progressbar (1.1.1)
|
||||||
rubyzip (0.9.9)
|
rubyzip (0.9.9)
|
||||||
safe_yaml (0.9.5)
|
safe_yaml (0.9.5)
|
||||||
|
|
@ -493,7 +493,7 @@ DEPENDENCIES
|
||||||
roxml (= 3.1.6)
|
roxml (= 3.1.6)
|
||||||
rspec-instafail (= 0.2.4)
|
rspec-instafail (= 0.2.4)
|
||||||
rspec-rails (= 2.13.2)
|
rspec-rails (= 2.13.2)
|
||||||
ruby-oembed (= 0.8.8)
|
ruby-oembed (= 0.8.9)
|
||||||
sass-rails (= 3.2.6)
|
sass-rails (= 3.2.6)
|
||||||
selenium-webdriver (= 2.34.0)
|
selenium-webdriver (= 2.34.0)
|
||||||
sidekiq (= 2.11.1)
|
sidekiq (= 2.11.1)
|
||||||
|
|
|
||||||
|
|
@ -7,9 +7,6 @@ require 'uri'
|
||||||
# note that 'trusted_endpoint_url' is the only information
|
# note that 'trusted_endpoint_url' is the only information
|
||||||
# in OEmbed that we can trust. anything else may be spoofed!
|
# 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_provider_list = [
|
||||||
OEmbed::Providers::Youtube,
|
OEmbed::Providers::Youtube,
|
||||||
OEmbed::Providers::Vimeo,
|
OEmbed::Providers::Vimeo,
|
||||||
|
|
@ -35,4 +32,4 @@ end
|
||||||
|
|
||||||
OEmbed::Providers.register_fallback(OEmbed::ProviderDiscovery)
|
OEmbed::Providers.register_fallback(OEmbed::ProviderDiscovery)
|
||||||
|
|
||||||
TRUSTED_OEMBED_PROVIDERS = OEmbed::Providers
|
TRUSTED_OEMBED_PROVIDERS = OEmbed::Providers
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue