configure_semian 0.1.6 → 0.1.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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: 2d49456bfca41b9566263d64e100be03780a1cfc
|
|
4
|
+
data.tar.gz: 2f768a45d58c12dc7f7280193e49b06983bd7fb4
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 5ece1cf91ef0e04c2924e9c003b1710f863b6746dbaaa111b911eab3c5f55e22896d285d1af2f41b6bf856bb45de16697525bec2fcaff2474f44eefe4963c1bf
|
|
7
|
+
data.tar.gz: 3f51feefd5aeeef7cf0f3ca70fcfc97126f4bdd73ebe5551de1a0146861d0161b41b195b30a55dcac1ff90aaf7c8322763121b1b068da2a876a1f2d96faa956b
|
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 && self.read_timeout < timeout) ? self.read_timeout : timeout
|
|
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.7
|
|
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-04-05 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rails
|