runcoderun-gem_sync 0.3.5 → 0.3.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. data/gem_sync.gemspec +1 -1
  2. data/lib/rcr/gem_sync.rb +6 -1
  3. metadata +1 -1
data/gem_sync.gemspec CHANGED
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = %q{gem_sync}
3
- s.version = "0.3.5"
3
+ s.version = "0.3.6"
4
4
 
5
5
  s.required_rubygems_version = Gem::Requirement.new("= 1.2") if s.respond_to? :required_rubygems_version=
6
6
  s.authors = ["Rob Sanheim @ Relevance"]
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'
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
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: runcoderun-gem_sync
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.5
4
+ version: 0.3.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rob Sanheim @ Relevance