runcoderun-gem_sync 0.5.4 → 0.5.4.1
Sign up to get free protection for your applications and to get access to all the features.
- data/gem_sync.gemspec +1 -1
- data/lib/rcr/gem_sync.rb +2 -2
- metadata +1 -1
data/gem_sync.gemspec
CHANGED
data/lib/rcr/gem_sync.rb
CHANGED
@@ -3,7 +3,7 @@ require 'open-uri'
|
|
3
3
|
|
4
4
|
module Rcr
|
5
5
|
class GemSync
|
6
|
-
VERSION = '0.5.4'
|
6
|
+
VERSION = '0.5.4.1'
|
7
7
|
GITHUB = "http://gems.github.com"
|
8
8
|
RCR_DEFAULT_GEM_LIST = File.expand_path(File.join(File.dirname(__FILE__), *%w[.. runcoderun_gems.txt]))
|
9
9
|
RCR_GITHUB_GEM_LIST = "http://github.com/runcoderun/gem_sync/raw/master/lib/runcoderun_gems.txt"
|
@@ -24,7 +24,7 @@ module Rcr
|
|
24
24
|
puts "Uninstalling any gems on the blacklist..."
|
25
25
|
blacklist = open(RCR_GITHUB_GEM_BLACKLIST).read
|
26
26
|
convert_gem_list(blacklist).each do |rubygem|
|
27
|
-
cmd = "gem uninstall -I -a -x
|
27
|
+
cmd = "gem uninstall #{rubygem.name} -I -a -x"
|
28
28
|
cmd << " --version '#{rubygem.version}'" if rubygem.version
|
29
29
|
puts cmd
|
30
30
|
`#{cmd}`
|