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 +4 -4
- data/lib/spitball.rb +1 -1
- data/lib/spitball/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0cdbd4334e95c396b4992ea3e168bc59259c9516
|
4
|
+
data.tar.gz: 37be57ebcc1a30f2ff876b13492e850b7d15d714
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 622648b28e1154f4d4a9ca821ab8bc5c77d6e7f01d85ffe6c643f2c99779358aa1c5c2226392318a49c92512aa257c079af0e42cd025eb7b6e2d74b8c1a17059
|
7
|
+
data.tar.gz: 47e122285108f9083946e4a7ee309c90f8fa4212cdb18fc5e93d7a159a8039d7d709f4d31cfc66fd143351b81fb16256d2e929f3701cecaa0678e19b97f892a6
|
data/lib/spitball.rb
CHANGED
@@ -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
|
|
data/lib/spitball/version.rb
CHANGED
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.
|
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-
|
13
|
+
date: 2015-09-18 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: sem_ver
|