Class: Publish

Inherits:
Array show all
Defined in:
lib/publish.rb

Instance Method Summary collapse

Methods inherited from Array

#add, #execute, #to_html

Instance Method Details

#updateObject



3
4
5
6
7
8
9
# File 'lib/publish.rb', line 3

def update
	if(Internet.available?)
		Dir.glob('*.gemspec').each{|gemspec_file|
			add "gem push #{Gemspec.gemfile(gemspec_file)}" if !Gemspec.published? gemspec_file
		}
	end
end