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 +4 -4
- data/README.md +1 -1
- data/lib/internetdata/transport.rb +3 -2
- data/lib/internetdata/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: b0708d6fdf3bef022159596ad8724e5ff79095a7d38c61a0db537192bed295db
|
|
4
|
+
data.tar.gz: b517ad130576ab173e338c38af500a22f2f8ac35e464e91d66dbc43b6a85d4d3
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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
|
-
|
|
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`,
|
|
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})
|
|
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
|
|
data/lib/internetdata/version.rb
CHANGED