runcoderun-gem_sync 0.3.5 → 0.3.6
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 +6 -1
- metadata +1 -1
data/gem_sync.gemspec
CHANGED
data/lib/rcr/gem_sync.rb
CHANGED
@@ -2,15 +2,20 @@ require 'ostruct'
|
|
2
2
|
|
3
3
|
module Rcr
|
4
4
|
class GemSync
|
5
|
-
VERSION = '0.3.
|
5
|
+
VERSION = '0.3.6'
|
6
6
|
GITHUB = "http://gems.github.com"
|
7
7
|
RCR_GEM_LIST = File.expand_path(File.join(File.dirname(__FILE__), *%w[.. runcoderun_gems.txt]))
|
8
8
|
|
9
9
|
def self.install_gems
|
10
|
+
update_self
|
10
11
|
install_gems_from_txt
|
11
12
|
update_gems
|
12
13
|
end
|
13
14
|
|
15
|
+
def self.update_self
|
16
|
+
puts `gem update runcoderun-gem_sync --source #{GITHUB}`
|
17
|
+
end
|
18
|
+
|
14
19
|
def self.update_gems
|
15
20
|
puts `gem update`
|
16
21
|
end
|