spitball 0.8.1 → 0.8.2

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
  SHA1:
3
- metadata.gz: 2345cee5f5ecd06c78fe5be3a6e3a36cabeb9137
4
- data.tar.gz: 2541b8df75e52d080e74148dc9427f8f3d52feac
3
+ metadata.gz: 0cdbd4334e95c396b4992ea3e168bc59259c9516
4
+ data.tar.gz: 37be57ebcc1a30f2ff876b13492e850b7d15d714
5
5
  SHA512:
6
- metadata.gz: 17f5b06496261b19dc266f3361a47b9352b4ec41d6876e0cdeb8247472c29fc986ebe5a3aad470085d6cae88d1a4dc1f7164840e5832d2166373ac6fd97d576f
7
- data.tar.gz: c90f8aca684bf93f39b9c094c92dd1c94d3afbecabac99cb1ae64aaa5cfd66caf8bada7aacadd4981b6d5ccfd684665daa7c3896ae9dfd6e8ee7eb794051f9a8
6
+ metadata.gz: 622648b28e1154f4d4a9ca821ab8bc5c77d6e7f01d85ffe6c643f2c99779358aa1c5c2226392318a49c92512aa257c079af0e42cd025eb7b6e2d74b8c1a17059
7
+ data.tar.gz: 47e122285108f9083946e4a7ee309c90f8fa4212cdb18fc5e93d7a159a8039d7d709f4d31cfc66fd143351b81fb16256d2e929f3701cecaa0678e19b97f892a6
@@ -169,7 +169,7 @@ class Spitball
169
169
  sort.
170
170
  map{|s| %w{gemcutter rubygems rubyforge}.include?(s) ? "http://rubygems.org" : s}).
171
171
  map{|s| "--source #{s}"}.
172
- map{|s| "#{"--clear-sources " if SemVer.parse(Gem::VERSION) >= SemVer.parse('1.4.0') }#{s}"}.
172
+ map{|s| "#{"--clear-sources " if SemVer.parse(Gem::VERSION.split('.')[0..2].join('.')) >= SemVer.parse('1.4.0') }#{s}"}.
173
173
  join(' ')
174
174
  end
175
175
 
@@ -1,3 +1,3 @@
1
1
  class Spitball
2
- VERSION = '0.8.1' unless const_defined?(:VERSION)
2
+ VERSION = '0.8.2' unless const_defined?(:VERSION)
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: spitball
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.1
4
+ version: 0.8.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matt Freels
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2015-08-05 00:00:00.000000000 Z
13
+ date: 2015-09-18 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: sem_ver