relaton-iana 1.14.0 → 1.14.1

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: a9fa046f24a4997ea2ea0b7d4e5b5ae7c19393ef915776cc1e250112920e65fc
4
- data.tar.gz: f03595906501b1b7e24dc5e993e63d06a600584e5944126738e1d2f9088551ae
3
+ metadata.gz: b32501a7b2b388b0d50c63b33cfd73b070c0e505b123a99d5370be888958224e
4
+ data.tar.gz: 4b82cbd93a58fe7450a53d09a2d991998c7e2496126c84e722070e5eb5658679
5
5
  SHA512:
6
- metadata.gz: 5db184297758c4d09b76979bbe1ba281ad630a261b884ffd50a9adf66f7cd29004270f0d1ee6b38e5360906c112023907825489f7d7ae52924c37a6bba957721
7
- data.tar.gz: c8f99fd5e3795d9bc41bf248e4e302ac739c1646fd0abc634fb09943dcf00fa507c8c398f4d12243c5dd4510404e06c8186182f4addcd37f849287d1da3c0714
6
+ metadata.gz: ac39b40b363f111b1fc2d6f44f7251e6ac8e7acbdd6e7c5fe19c1eb50a489630ac78450e953dfea1f2aebac4bb688a16fe8f3a2231ea164339d7cf5bcc3c6cf6
7
+ data.tar.gz: 067114fa401cb20cf9f7abe59537723d30c597fd680d616fb22341b65596ad2cf31a526768f0ac8a1bc4955837b28ce4484d5c76f391fefdbfb6e5506270bfc9
@@ -51,6 +51,7 @@ module RelatonIana
51
51
  if attempt.positive?
52
52
  t = resp.headers["x-ratelimit-reset"].to_i - Time.now.to_i
53
53
  if t.positive?
54
+ t += 30
54
55
  warn "Rate limit is reached. Retrying in #{t} sec."
55
56
  sleep t
56
57
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module RelatonIana
4
- VERSION = "1.14.0"
4
+ VERSION = "1.14.1"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: relaton-iana
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.14.0
4
+ version: 1.14.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ribose Inc.
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-12-03 00:00:00.000000000 Z
11
+ date: 2022-12-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: equivalent-xml