public
Description: a ruby api for tasko @ taskodone.com
Homepage:
Clone URL: git://github.com/ardekantur/taskomaly.git
name age message
file .gitignore Mon Jul 14 19:43:14 -0700 2008 ignore generated packages [ardekantur]
file LICENSE Sun Jul 13 15:10:14 -0700 2008 start documenting some things, fix license file [ardekantur]
file README.markdown Mon Aug 11 15:05:12 -0700 2008 okay maybe i just don't get syntax today [ardekantur]
file Rakefile Mon Aug 11 17:47:18 -0700 2008 updated to version 0.1.0 [ardekantur]
directory lib/ Mon Aug 11 18:16:55 -0700 2008 recreating papers works [ardekantur]
directory spec/ Mon Aug 11 18:16:55 -0700 2008 recreating papers works [ardekantur]
file taskomaly.gemspec Mon Aug 11 17:47:18 -0700 2008 updated to version 0.1.0 [ardekantur]
README.markdown

taskomaly

access your Tasko or TaskPaper papers. in ruby. started by ardekantur. released under gplv3. file bugs and feature requests.

you need to clean your room

make it a project

proj = Taskomaly::Project.new 'Room Cleaning'

add some tasks to it

proj.add 'put away clean laundry'
proj.add 'wash dirty dishes'

tag those suckas up

proj.add 'file taxes @april @15'
proj.tasks.last.tags            # [:april, :"15"]

proj.add 'organize shelf'
proj.tasks.last.tag :knickknacks, 1000, 'september'
proj.tasks.last.tags            # [:knickknacks, :"1000", :september]

working with tasko

t = Taskomaly::With :user => 9999, :key => 'd9cca721a735dac4efe709e0f3518373' 

or, create this file:

# ~/.tasks.yml
user: 9999
key: d9cca721a735dac4efe709e0f3518373

and do this:

t = Taskomaly::From '~/.tasks.yml'

getting your papers

t.get :papers # ['Paper One', 'Paper Two']
p = t.papers.first

puts p.name # 'Paper One'
puts p.body # duh

change + upload

p.body["@today"] = "@tomorrow"
p.save # true if groovy, false if failed

made a mistake? refresh from the server

p.refresh # true if groovy, false if failed