June 25, 2009
Rubytime was first Lunar Logic Polska Ruby on Rails application. When I’ve started working at LLP Rubytime was at version 2.1. Almost every programmer at LLP commited some changes for it during its lifetime and the code which remembered Rails 1.x needed a serious rewrite. I had the chance to rewrite it from scratch using Merb and DataMapper (this was fun). So now we have Rubytime 3 with good quality code and JSON API (read on).
As I’m big fan of KDE 4 (3.x sucked) and whole plasma stuff I wanted to play a little with plasmoids API. So Rubytime plasmoid has been born. The main goal of the plasmoid is to ease reporting time spent on projects right from your KDE desktop without need to open Rubytime in the browser.
The main plasmoid features are:
- Reporting new activities
- Showing list of recently added activities
- Notifying (through KDE’s KNotify system) about missing reports for yesterday and today
Widget is written in Python, using Python KDE bindings (Ruby bindings were broken at that time and I just wanted to learn KDE/Plasma API instead of wasting my time on fighting with C++). It has fully configurable system notification thanks to mighty KNotify4 subsystem:
Communication with Rubytime is done using RT’s JSON API (gee, I need to finally find some time to document the API so other developers can start creating more add-ons for RT).
If you dare to use it please keep in mind that it was tested on KDE 4.2.x and 4.3 beta2. I doubt that it will work on 4.1. You can grab it straight from github repository. Enjoy!