open_graph_reader 0.7.0 → 0.7.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 7f505298da6defe89df06b6cc25bd19e6b145732
4
- data.tar.gz: cfad590b9a3911bfbe95bc1419a94f969af008f7
2
+ SHA256:
3
+ metadata.gz: 6946bdd3bb2cb2f59249d7310080adb70d26338688d78ab83b88003fbd14758a
4
+ data.tar.gz: 88d44535006044e26d590cde520be5fb44b8684f101604f5a4f2049574989e1c
5
5
  SHA512:
6
- metadata.gz: 0bfa033b73f9bb425c4e4ad6736c809207d4c06e222afcc6f2a6c6d8aeb1f5e8d5560b6d122e4a79564abd55ea7af6b14592a77ad4b9e6e0ad73a5536675d2a0
7
- data.tar.gz: 795cc170a4a9a3a7e4e665a760a8dc169964fbf46fec8e016d5cf41c46ac30a842ead2f15a327b9966e337e4349744e38b41cbb4261d82cbc0e393dab3958735
6
+ metadata.gz: f5022521d6e888ecee9d4e6768cbea7813633f8374db3017d661c2ed33f6522645c408c5eb3b53f66f8881cb0027a32a98a0def24a7211bb778c37631e2707c9
7
+ data.tar.gz: 9db30aff21f2087b3dfba8f399497fa9d84b7ff8abe8f9d5bb89cef12cc4b52e12b92c653cc7f107ec4f3ff86e70267bc7fe68d8425c46ad0a9d00cbb95e15eb
@@ -1,4 +1,4 @@
1
1
  module OpenGraphReader
2
2
  # Tbe library version
3
- VERSION = "0.7.0"
3
+ VERSION = "0.7.1"
4
4
  end
@@ -1,14 +1,15 @@
1
1
  require "spec_helper"
2
2
 
3
3
  RSpec.describe OpenGraphReader::Fetcher do
4
- let(:uri) { URI("http://example.org") }
4
+ let(:host) { "example.org" }
5
+ let(:uri) { URI("http://#{host}") }
5
6
  let(:fetcher) { described_class.new uri }
6
7
  let(:good_response) { {status: 200, body: "", headers: {"Content-Type" => "text/html"}} }
7
8
 
8
9
  context "error during body fetch" do
9
10
  before do
10
- stub_request(:head, uri).to_return(good_response)
11
- stub_request(:get, uri).to_raise(Faraday::ConnectionFailed.new("execution expired"))
11
+ stub_request(:head, host).to_return(good_response)
12
+ stub_request(:get, host).to_raise(Faraday::ConnectionFailed.new("execution expired"))
12
13
  end
13
14
 
14
15
  describe "#body" do
@@ -1,4 +1,3 @@
1
- require "bundler/setup"
2
1
  require "webmock/rspec"
3
2
 
4
3
  require "open_graph_reader"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: open_graph_reader
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.0
4
+ version: 0.7.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jonne Haß
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-08-25 00:00:00.000000000 Z
11
+ date: 2020-09-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: nokogiri
@@ -58,14 +58,14 @@ dependencies:
58
58
  requirements:
59
59
  - - "~>"
60
60
  - !ruby/object:Gem::Version
61
- version: '12.0'
61
+ version: '13.0'
62
62
  type: :development
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
66
  - - "~>"
67
67
  - !ruby/object:Gem::Version
68
- version: '12.0'
68
+ version: '13.0'
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: rspec
71
71
  requirement: !ruby/object:Gem::Requirement
@@ -194,7 +194,7 @@ homepage: https://github.com/jhass/open_graph_reader
194
194
  licenses:
195
195
  - MIT
196
196
  metadata: {}
197
- post_install_message:
197
+ post_install_message:
198
198
  rdoc_options: []
199
199
  require_paths:
200
200
  - lib
@@ -209,9 +209,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
209
209
  - !ruby/object:Gem::Version
210
210
  version: '0'
211
211
  requirements: []
212
- rubyforge_project:
213
- rubygems_version: 2.6.14.4
214
- signing_key:
212
+ rubygems_version: 3.1.2
213
+ signing_key:
215
214
  specification_version: 4
216
215
  summary: OpenGraph protocol parser
217
216
  test_files: