urbanairship 10.0.2 → 10.0.3
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/.github/PULL_REQUEST_TEMPLATE.md +2 -2
- data/.github/workflows/ci.yaml +1 -1
- data/.github/workflows/release.yaml +1 -1
- data/CHANGELOG +5 -0
- data/README.rst +2 -2
- data/lib/urbanairship/custom_events/payload.rb +1 -1
- data/lib/urbanairship/push/audience.rb +5 -2
- data/lib/urbanairship/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: d761534806908577acf807f6be5526c2ca79cfacc274c078de65327d36a1621d
|
|
4
|
+
data.tar.gz: 5379e02eb5b3b043dcdb2d7c576352ab7fb8c166e41b708c843d15b9f44c9cf9
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 63fe618fc69d71d2574c8d367796933028d419ea843a08054cc6a961df6689ead9e0f5fd153893cfa31f8bc7f67424ed2bfab6510f2f2048b132a5280912e61f
|
|
7
|
+
data.tar.gz: 9a5ac11d38eb21558cf6bdfe03080218800c56718ec28aed25a6d2d1f36ca1185aa69abf8c701d971afa54e5b3ef03dd604a12da88787bbb7ea77d0a0d00e31e
|
|
@@ -15,8 +15,8 @@ Please include link to open issue if applicable.
|
|
|
15
15
|
|
|
16
16
|
* I've tested for Ruby versions:
|
|
17
17
|
|
|
18
|
-
- [ ] 3.3
|
|
19
|
-
- [ ] 3.4
|
|
18
|
+
- [ ] 3.3
|
|
19
|
+
- [ ] 3.4
|
|
20
20
|
|
|
21
21
|
### Airship Contribution Agreement
|
|
22
22
|
[Link here](https://docs.google.com/forms/d/e/1FAIpQLScErfiz-fXSPpVZ9r8Di2Tr2xDFxt5MgzUel0__9vqUgvko7Q/viewform)
|
data/.github/workflows/ci.yaml
CHANGED
data/CHANGELOG
CHANGED
|
@@ -1,3 +1,8 @@
|
|
|
1
|
+
## 10.0.3
|
|
2
|
+
|
|
3
|
+
- Fixes UUID, device token, and custom event name validation to reject multi-line strings, closing a path to CVE-2026-132825 on unpatched Ruby versions
|
|
4
|
+
- Updates tested Ruby versions to the latest 3.3 and 3.4 patch releases
|
|
5
|
+
|
|
1
6
|
## 10.0.2
|
|
2
7
|
|
|
3
8
|
- Updates JWT dependency to < 4.0
|
data/README.rst
CHANGED
|
@@ -6,8 +6,11 @@ module Urbanairship
|
|
|
6
6
|
module Push
|
|
7
7
|
module Audience
|
|
8
8
|
include Urbanairship::Common
|
|
9
|
-
|
|
10
|
-
|
|
9
|
+
# \A and \Z anchor the whole string; ^ and $ match per line, which let
|
|
10
|
+
# multi-line input past validation. \Z still tolerates one trailing
|
|
11
|
+
# newline, which the callers strip.
|
|
12
|
+
UUID_PATTERN = /\A\h{8}-\h{4}-\h{4}-\h{4}-\h{12}\Z/
|
|
13
|
+
DEVICE_TOKEN_PATTERN = /\A\h{64}\Z/
|
|
11
14
|
DATE_TERMS = %i(minutes hours days weeks months years)
|
|
12
15
|
|
|
13
16
|
|
data/lib/urbanairship/version.rb
CHANGED