Ruby client for searching, creating, editing calendar and tasks.
Tested with ubuntu based calendar server installation.
It is a modified version of another caldav client under MIT license
https://github.com/n8vision/caldav-icloud
gem install 'twisted-caldav'
require 'twisted-caldav'
u = 'user1'
cal = TwistedCaldav::Client.new(uri: "http://yourserver.com:8008/calendars/users/#{u}/calendar/", user: u , password: 'xxxxxx')
result = cal.find_events(start: '2014-04-01', end: '2014-04-15')
result = cal.create_event(start: '2014-04-12 10:00', end: '2014-04-12 12:00', title: 'Meeting With Me', description: 'Meeting about nothing...:D')