Sha256: 1e03ae79cbe7aa2756f8aa4b104bd773db3982409a54b8e52b4d265d66e5e5fa
Contents?: true
Size: 282 Bytes
Versions: 2
Compression:
Stored size: 282 Bytes
Contents
require_relative('internet.rb') class Publish < Array def update if(Internet.available? && `git branch`.include?('* master')) Dir.glob('*.gemspec').each{|gemspec_file| add "gem push #{Gemspec.gemfile(gemspec_file)}" if !Gemspec.published? gemspec_file } end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
dev_commands-0.0.35 | lib/publish.rb |
dev_commands-0.0.34 | lib/publish.rb |