Gmail Calendar Documents Reader Web more »
Recently Visited Groups | Help | Sign in
Google Groups Home
firts release : Ruby client library for GData provisioning API v2
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  5 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Jerome  
View profile  
 More options Jul 26 2008, 2:18 am
From: Jerome <jerome.bousq...@gmail.com>
Date: Fri, 25 Jul 2008 23:18:50 -0700 (PDT)
Local: Sat, Jul 26 2008 2:18 am
Subject: firts release : Ruby client library for GData provisioning API v2
Hi,

Here's my first release of the ruby client library for google apps
provisioning.
I have to write the doc in good english (help needed : my english is
quite poor) and to make some refactoring.

However, the code works fine on my domain and, I hope, won't make any
bad surprise as I wrote it in a TDD cycle (maybe, I forgot cases ...)

So, please make some feed-back on the project site :

http://code.google.com/p/gdatav2rubyclientlib/

Thanks


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Bill Mers  
View profile  
 More options Jul 28 2008, 5:37 pm
From: Bill Mers <bill.w.m...@gmail.com>
Date: Mon, 28 Jul 2008 14:37:09 -0700 (PDT)
Local: Mon, Jul 28 2008 5:37 pm
Subject: Re: firts release : Ruby client library for GData provisioning API v2
Hi Jerome,

I just took a look at your Ruby API, and I was getting Ruby syntax
errors when I tried to require 'gappsprovisioning/provisioningapi'.
It looks like both connection.rb and exceptions.rb are missing their
final "end" statements.  I added in end statements and they loaded ok,
but I got the following error when connecting to my domain:

OpenSSL::SSL::SSLError: certificate verify failed
        from /System/Library/Frameworks/Ruby.framework/Versions/1.8/
usr/lib/ruby/1.8/net/http.rb:590:in `connect'

Is there a SSL requirement for using your API?

Thanks
Bill

On Jul 25, 11:18 pm, Jerome <jerome.bousq...@gmail.com> wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Jerome  
View profile  
 More options Jul 29 2008, 5:53 am
From: Jerome <jerome.bousq...@gmail.com>
Date: Tue, 29 Jul 2008 02:53:52 -0700 (PDT)
Local: Tues, Jul 29 2008 5:53 am
Subject: Re: firts release : Ruby client library for GData provisioning API v2
Sorry,

I uploaded the wrong version (with no "end"). This is fixed now.

There is no SSL requirement to use the API. It works on my domain, but
I know some ruby versions behave differently with SSL connections.
Do you use v1.8.6 p111 or higher (p111 is required at least) ?

Elseway just try either to uncomment the line 26 :
#conn.enable_post_connection_check=  true

either to comment the line 27
 in the connection.rb file.

I just can't reproduce the problem in my environment :-(
Please let me know if it solves the problem.

Thanks

--
Jérôme

On Jul 29, 1:37 am, Bill Mers <bill.w.m...@gmail.com> wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Jerome  
View profile  
 More options Jul 29 2008, 10:43 am
From: Jerome <jerome.bousq...@gmail.com>
Date: Tue, 29 Jul 2008 07:43:24 -0700 (PDT)
Local: Tues, Jul 29 2008 10:43 am
Subject: Re: firts release : Ruby client library for GData provisioning API v2
Hi,

I searched the web trying to solve your problem.
If you've got ruby 1.8.6 p111 or higher, I really dont't understand
why your client can't verify the cerificate from Google (are you
really connecting www.google.com on port 443 ? or did you change this
host destination in provisioningapi.rb ?).

I just found you can bypass the certificate check :
just change the line :
conn.verify_mode = OpenSSL::SSL::VERIFY_PEER
by
conn.verify_mode = OpenSSL::SSL::VERIFY_NONE
in connection.rb

It should work then.

bye

On Jul 29, 1:37 am, Bill Mers <bill.w.m...@gmail.com> wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Jerome  
View profile  
 More options Jul 29 2008, 12:55 pm
From: Jerome <jerome.bousq...@gmail.com>
Date: Tue, 29 Jul 2008 09:55:10 -0700 (PDT)
Local: Tues, Jul 29 2008 12:55 pm
Subject: Re: firts release : Ruby client library for GData provisioning API v2
Hello,

I updated the connection.rb. (gappsprovisioning-1.0.1)

You can uncomment (at your own risk : the certificate won't be checked
as issued by Google) the line forcing the check in connection.rb.

Both, with or without certificate verification, work on my domain with
two different computers. Once more : ruby 1.8.6 p111.

I hope it will solve your problem.

--
Jerome

On Jul 29, 1:37 am, Bill Mers <bill.w.m...@gmail.com> wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google