data_collector 0.16.0 → 0.17.0

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
2
  SHA256:
3
- metadata.gz: 05eee6a12f06a0d94c8ad6b0e39746a169622bf51c0b4cd142bc8445ab8917eb
4
- data.tar.gz: e0c9aa6d5b397b393ca4348b7b1b38f451c8e6dae79dd202ab695c8244e7974f
3
+ metadata.gz: 351bb040c33b9010903681a117df29f02ba3663e440ed30b37520d5a8aa98b30
4
+ data.tar.gz: a307677b46ecce478fed2206cf5e9173b67bcec8a8b772ca1f12d71fd33a6fad
5
5
  SHA512:
6
- metadata.gz: 3dc5ea1eacbbd11c71e3e7139f59130a0e54318638928025553bbe6deed2b528df77360f55c7821baca208b3b84c55ac85df7db84a327157ff1e80f5b4ad0344
7
- data.tar.gz: d9d6cf588e3c379e0a09c45dfe68ab339ad372c48c2602e1b71cf66c7f9523fb4457ec8d2deabc7c6bdb5d2ac8919ece131b5ef66df1616c7baddfff80298762
6
+ metadata.gz: 6298f438cf8030be76ac85f9652aead672dedd42c6f5c6324b6004bae175442bb9565e31ec3aee430da601e3bcdc43eab08dbf19e9cfb89fe54f00ef61758325
7
+ data.tar.gz: 7b77100e03002764c58e4f2b0d3c962b445422fe7109aa14f0ac7f389628399392db0e172fe7141a35967a6f87c26cce2a8ee7865084454bb9e5587550085ae7
@@ -84,9 +84,9 @@ module DataCollector
84
84
  ctx = OpenSSL::SSL::SSLContext.new
85
85
  ctx.verify_mode = OpenSSL::SSL::VERIFY_NONE
86
86
 
87
- http_response = http.get(escape_uri(uri), ssl_context: ctx)
87
+ http_response = http.follow.get(escape_uri(uri), ssl_context: ctx)
88
88
  else
89
- http_response = http.get(escape_uri(uri))
89
+ http_response = http.follow.get(escape_uri(uri))
90
90
  end
91
91
 
92
92
  case http_response.code
@@ -1,4 +1,4 @@
1
1
  # encoding: utf-8
2
2
  module DataCollector
3
- VERSION = "0.16.0"
3
+ VERSION = "0.17.0"
4
4
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: data_collector
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.16.0
4
+ version: 0.17.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mehmet Celik
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-03-07 00:00:00.000000000 Z
11
+ date: 2023-03-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport