naturalsorter 3.0.25 → 3.0.26
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/naturalsorter/version.rb +1 -1
- data/lib/version_tag_recognizer.rb +6 -6
- 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: 9537d7c543199b95ae71b0481b04018af4dae7df66615a3e9d61ce2b42123e97
|
4
|
+
data.tar.gz: 27a81c712f0993b8a2c60b00b4b6a68af8b87824ba22e2848862a9f7754fbc6f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9913d031d0bb8d381f0edbe3ad16027a4325a2ab3d9b115d16c8247d8b6bf4fb283a0495e2bd94c7912b22e5d5d5e938373e1b022f6e2e61bd5a489768b8dcac
|
7
|
+
data.tar.gz: 9e75702297826a080562a4faefdcd7e255b2444f71bc32693de516575cbf1ee609dda33bb145ab4b805513f55fb8f5264a29ba6d0052f17b3b66f06649f1e653
|
@@ -142,14 +142,14 @@ class VersionTagRecognizer
|
|
142
142
|
|
143
143
|
def self.stable? value
|
144
144
|
return true if value.to_s.empty?
|
145
|
-
return false if value.match(/\Adev-/i) || value.match(/-dev\z/i)
|
145
|
+
return false if value.to_s.match(/\Adev-/i) || value.match(/-dev\z/i)
|
146
146
|
return false if self.preview?( value )
|
147
147
|
|
148
|
-
return true if value.match(/.+RELEASE.*/i)
|
149
|
-
return true if value.match(/.+FINAL.*/i)
|
150
|
-
return true if value.match(/.+SP.*/i)
|
151
|
-
return true if value.match(/.+GA.*/i)
|
152
|
-
return true if value.match(/.*patch.*/i)
|
148
|
+
return true if value.to_s.match(/.+RELEASE.*/i)
|
149
|
+
return true if value.to_s.match(/.+FINAL.*/i)
|
150
|
+
return true if value.to_s.match(/.+SP.*/i)
|
151
|
+
return true if value.to_s.match(/.+GA.*/i)
|
152
|
+
return true if value.to_s.match(/.*patch.*/i)
|
153
153
|
|
154
154
|
!self.alpha?(value) and !self.beta?(value) and
|
155
155
|
!self.dev?(value) and !self.pre?(value) and
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: naturalsorter
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.26
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- reiz
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2020-
|
12
|
+
date: 2020-09-23 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rspec
|