From 7960a51d123c9419431730805790dc547f01c678 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonne=20Ha=C3=9F?= Date: Sun, 11 Apr 2021 15:09:05 +0200 Subject: [PATCH] update open_graph_reader to 0.7.1 --- Gemfile | 2 +- Gemfile.lock | 4 ++-- features/support/webmock.rb | 2 +- spec/models/open_graph_cache_spec.rb | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Gemfile b/Gemfile index 9697fe636..f682da1d7 100644 --- a/Gemfile +++ b/Gemfile @@ -144,7 +144,7 @@ gem "leaflet-rails", "1.6.0" # Parsing gem "nokogiri", "1.11.3" -gem "open_graph_reader", "0.7.0" # also update User-Agent in features/support/webmock.rb +gem "open_graph_reader", "0.7.1" # also update User-Agent in features/support/webmock.rb and open_graph_cache_spec.rb gem "redcarpet", "3.5.1" gem "ruby-oembed", "0.12.0" gem "twitter-text", "1.14.7" diff --git a/Gemfile.lock b/Gemfile.lock index 432a5088c..a0a585f6b 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.0) + open_graph_reader (0.7.1) faraday (>= 0.9.0) nokogiri (~> 1.6) openid_connect (1.1.8) @@ -845,7 +845,7 @@ DEPENDENCIES omniauth-tumblr (= 1.2) omniauth-twitter (= 1.4.0) omniauth-wordpress (= 0.2.2) - open_graph_reader (= 0.7.0) + open_graph_reader (= 0.7.1) openid_connect (= 1.1.8) pg (= 1.2.3) pronto (= 0.10.0) diff --git a/features/support/webmock.rb b/features/support/webmock.rb index cce1de904..3068944d4 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.0 (+https://github.com/jhass/open_graph_reader)" + "User-Agent" => "OpenGraphReader/0.7.1 (+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 799f726ac..e205baa76 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.0 (+https://github.com/jhass/open_graph_reader)" + "User-Agent" => "OpenGraphReader/0.7.1 (+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"})