determinator 2.8.0 → 2.9.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/lib/determinator/control.rb +3 -1
- data/lib/determinator/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f7c5b0103e26f752c64d792674d30d854f7265f2a48ad3d546e4f2a758bb811a
|
4
|
+
data.tar.gz: 99f0c278fd6b91fb1f20fcced167dcd8b70020b78d80be9803bc88ecdadfc7ae
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ed644f22e58a4d761eae0cff9d8f14b5ab257fd962d2d3bd5734679b38b5ba12d7dee61632710dbd0b116c0dd846ca2952b12ad0184252f8789b74a8fc62847b
|
7
|
+
data.tar.gz: 78fd4b1d2de15e59fe1f417dc2703b37e643d8a08af493bcd1c4c51208493eab2fba82ab37b8b60af420b9d22e6402f4b570291a4d437d51172496ffd1e59e97
|
data/CHANGELOG.md
CHANGED
data/lib/determinator/control.rb
CHANGED
@@ -241,7 +241,9 @@ module Determinator
|
|
241
241
|
!v.match?(Semantic::Version::SemVerRegexp)
|
242
242
|
end
|
243
243
|
invalid_groups = required.flatten.select do |v|
|
244
|
-
|
244
|
+
version_sections = v.split(/(\d(.+)?)/, 2)
|
245
|
+
without_operator = version_sections[1]&.strip || ''
|
246
|
+
!without_operator.match?(Semantic::Version::SemVerRegexp)
|
245
247
|
end
|
246
248
|
|
247
249
|
return false if (invalid_properties + invalid_groups).any?
|
data/lib/determinator/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: determinator
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.9.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- JP Hastings-Spital
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-01-
|
11
|
+
date: 2022-01-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|