It "kinda" works (works well for a single calendar) but has problems
with iterating through the 20+ calendars.
After a series of emails on the gem mailing list, owner/creator has
sent me a patch. At this point I have no idea what to do with it ;)
Any suggestions on how to "apply" this patch to my local machine are welcome.
Sunny
--
You received this message because you are subscribed to the Google Groups "Ann Arbor Ruby Brigade" group.
To post to this group, send email to a2...@googlegroups.com.
To unsubscribe from this group, send email to a2rb+uns...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/a2rb?hl=en.
execute "gem env" and look for GEM PATHS (ubuntu example: /var/lib/gems/1.8)
cd into the directory where the gem is installed (ex:
/var/lib/gems/1.8/gems/GCal4Ruby-X.X.X)
apply the patch with "patch -p0 < /path/to/patchfile" (you may have to
adjust the -p level)
This really helped. I was able to patch the gem (everything looked
like it worked). I am still having issues with the overall application
but will work on it some more this evening. I am pretty sure it is a
problem with my code, not the gem.
Sunny
---
File to patch: event.rb
patching file event.rb
Hunk #1 succeeded at 180 (offset 4 lines).
Hunk #2 succeeded at 195 (offset 4 lines).
Hunk #3 succeeded at 372 (offset 4 lines).
Hunk #4 succeeded at 381 (offset 4 lines).
Hunk #5 succeeded at 407 (offset 4 lines).
Hunk #6 succeeded at 421 (offset 4 lines).
I am getting a feed of events and the good news is that it WORKS! I
need to do more testing and check on recurring events--events that
happen more than once per "calendar period".
The earlier patch helped but I had to go into the gem and comment out
a line that was raising an exception. It is a part of the code that
deals with writing to calendars that are "read only". I am not using
this part of the code but it was causing failures.
I am planning to work on this more in the morning at Espresso Royale
on State. I will be there from 8-10am. At this point there is no
interface besides scaffolding and the "workflow" is very basic. Anyone
is welcome to come have coffee and chat.
I will put this up on Heroku at some point when it is a little further along.
Sunny