opengraph_parser 0.2.4 → 0.2.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/redirect_follower.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 15c61cf496e86ff25b78ddf8dc79d60c9d72620dbcd88e0748457e1a56c40902
|
4
|
+
data.tar.gz: 25ab321fb45b195b5f5a4810922d9b35a9a7ce8256bfd09113bbd36217a2315b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 95ae2946ea00c037102a263fa766a81f4ce6cca640c3ac7e03807ba4487263539b1a7c08467a56f9628b470921b005420d95b56a6dcab8f20783186784b39882
|
7
|
+
data.tar.gz: a8f6d57466a55350051206b12b099b721ef4cc89a9276fb1fea8029e59d514e2b603d7a9272175fbe22187e0bd7f92181c56846c3030c3ab8d8f281af1662cd1
|
data/lib/redirect_follower.rb
CHANGED
@@ -17,7 +17,7 @@ class RedirectFollower
|
|
17
17
|
|
18
18
|
uri = Addressable::URI.parse(url)
|
19
19
|
|
20
|
-
http = Net::HTTP.new(uri.host, uri.
|
20
|
+
http = Net::HTTP.new(uri.host, uri.inferred_port)
|
21
21
|
if uri.scheme == 'https'
|
22
22
|
http.use_ssl = true
|
23
23
|
http.verify_mode = OpenSSL::SSL::VERIFY_PEER
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: opengraph_parser
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Huy Ha
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2022-02-23 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: nokogiri
|