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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/redirect_follower.rb +1 -1
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: df0c81f7b80017bff4c885d2c414eef59fabf51270ed39deb4c865ad26be55ac
4
- data.tar.gz: '02908954486292679e02fe035aedce81fe1575d49ad8d09419bdcdaf43dceb3e'
3
+ metadata.gz: 15c61cf496e86ff25b78ddf8dc79d60c9d72620dbcd88e0748457e1a56c40902
4
+ data.tar.gz: 25ab321fb45b195b5f5a4810922d9b35a9a7ce8256bfd09113bbd36217a2315b
5
5
  SHA512:
6
- metadata.gz: aeff1818cd446174ccd6737c11faa59296184186480f373a43967cab9a36a89412cca711a81d1ed6572b20bea2b5b5909b6bcd2614e2047128a2684827135e10
7
- data.tar.gz: 196240064499563538c518f454ac15d8498003bae0a732f13e09e109ac0e5037bb3ce5431c47858ea1e797a0622d04ba51c52df3f9f8eab84bd69a7f1074a61f
6
+ metadata.gz: 95ae2946ea00c037102a263fa766a81f4ce6cca640c3ac7e03807ba4487263539b1a7c08467a56f9628b470921b005420d95b56a6dcab8f20783186784b39882
7
+ data.tar.gz: a8f6d57466a55350051206b12b099b721ef4cc89a9276fb1fea8029e59d514e2b603d7a9272175fbe22187e0bd7f92181c56846c3030c3ab8d8f281af1662cd1
@@ -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.port)
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
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: 2021-12-23 00:00:00.000000000 Z
12
+ date: 2022-02-23 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: nokogiri