Simple Dashing job to display your Pivotal Tracker stories status.
- Green: You don't own any rejected stories
- Red: You own a rejected story
- Striped: You haven't started a story
I borrowed heavily from the Semaphore extension, hopefully they look nice side-by-side.
##Dependencies
Pivotal Tracker Gem
Add it to dashing's gemfile:
gem 'pivotal-tracker'
dashing install 5690677
- Copy in the Tracker logo
wget https://dl.dropboxusercontent.com/u/17429266/gems/dashing/tracker/tracker-logo.png
mv tracker-logo.png assets/images/tracker-logo.png
To configure projects add the following block to the bottom of jobs/tracker.rb
PROJECT_ID
available in the url of your projectTRACKER_TOKEN
https://www.pivotaltracker.com/profile]TRACKER_FULL_NAME
The field calledname
under MY PROFILEMY_TRACKER_PROJECT
id of the widget in your template
SCHEDULER.every '1m', :first_in => 0 do |job|
project = Tracker.new(PROJECT_ID, TRACKER_TOKEN, TRACKER_FULL_NAME)
status = project.latest_status
send_event MY_TRACKER_PROJECT, { passed: status.passing?, pending: status.pending? }
end
<li data-row="1" data-col="1" data-sizex="1" data-sizey="1">
<div data-view="Tracker" data-id="MY_TRACKER_PROJECT" data-title="George Michael's Tracker"></div>
</li>