azure-storage-common 2.0.1 → 2.0.2

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: 7452db26abde9be86812725e1b5e404bb6e516f87b91998bfc5fd947eac8c83f
4
- data.tar.gz: f95cc3f2014cbef0e77e268d6f609ef13204ccad8d081dd22060cb47fa54a3af
3
+ metadata.gz: 643d6f89a6ebfc972664a2b3f59d06ef341e8f65cdabc087b57277cd421108c0
4
+ data.tar.gz: 636223cebe99000051c37a4cfb76afb655ff406ef4d1797a5d854002dd751d45
5
5
  SHA512:
6
- metadata.gz: d28194e508f11824e00131a0efa398caa590273b36dea55fbc8935880a643c3ad68428658629a3eed92aaf8599d4d9c503f0fc13d244c264741e3280e5cb01e3
7
- data.tar.gz: ce4a878c07971a45bce0b8f1e436ac097aa0f9ba2ead1a18d9d5bef6ce40582cce0ae302e1e3ee9a099a07fd8c7ff02ff89cd7ef426c189bcb18c4da88ff0b2c
6
+ metadata.gz: 6af15e2b3fbe43c79c9f75c66dafb82778e0ba888284c9afa9666d7fe712f629789c46f46fbfaf627f42f20e61f26df56614414387f3621b64487c754c6b4075
7
+ data.tar.gz: 1b0ab5ad964bdc731ff62e468a96486189af272adcdb109b40bc652d34229bda5bcf80754df199d35ac77a45d533e3579b697349acc6662de3550bcfbd47c555
@@ -16,6 +16,7 @@ require 'digest/md5'
16
16
  require 'base64'
17
17
  require 'net/http'
18
18
  require 'time'
19
+ require 'tempfile'
19
20
 
20
21
  require 'azure/core/version'
21
22
  require 'azure/core/http/http_response'
@@ -72,7 +72,10 @@ module Azure::Storage::Common::Core
72
72
  end || nil
73
73
  Faraday.new(uri, ssl: ssl_options, proxy: proxy_options) do |conn|
74
74
  conn.use FaradayMiddleware::FollowRedirects
75
- conn.adapter Faraday.default_adapter
75
+ conn.adapter :net_http_persistent, pool_size: 5 do |http|
76
+ # yields Net::HTTP::Persistent
77
+ http.idle_timeout = 100
78
+ end
76
79
  end
77
80
  end
78
81
  end
@@ -31,7 +31,7 @@ module Azure
31
31
  # Fields represent the parts defined in http://semver.org/
32
32
  MAJOR = 2 unless defined? MAJOR
33
33
  MINOR = 0 unless defined? MINOR
34
- UPDATE = 1 unless defined? UPDATE
34
+ UPDATE = 2 unless defined? UPDATE
35
35
 
36
36
  class << self
37
37
  # @return [String]
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: azure-storage-common
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.1
4
+ version: 2.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Microsoft Corporation
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-03-10 00:00:00.000000000 Z
11
+ date: 2020-08-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
@@ -38,20 +38,34 @@ dependencies:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
40
  version: 1.0.0.rc1
41
+ - !ruby/object:Gem::Dependency
42
+ name: net-http-persistent
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '4.0'
48
+ type: :runtime
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '4.0'
41
55
  - !ruby/object:Gem::Dependency
42
56
  name: nokogiri
43
57
  requirement: !ruby/object:Gem::Requirement
44
58
  requirements:
45
59
  - - "~>"
46
60
  - !ruby/object:Gem::Version
47
- version: 1.10.4
61
+ version: 1.11.0.rc2
48
62
  type: :runtime
49
63
  prerelease: false
50
64
  version_requirements: !ruby/object:Gem::Requirement
51
65
  requirements:
52
66
  - - "~>"
53
67
  - !ruby/object:Gem::Version
54
- version: 1.10.4
68
+ version: 1.11.0.rc2
55
69
  - !ruby/object:Gem::Dependency
56
70
  name: dotenv
57
71
  requirement: !ruby/object:Gem::Requirement