configure_semian 0.1.6 → 0.1.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/configure_semian/net_http.rb +4 -1
- data/lib/configure_semian/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 56247f82aa90eaca6f3ca0e1649d74be7d8606c4
|
4
|
+
data.tar.gz: 02a6429116226a7f23123cf3bf306db18a6341f2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d038a5669013eda61c46088088d7442e8eb18dff951480aba0f9401023b9bfc3232d78dcdf42f596cdfbf0859f0e4387093b149eae9fed76bc0d019c1e951cf8
|
7
|
+
data.tar.gz: 39577cdf147512b3b6e7c7c7377b052f5c49c40e01e004d9aabdb05bb0315e69596c4892a1c708f661268a73f739b80c748bf5cb05548cc0efdd1cbbcd3fd7cb
|
data/Gemfile.lock
CHANGED
@@ -22,7 +22,10 @@ module Net
|
|
22
22
|
end
|
23
23
|
specs ||= ConfigureSemian::SemianConfiguration.service_configs[:default] || {}
|
24
24
|
timeout = specs[:timeout] || specs['timeout']
|
25
|
-
|
25
|
+
|
26
|
+
# Give preference to original read_timeout if custom timeout is more than the original
|
27
|
+
# It is helpful in case of different libraries using lower timeouts
|
28
|
+
return [self.read_timeout, timeout].compact.min
|
26
29
|
end
|
27
30
|
|
28
31
|
private
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: configure_semian
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- supantha
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-05-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|