Class: Publish
Instance Method Summary collapse
Methods inherited from Array
Instance Method Details
#update ⇒ Object
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 |