Sha256: dae7732f4ce0f33955a2fa386d942b78fd029f80291578f98ff35eb75d255dbf
Contents?: true
Size: 468 Bytes
Versions: 3
Compression:
Stored size: 468 Bytes
Contents
#!/usr/bin/env ruby # coding: utf-8 $:.unshift File.join(File.dirname(__FILE__), *%w[.. lib]) require 'status' require 'optparse' OptionParser.new do |o| o.on("-s STATE", "--state", "Status of QA (default pending) [pending/pass]") {|s| $state = s } o.on("-b BRANCH", "--branch BRANCH", "Branch name") {|b| $branch = b } o.on("-h", "--help", "Display this screen") {puts o; exit } o.parse! end Status::Base.new({:state => $state, :branch => $branch}).update
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
update_status-0.2.2 | bin/status |
update_status-0.2.1 | bin/status |
update_status-0.2.0 | bin/status |