bump ruby-oembed
This commit is contained in:
parent
63be9d57b6
commit
bb14128052
3 changed files with 7 additions and 6 deletions
2
Gemfile
2
Gemfile
|
|
@ -129,7 +129,7 @@ gem "nokogiri", "1.6.6.2"
|
||||||
gem "redcarpet", "3.2.3"
|
gem "redcarpet", "3.2.3"
|
||||||
gem "twitter-text", "1.11.0"
|
gem "twitter-text", "1.11.0"
|
||||||
gem "roxml", "3.1.6"
|
gem "roxml", "3.1.6"
|
||||||
gem "ruby-oembed", "0.8.12"
|
gem "ruby-oembed", "0.8.14"
|
||||||
gem "open_graph_reader", "0.5.0"
|
gem "open_graph_reader", "0.5.0"
|
||||||
|
|
||||||
# Services
|
# Services
|
||||||
|
|
|
||||||
|
|
@ -603,7 +603,7 @@ GEM
|
||||||
powerpack (~> 0.1)
|
powerpack (~> 0.1)
|
||||||
rainbow (>= 1.99.1, < 3.0)
|
rainbow (>= 1.99.1, < 3.0)
|
||||||
ruby-progressbar (~> 1.4)
|
ruby-progressbar (~> 1.4)
|
||||||
ruby-oembed (0.8.12)
|
ruby-oembed (0.8.14)
|
||||||
ruby-progressbar (1.7.5)
|
ruby-progressbar (1.7.5)
|
||||||
rubyzip (1.1.7)
|
rubyzip (1.1.7)
|
||||||
safe_yaml (1.0.4)
|
safe_yaml (1.0.4)
|
||||||
|
|
@ -805,7 +805,7 @@ DEPENDENCIES
|
||||||
rspec-instafail (= 0.2.6)
|
rspec-instafail (= 0.2.6)
|
||||||
rspec-rails (= 3.2.1)
|
rspec-rails (= 3.2.1)
|
||||||
rubocop (= 0.29.1)
|
rubocop (= 0.29.1)
|
||||||
ruby-oembed (= 0.8.12)
|
ruby-oembed (= 0.8.14)
|
||||||
sass-rails (= 5.0.1)
|
sass-rails (= 5.0.1)
|
||||||
selenium-webdriver (= 2.45.0)
|
selenium-webdriver (= 2.45.0)
|
||||||
shoulda-matchers (= 2.8.0)
|
shoulda-matchers (= 2.8.0)
|
||||||
|
|
|
||||||
|
|
@ -16,9 +16,10 @@ describe Workers::GatherOEmbedData do
|
||||||
"url" => "https://farm4.static.flickr.com/3123/2341623661_7c99f48bbf_m.jpg"
|
"url" => "https://farm4.static.flickr.com/3123/2341623661_7c99f48bbf_m.jpg"
|
||||||
}
|
}
|
||||||
|
|
||||||
@flickr_oembed_url = 'http://www.flickr.com/services/oembed/'
|
@flickr_oembed_url = "https://www.flickr.com/services/oembed/"
|
||||||
@flickr_photo_url = 'http://www.flickr.com/photos/bees/2341623661'
|
@flickr_photo_url = "http://www.flickr.com/photos/bees/2341623661"
|
||||||
@flickr_oembed_get_request = @flickr_oembed_url+"?format=json&frame=1&iframe=1&maxheight=420&maxwidth=420&url="+@flickr_photo_url
|
@flickr_oembed_get_request = "#{@flickr_oembed_url}" \
|
||||||
|
"?format=json&frame=1&iframe=1&maxheight=420&maxwidth=420&url=#{@flickr_photo_url}"
|
||||||
|
|
||||||
@no_oembed_url = 'http://www.we-do-not-support-oembed.com/index.html'
|
@no_oembed_url = 'http://www.we-do-not-support-oembed.com/index.html'
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue