bin/gt in gaptool-client-0.5.5 vs bin/gt in gaptool-client-0.5.6
- old
+ new
@@ -7,9 +7,11 @@
ENV['LANG'] = "en_US.UTF-8"
# Nuke your ssh-agent
ENV['SSH_AUTH_SOCK'] = ''
+OpenSSL::SSL::VERIFY_PEER = OpenSSL::SSL::VERIFY_NONE unless ENV['GT_SSL_VERIFY_NONE'].nil?
+
# Make API accessable to client
$api = GTAPI::GaptoolServer.new(ENV['GT_USER'], ENV['GT_KEY'], ENV['GT_URL'])
# Run client
require File.expand_path(File.dirname(__FILE__) + "/../lib/gaptool-client.rb")