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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 64f9e0f448ccaad8213ca33662905db43571a2056828a249921d155345757708
4
- data.tar.gz: '0086cc8790c43e94cae90191898d0aca9ead6210923f2c1522df103ef6bee4e0'
3
+ metadata.gz: 9537d7c543199b95ae71b0481b04018af4dae7df66615a3e9d61ce2b42123e97
4
+ data.tar.gz: 27a81c712f0993b8a2c60b00b4b6a68af8b87824ba22e2848862a9f7754fbc6f
5
5
  SHA512:
6
- metadata.gz: 41a05b255453f5ea3a4cef24375af6c03a6799a006629b1f18615371c7ab6366c352d0dce639daef65812a293e01ad1a583db5096fc1a1ff0c97f670d490bebc
7
- data.tar.gz: 16f45ea622801d0b38c11138d2b4987eba44260991524593d472cbe72c42335054f5c60b6050d2d21e7493611f3683a58915e8a4f5cb434d1cc4082fb544c94f
6
+ metadata.gz: 9913d031d0bb8d381f0edbe3ad16027a4325a2ab3d9b115d16c8247d8b6bf4fb283a0495e2bd94c7912b22e5d5d5e938373e1b022f6e2e61bd5a489768b8dcac
7
+ data.tar.gz: 9e75702297826a080562a4faefdcd7e255b2444f71bc32693de516575cbf1ee609dda33bb145ab4b805513f55fb8f5264a29ba6d0052f17b3b66f06649f1e653
@@ -1,3 +1,3 @@
1
1
  module Naturalsorter
2
- VERSION = "3.0.25"
2
+ VERSION = "3.0.26"
3
3
  end
@@ -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.25
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-07-09 00:00:00.000000000 Z
12
+ date: 2020-09-23 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rspec