goodcheck 3.0.1 → 3.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: 9ccb42f8ae06c1c3f78fc6361de1e3074a3ea1ebf8ec1fc6216d4f076531e4fe
4
- data.tar.gz: f46bde84176b92dffa679e50536221f52d1efe54a2bf6a583533a14fd8404bfb
3
+ metadata.gz: a0c8afdfe31520eabbb82eeaa32910c656e6447d4f3e13dcfd0ff6f09eb9854c
4
+ data.tar.gz: 361efc3d3596749d09d1c6abca0bea722e1523f55b6d0a01c9750b7a7b2608e3
5
5
  SHA512:
6
- metadata.gz: 717e2a137f03c9b436e7ef9f88ad6c5f9d8ec33989a929cb69e327aabf09e83fdfe1565607c669928d7e3b3306cde434ab59c64ff741840c840263980856d8cd
7
- data.tar.gz: c7041cb4c9d9c4b1926776a98a8c55ec59496169fdeedd8ac4277c37950d579cdb6cfa50cc9dd6215c31baa2c85cd3b9a513495ec2f82dc705696a05ef13af4b
6
+ metadata.gz: 51d137db095bc967e0bd2add64b94fccb2d3684bff282dd4f32efd749d39f52669a3e8b7acd58fbf428c83ef274130607a6a457a94415ce8bb58e4213d79d121
7
+ data.tar.gz: de13aa4b155e7fe583f48a49da717c80455132d8dde0691fd9ca2cf075d84c2edb6b228cb9aa8ce3eb7afc2b726e5d93e6a448fb7f7fec36255f84e02a07c832
data/CHANGELOG.md CHANGED
@@ -2,6 +2,10 @@
2
2
 
3
3
  ## HEAD
4
4
 
5
+ ## 3.0.2 (2021-06-23)
6
+
7
+ * Retry importing on Net::OpenTimeout [#202](https://github.com/sider/goodcheck/pull/202)
8
+
5
9
  ## 3.0.1 (2021-06-14)
6
10
 
7
11
  * Retry HTTP GET request on importing rules [#197](https://github.com/sider/goodcheck/pull/197)
@@ -148,7 +148,7 @@ module Goodcheck
148
148
  else
149
149
  raise HTTPGetError.new(res)
150
150
  end
151
- rescue HTTPGetError => exn
151
+ rescue Net::OpenTimeout, HTTPGetError => exn
152
152
  if retry_count < max_retry_count && exn.error_response?
153
153
  retry_count += 1
154
154
  Goodcheck.logger.info "#{retry_count} retry HTTP GET #{exn.response.uri} due to '#{exn.response.code} #{exn.response.message}'..."
@@ -1,3 +1,3 @@
1
1
  module Goodcheck
2
- VERSION = "3.0.1".freeze
2
+ VERSION = "3.0.2".freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: goodcheck
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.1
4
+ version: 3.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sider Corporation
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-06-14 00:00:00.000000000 Z
11
+ date: 2021-06-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler