runcoderun-gem_sync 0.5.3 → 0.5.3.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 +4 -2
- data/lib/runcoderun_gems.txt +1 -0
- 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.3'
|
6
|
+
VERSION = '0.5.3.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"
|
@@ -22,7 +22,9 @@ module Rcr
|
|
22
22
|
def self.uninstall_bad_gems(gem_list)
|
23
23
|
return unless gem_list == "__from_github__"
|
24
24
|
convert_gem_list(RCR_GITHUB_GEM_BLACKLIST).each do |rubygem|
|
25
|
-
|
25
|
+
cmd = "gem uninstall -a -x #{rubygem.name}"
|
26
|
+
puts cmd
|
27
|
+
`#{cmd}`
|
26
28
|
end
|
27
29
|
end
|
28
30
|
|
data/lib/runcoderun_gems.txt
CHANGED