Skip to content

Commit

Permalink
enabling ssl invalid certificates. just a temporary fix
Browse files Browse the repository at this point in the history
  • Loading branch information
dbuthay committed Mar 14, 2011
1 parent 3c3f515 commit f6f8a78
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion VERSION
@@ -1 +1 @@
1.0.8.1
1.0.8.2
2 changes: 1 addition & 1 deletion indextank.gemspec
Expand Up @@ -2,7 +2,7 @@

Gem::Specification.new do |s|
s.name = %q{indextank}
s.version = "1.0.8.1"
s.version = "1.0.8.2"

s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
s.authors = ["Santiago Perez", "Terence Lee", "Diego Buthay"]
Expand Down
4 changes: 2 additions & 2 deletions lib/indextank.rb
Expand Up @@ -5,10 +5,10 @@
require File.join(directory, 'indextank', 'client')

module IndexTank
VERSION = "1.0.8.1"
VERSION = "1.0.8.2"

def self.setup_connection(url, &block)
@conn = Faraday::Connection.new(:url => url) do |builder|
@conn = Faraday::Connection.new(:url => url, :ssl => {:verify => false} ) do |builder|
builder.adapter Faraday.default_adapter
builder.use Faraday::Response::Yajl
if block_given?
Expand Down

0 comments on commit f6f8a78

Please sign in to comment.