homura-runtime 0.2.14 → 0.2.15
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/lib/cloudflare_workers/version.rb +1 -1
- data/lib/opal_patches.rb +6 -4
- 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: 694836eb27a5ada6280795e386907320274633bcc5d1c6c06c923946d6f25d4a
|
|
4
|
+
data.tar.gz: bfdf7f444a17af66deff9ebe693c1251c1a8215b0dc48bde5fd050afc0c21c7b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: a9137328c2e78d8fd8911cf704f3fd2431d193a5ef798aa5f54eb8d8d10a9d40647df0eafcd53d26903ad6fbca18ddb27fc2ad14df44514aa5d29e8541da1e1b
|
|
7
|
+
data.tar.gz: 1ae649dca3329e6ba13d2690a989842388702d0ee2b8788ca4bcd38fdbc69e141a0dd62f0f3cc73d4141973a7945170d572a674d30b6d2b75efa00e351642c08
|
data/lib/opal_patches.rb
CHANGED
|
@@ -456,10 +456,12 @@ module ::SecureRandom
|
|
|
456
456
|
padding ? s : s.delete('=')
|
|
457
457
|
end
|
|
458
458
|
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
459
|
+
# NOTE: `SecureRandom.random_number` is provided by `Random::Formatter`
|
|
460
|
+
# (extended into `SecureRandom` by stdlib/securerandom.rb). Defining a
|
|
461
|
+
# `self.random_number` stub here used to shadow that real implementation
|
|
462
|
+
# and pin the result to `0`, which silently broke any caller that did
|
|
463
|
+
# the canonical `format('%06d', SecureRandom.random_number(1_000_000))`.
|
|
464
|
+
# Leave the formatter implementation alone; do NOT redefine here.
|
|
463
465
|
|
|
464
466
|
# Returns a hex string of `n` random bytes, or nil when no entropy
|
|
465
467
|
# source is available. Tries node:crypto.randomBytes first (works
|