Sha256: 166b2aa265ef5266b5e85bfceadf00bf9907a723e2d03dc5674094f8f0e63cb9
Contents?: true
Size: 543 Bytes
Versions: 5
Compression:
Stored size: 543 Bytes
Contents
#!/usr/bin/env ruby -wKU $LOAD_PATH.unshift File.join(File.dirname(__FILE__), '..', 'lib') require "cruisestatus" unless ARGV.size == 1 $stderr.puts <<-EOS cruisestatus: RSS feed url required. Usage: cruisestatus CRUISE_RB_RSS_URL Reads the feed at CRUISE_RB_RSS_URL and reports if the build[s] passed. Example: cruisestatus http://my.cruiseserver.com/projects.rss EOS exit 1 end status = CruiseStatus.new ARGV.first unless status.pass? abort "FAIL: #{status.failures.join( ', ' )}" else puts "OK" exit 0 end
Version data entries
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
cruisestatus-1.1.6 | bin/cruisestatus |
cruisestatus-1.1.5 | bin/cruisestatus |
cruisestatus-1.1.3 | bin/cruisestatus |
cruisestatus-1.1.2 | bin/cruisestatus |
cruisestatus-1.1.0 | bin/cruisestatus |