configure_semian 0.1.7 → 0.1.8

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
  SHA1:
3
- metadata.gz: 2d49456bfca41b9566263d64e100be03780a1cfc
4
- data.tar.gz: 2f768a45d58c12dc7f7280193e49b06983bd7fb4
3
+ metadata.gz: 56247f82aa90eaca6f3ca0e1649d74be7d8606c4
4
+ data.tar.gz: 02a6429116226a7f23123cf3bf306db18a6341f2
5
5
  SHA512:
6
- metadata.gz: 5ece1cf91ef0e04c2924e9c003b1710f863b6746dbaaa111b911eab3c5f55e22896d285d1af2f41b6bf856bb45de16697525bec2fcaff2474f44eefe4963c1bf
7
- data.tar.gz: 3f51feefd5aeeef7cf0f3ca70fcfc97126f4bdd73ebe5551de1a0146861d0161b41b195b30a55dcac1ff90aaf7c8322763121b1b068da2a876a1f2d96faa956b
6
+ metadata.gz: d038a5669013eda61c46088088d7442e8eb18dff951480aba0f9401023b9bfc3232d78dcdf42f596cdfbf0859f0e4387093b149eae9fed76bc0d019c1e951cf8
7
+ data.tar.gz: 39577cdf147512b3b6e7c7c7377b052f5c49c40e01e004d9aabdb05bb0315e69596c4892a1c708f661268a73f739b80c748bf5cb05548cc0efdd1cbbcd3fd7cb
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- configure_semian (0.1.7)
4
+ configure_semian (0.1.8)
5
5
  rails (>= 4.0.2, <= 5.2.0)
6
6
  semian
7
7
 
@@ -25,7 +25,7 @@ module Net
25
25
 
26
26
  # Give preference to original read_timeout if custom timeout is more than the original
27
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
28
+ return [self.read_timeout, timeout].compact.min
29
29
  end
30
30
 
31
31
  private
@@ -1,3 +1,3 @@
1
1
  module ConfigureSemian
2
- VERSION = "0.1.7"
2
+ VERSION = "0.1.8"
3
3
  end
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.7
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: 2023-04-05 00:00:00.000000000 Z
11
+ date: 2023-05-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails