Bump open_graph_reader

This commit is contained in:
Steffen van Bergerem 2017-03-02 21:14:04 +01:00 committed by Benjamin Neff
parent 47129aa4ae
commit f1ecb8e121
No known key found for this signature in database
GPG key ID: 971464C3F1A90194
3 changed files with 5 additions and 5 deletions

View file

@ -136,7 +136,7 @@ gem "nokogiri", "1.7.0.1"
gem "redcarpet", "3.4.0" gem "redcarpet", "3.4.0"
gem "twitter-text", "1.14.5" gem "twitter-text", "1.14.5"
gem "ruby-oembed", "0.10.1" gem "ruby-oembed", "0.10.1"
gem "open_graph_reader", "0.6.1" gem "open_graph_reader", "0.6.2" # also update User-Agent in features/support/webmock.rb
# RTL support # RTL support

View file

@ -428,8 +428,8 @@ GEM
rack rack
omniauth-wordpress (0.2.2) omniauth-wordpress (0.2.2)
omniauth-oauth2 (>= 1.1.0) omniauth-oauth2 (>= 1.1.0)
open_graph_reader (0.6.1) open_graph_reader (0.6.2)
faraday (~> 0.9.0) faraday (>= 0.9.0)
nokogiri (~> 1.6) nokogiri (~> 1.6)
openid_connect (0.12.0) openid_connect (0.12.0)
activemodel activemodel
@ -852,7 +852,7 @@ DEPENDENCIES
omniauth-tumblr (= 1.2) omniauth-tumblr (= 1.2)
omniauth-twitter (= 1.4.0) omniauth-twitter (= 1.4.0)
omniauth-wordpress (= 0.2.2) omniauth-wordpress (= 0.2.2)
open_graph_reader (= 0.6.1) open_graph_reader (= 0.6.2)
openid_connect (= 0.12.0) openid_connect (= 0.12.0)
pg (= 0.19.0) pg (= 0.19.0)
poltergeist (= 1.13.0) poltergeist (= 1.13.0)

View file

@ -5,7 +5,7 @@ Before do
stub_request(:head, /.+/).with( stub_request(:head, /.+/).with(
headers: { headers: {
"Accept" => "text/html", "Accept" => "text/html",
"User-Agent" => "OpenGraphReader/0.6.1 (+https://github.com/jhass/open_graph_reader)" "User-Agent" => "OpenGraphReader/0.6.2 (+https://github.com/jhass/open_graph_reader)"
} }
).to_return(status: 200, body: "", headers: {"Content-Type" => "text/plain"}) ).to_return(status: 200, body: "", headers: {"Content-Type" => "text/plain"})
end end