semver_dialects 3.4.1 → 3.4.2
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/semver_dialects/maven.rb +5 -1
- data/lib/semver_dialects/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: 710e6a3a8fe698a7871ead1a3226d6a60d5edd17a0308933cd32107d79811605
|
|
4
|
+
data.tar.gz: 46598d990561c189be8022b5edb3cffd96ba8d16ce83380da64f76fb35576295
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ba99632bcf1df6b5e16b66c2f83800594df1a296605bca5b04fb2854856f6ad76bda1c6b43f2e5589f3b10b47542bbf3b9b59c3bd8a44c9b64c009622117c945
|
|
7
|
+
data.tar.gz: ee15977caaa5cd9ba22e752892795c9e2648b615c6deca5fc4b732b40ed655ad892a465d079dc6423cf4a7cc9715f4a648f2be1bf783b5670723437e66422a76
|
|
@@ -168,7 +168,11 @@ module SemverDialects
|
|
|
168
168
|
elsif (s = scanner.scan('sp'))
|
|
169
169
|
parse_addition(SP)
|
|
170
170
|
|
|
171
|
-
|
|
171
|
+
# The `+` character is allowed per the official Maven version parser,
|
|
172
|
+
# so it's also parsed as an addition.
|
|
173
|
+
#
|
|
174
|
+
# See for more info https://gitlab.com/gitlab-org/gitlab/-/issues/466158
|
|
175
|
+
elsif (s = scanner.scan(/[a-z_+]+/))
|
|
172
176
|
parse_addition(s)
|
|
173
177
|
|
|
174
178
|
elsif (s = scanner.scan('.'))
|