Sha256: 5a1eaed574ccf94d11a2359e00dfb6449d564ef89412f2d4ef2af9c58fcc8d96

Contents?: true

Size: 255 Bytes

Versions: 1

Compression:

Stored size: 255 Bytes

Contents

require_relative('internet.rb')
class Publish < Array
	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
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
dev_commands-0.0.31 lib/publish.rb