diff --git a/Gemfile b/Gemfile index 7d7dec401..8ff0559d3 100644 --- a/Gemfile +++ b/Gemfile @@ -144,7 +144,7 @@ gem "leaflet-rails", "1.7.0" # Parsing gem "nokogiri", "1.11.7" -gem "open_graph_reader", "0.7.1" # also update User-Agent in features/support/webmock.rb and open_graph_cache_spec.rb +gem "open_graph_reader", "0.7.2" # also update User-Agent in features/support/webmock.rb and open_graph_cache_spec.rb gem "redcarpet", "3.5.1" gem "ruby-oembed", "0.15.0" gem "twitter-text", "1.14.7" diff --git a/Gemfile.lock b/Gemfile.lock index 9360b63d9..cf34d8a6d 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -450,7 +450,7 @@ GEM rack omniauth-wordpress (0.2.2) omniauth-oauth2 (>= 1.1.0) - open_graph_reader (0.7.1) + open_graph_reader (0.7.2) faraday (>= 0.9.0) nokogiri (~> 1.6) openid_connect (1.2.0) @@ -858,7 +858,7 @@ DEPENDENCIES omniauth-tumblr (= 1.2) omniauth-twitter (= 1.4.0) omniauth-wordpress (= 0.2.2) - open_graph_reader (= 0.7.1) + open_graph_reader (= 0.7.2) openid_connect (= 1.2.0) pg (= 1.2.3) pronto (= 0.11.0) diff --git a/features/support/webmock.rb b/features/support/webmock.rb index 3068944d4..63bba1aac 100644 --- a/features/support/webmock.rb +++ b/features/support/webmock.rb @@ -7,7 +7,7 @@ Before do stub_request(:head, /.+/).with( headers: { "Accept" => "text/html", - "User-Agent" => "OpenGraphReader/0.7.1 (+https://github.com/jhass/open_graph_reader)" + "User-Agent" => "OpenGraphReader/0.7.2 (+https://github.com/jhass/open_graph_reader)" } ).to_return(status: 200, body: "", headers: {"Content-Type" => "text/plain"}) end diff --git a/spec/models/open_graph_cache_spec.rb b/spec/models/open_graph_cache_spec.rb index e205baa76..8a634f057 100644 --- a/spec/models/open_graph_cache_spec.rb +++ b/spec/models/open_graph_cache_spec.rb @@ -63,7 +63,7 @@ describe OpenGraphCache, type: :model do stub_request(:head, "http:///wetter.com") .with(headers: { "Accept" => "text/html", - "User-Agent" => "OpenGraphReader/0.7.1 (+https://github.com/jhass/open_graph_reader)" + "User-Agent" => "OpenGraphReader/0.7.2 (+https://github.com/jhass/open_graph_reader)" }) .to_return(status: 200, body: "", headers: {"Set-Cookie" => "Dabgroup=A;path=/;Expires=Thu, 23 May 2019 16:12:01 GMT;httpOnly"})