keolo / mixpanel_client

Ruby interface to the Mixpanel Data API
MIT License
148 stars 72 forks source link

fix tests broken by uri update to https #10

Closed raylu closed 12 years ago

keolo commented 12 years ago

Looks good but I'm getting this error when running rake spec:exteranals which make an actual call to the mixpanel api:

OpenSSL::SSL::SSLError: SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed

I haven't had a chance to look at it but will keep an eye on this issue in case you make any progress.

To run external specs:

cp config/mixpanel.template.yml config/mixpanel.yml
vi config/mixpanel.yml
rake spec:externals
raylu commented 12 years ago

I'm getting no such errors. Perhaps the certificates on your machine are not up to date?

keolo commented 12 years ago

That could very well be. I'll check tonight or this weekend.

keolo commented 12 years ago

Merged your changes into v2.2.0. Thanks.