Monday, December 03, 2007

REL 0.0.6

Release 0.0.6 is out.

The change log:
=== 0.0.6 (Dec 03rd, 2007)
* Added add_reminder and reset_reminders to GData
(see examples/ruby_standalone/gdata_new_event_reminder.rb)
Contribution: Nicolas Fouché
* Added "Quick Add" (see examples/ruby_standalone/gdata_quick_add.rb)
Contribution: Levi Kennedy
* Fixed white space in '@ location.to_s'

I update docs and added the "Quick Add" example to the main plugin page.

7 comments:

Anonymous said...

I've been working with this plugin on a project for my school. When I run it local it works, but when I run it on a server, google gives back a "400 Bad Request" back. I think it is because I don't send a token with it, but I don't know for sure.

Benjamin Francisoud said...

It will be hard to help you since I can't reproduce it :(

Just shooting in the dark:
may be it's a proxy problem you can try to use:
http://googlecalendar.rubyforge.org/svn/examples/ruby_standalone/proxy_parse.rb

Otherwise you need to use something to capture http headers. (try to find a software that match you need using google)
and try to figure out the difference between the 2 cases.

Good Luck.
Sorry I can't help you more.

Matt Davies said...

Hi Benjamin

Love the library, started using it.

Quick question about get_calendars.

Is it supposed to be returning redirect_response? Approx line 202

return redirect_data
# return redirect_response

I was having a hell of hard time getting any data out of the object I was being returned but when I returned the redirect_data instead, bingo, it was all there.

I may be using it incorrectly though.

Matt Davies said...

"I may be using it incorrectly though."

I was :-)

reffering to the objects body method gave me the data

dog = get_calendars()
cat = dog.body

Benjamin Francisoud said...

With a little delay, I'm glad you find the answer ;)

Anonymous said...

Hey Benjamin,

nice Plugin...
I'm actually use it.
But I have some questions:

Is there a way for creating calendars, deleting events and updating events. I can not find it.

If there is no way at this moment, it would be fine to see it in your next release.

Best Regards
Rico

Benjamin Francisoud said...

No that's not possible at the moment
But yes that's a good idea...
I will add it to the todo list ;)

thanks