internetdata 2.8.4 → 2.8.5

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b1201aae6e9b3b660aebec9dca3ac9ce92fc708b917f53247254fb2b1f4d2a7a
4
- data.tar.gz: 8d6e23b3ee8ee61b78ef947a4ac3c34940c511d916a66a5b1264cee7fd507e83
3
+ metadata.gz: b0708d6fdf3bef022159596ad8724e5ff79095a7d38c61a0db537192bed295db
4
+ data.tar.gz: b517ad130576ab173e338c38af500a22f2f8ac35e464e91d66dbc43b6a85d4d3
5
5
  SHA512:
6
- metadata.gz: 3569b4ee80466547aef9c6608d724ee47113d428b0396e59a6db1dada5f3fea827c2af2ec1c5a73e0a156bc67b737518fa5bbf38cc2c3386e5eeb18e8d251123
7
- data.tar.gz: 7d3b5df4695bfe420527e1d3e9926d5f5e66343a34463cae7c2b38e480942e73e95940cd66ada729967b408fda8d12dadc904b85394a63f5d0e220cf16cfa27e
6
+ metadata.gz: eacf0044ca61529afe45265106e756fe2b1c29a7a1d941f47b939b52442c7f905400f183dfb345ee0808c5bb8a2dad4e03b587de8ec00c5f6a0824411425cec0
7
+ data.tar.gz: d8a60d131b2511687df48c5f7586c8fec08ca79091401b004c73c6109b465492c8e4e990cf44c0630de411cb8aaafa65da942c05f56a9d6fa3637b317ebf7d8d
data/README.md CHANGED
@@ -118,7 +118,7 @@ end
118
118
 
119
119
  `kind` is one of `:bad_request`, `:unauthorized`, `:forbidden`, `:rate_limited`, `:quota_exceeded`, `:server_error` or `:network`. `rc` is the API's own result code, such as `NOT_LICENSED` or `LICENSE_EXPIRED`, which is usually the specific thing you want to read.
120
120
 
121
- Note that `:rate_limited` and `:quota_exceeded` both arrive as HTTP 429 and are not the same thing. A rate limit is the API facing a burst, so retrying later works; a spent quota needs your allowance raised or the window to roll over. The library retries the first for you and never the second. It waits the `Retry-After` the API sent, or its own backoff from 250 ms when that's past about 24.8 days.
121
+ `:rate_limited` is a 429 that carries `Retry-After`, and the library retries it for you, waiting as long as it says, or its own backoff from 250 ms when that's past about 24.8 days. `:quota_exceeded` is a 429 without one, which it never retries. InternetData's database API has no quota, so you won't see `:quota_exceeded` from it.
122
122
 
123
123
  ### Sign in with OAuth (device flow)
124
124
 
@@ -216,12 +216,13 @@ module InternetData
216
216
  }.freeze
217
217
 
218
218
  # RFC 3339's full-date, the spec's `date`, and its date-time, the spec's
219
- # `date-time`, in the upper case the API sends. Anything else reached the
219
+ # `date-time`, its `T` and `Z` in either case, as RFC 3339 allows: through
220
+ # 2.8.4 a lowercase one failed the call. Anything else reached the
220
221
  # generated reader's Date.parse or Time.parse, which read "monday" as this
221
222
  # week's, "10:00" as today in the process's zone and 30 February as 2 March
222
223
  # (2.8.2, measured 2026-10-20).
223
224
  RFC3339_DATE = /\A(\d{4})-(\d{2})-(\d{2})\z/
224
- RFC3339_DATE_TIME = /\A(\d{4})-(\d{2})-(\d{2})T(\d{2}):(\d{2}):(\d{2})(?:\.\d+)?(?:Z|[+-](\d{2}):(\d{2}))\z/
225
+ RFC3339_DATE_TIME = /\A(\d{4})-(\d{2})-(\d{2})[Tt](\d{2}):(\d{2}):(\d{2})(?:\.\d+)?(?:[Zz]|[+-](\d{2}):(\d{2}))\z/
225
226
 
226
227
  private
227
228
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module InternetData
4
- VERSION = '2.8.4'
4
+ VERSION = '2.8.5'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: internetdata
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.8.4
4
+ version: 2.8.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mslm Dev