semantic_range 2.2.1 → 2.3.0

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
- SHA1:
3
- metadata.gz: f7828b3b9e2f7a214f356c3c4cfba863ea53cfd3
4
- data.tar.gz: 887a25f63739bc45950dd6fb2cff74886c410a2b
2
+ SHA256:
3
+ metadata.gz: 9cf96e8a93fa68ef70a6946c7267f458d321e051d801142f7395824049e87a17
4
+ data.tar.gz: 89584c12d73af730add2285d4e623a003d8220a49b2ef9810ac2d1de4de93bf6
5
5
  SHA512:
6
- metadata.gz: adda75ae1587a5bf115d6f7e4c6bf78a57a2847a683888f0cfbfd68740a682c439779765cae5f2ebc19b5b3b2cb772f1d0fc4c4b9ae6dce238b2f51cc13d9492
7
- data.tar.gz: bab9a079d2aaa4a447d500b859be088217bc6b7ed58e40b37a8c1f78d5a5790791650d955ed4de8091e897a498059b876968961b6165c852f003c2f9e8aa3939
6
+ metadata.gz: 5c120a084d9f167893122498a1dcb5255a3bf76a867c9ea217821eaa7af2d7e70b87e898515e1cf1a8696ff5bd2fc89649ef1775ecb995c21705fb3c63320097
7
+ data.tar.gz: a123aab622e6c228c20ffa0e242b0c0b58decca8763466b2968c29c7e1bbe425ced18c3d4ff4fe736e9131f1c613780d040b711d971ec74f67d1c3a9aa7c888b
@@ -0,0 +1 @@
1
+ 2.6.2
@@ -1,6 +1,6 @@
1
1
  language: ruby
2
2
  rvm:
3
- - 2.3.3
3
+ - 2.6.2
4
4
  before_install: gem install bundler -v 1.13.6
5
5
  cache: bundler
6
6
  sudo: false
@@ -64,6 +64,9 @@ module SemanticRange
64
64
  # caret trim
65
65
  range = range.gsub(CARETTRIM, '\1^')
66
66
 
67
+ # comma trim
68
+ range = range.gsub(',', ' ')
69
+
67
70
  # normalise spaces
68
71
  range = range.split(/\s+/).join(' ')
69
72
 
@@ -1,5 +1,5 @@
1
1
  module SemanticRange
2
- VERSION = "2.2.1"
2
+ VERSION = "2.3.0"
3
3
 
4
4
  class Version
5
5
  attr_reader :major, :minor, :patch, :prerelease
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: semantic_range
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.2.1
4
+ version: 2.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrew Nesbitt
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-05-09 00:00:00.000000000 Z
11
+ date: 2020-02-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -65,6 +65,7 @@ files:
65
65
  - ".github/SUPPORT.md"
66
66
  - ".gitignore"
67
67
  - ".rspec"
68
+ - ".ruby-version"
68
69
  - ".travis.yml"
69
70
  - CODE_OF_CONDUCT.md
70
71
  - Gemfile
@@ -99,8 +100,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
99
100
  - !ruby/object:Gem::Version
100
101
  version: '0'
101
102
  requirements: []
102
- rubyforge_project:
103
- rubygems_version: 2.6.13
103
+ rubygems_version: 3.0.3
104
104
  signing_key:
105
105
  specification_version: 4
106
106
  summary: node-semver rewritten in ruby, for comparison and inclusion of semantic versions