semver_dialects 3.4.0 → 3.4.1
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/interval_parser.rb +1 -1
- data/lib/semver_dialects/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: f05d7eb6df3aa024a5f02ddf7adbb3b764cb42cd12e340344e10ef4aab480421
|
|
4
|
+
data.tar.gz: 94b62257b3877b71ab8690c2bd7ebd7e5cabceb3876c2d41bd5547db4f3f0f82
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 6304db41bbfb8fbddbe80cf89a5e4052f237dcf23387a6f7059e64bf9f97f7aaf34f278c58a3b0d9a3d7662ff06651244e4288e80fbe10ddb3dc4a34ab57f002
|
|
7
|
+
data.tar.gz: 5d11667814ede20c14af2dd74b8bcfc7c294c757e5d588dfb51b4bc57af7595c23fd13b182b30cd994401b0cedfc819755ab1cecb7b40f2ddfbbc7764381dab8
|
|
@@ -18,7 +18,7 @@ module SemverDialects
|
|
|
18
18
|
module IntervalParser
|
|
19
19
|
# A constraint is made of an operator followed by a version string.
|
|
20
20
|
# Use the regular expression of the SemanticVersion because this is the most generic one.
|
|
21
|
-
CONSTRAINT_REGEXP = Regexp.new(
|
|
21
|
+
CONSTRAINT_REGEXP = Regexp.new('(?<op>[><=]+)\s*(?<version>[^\s]+)').freeze
|
|
22
22
|
|
|
23
23
|
def self.parse(typ, versionstring)
|
|
24
24
|
if versionstring == '=*'
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: semver_dialects
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 3.4.
|
|
4
|
+
version: 3.4.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Julian Thome
|
|
@@ -10,7 +10,7 @@ authors:
|
|
|
10
10
|
autorequire:
|
|
11
11
|
bindir: exe
|
|
12
12
|
cert_chain: []
|
|
13
|
-
date: 2024-
|
|
13
|
+
date: 2024-08-01 00:00:00.000000000 Z
|
|
14
14
|
dependencies:
|
|
15
15
|
- !ruby/object:Gem::Dependency
|
|
16
16
|
name: pastel
|