Project

cctray

0.0
No commit activity in last 3 years
No release in over 3 years
A simple CCTray class to fetch and parse the feed xml as ruby objects
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

>= 10.0.0, ~> 10.1

Runtime

>= 1.6.0, ~> 1.6
 Project Readme

CCTray

Simply fetch and parse cctray feed xml as ruby objects.

Example

tray = CCTray.new("http://server/cctray.xml", 'user', 'pass')
projects = tray.fetch

projects.each do |proj|
  proj.name                # String
  proj.activity            # String
  proj.last_build_status   # String
  proj.last_build_label    # String
  proj.last_build_time     # DateTime
  proj.last_build_time_str # The original String value of lastBuildTime parsed out from feed
  proj.web_url             # String
  proj.messages.each do |mes|
    mes.kind               # String
    mes.text               # String
  end
end