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



2
3
4
5
6
# File 'lib/publish.rb', line 2

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