ensure use off SSL. Refs #14.
authorDickson S. Guedes <[email protected]>
Tue, 28 Jun 2011 18:36:30 +0000 (15:36 -0300)
committerDickson S. Guedes <[email protected]>
Tue, 28 Jun 2011 18:36:30 +0000 (15:36 -0300)
lib/pgxn_utils/cli.rb
lib/pgxn_utils/version.rb

index 58061d4524dcf003d0b38b9d016c87c3b7dcd5e3..31bbabe6091bb9c83839b3ce45f895138fe05707 100644 (file)
@@ -145,7 +145,7 @@ module PgxnUtils
 
       def try_send_file(request, filename)
         begin
-          Net::HTTP.start(UPLOAD_URL.host, UPLOAD_URL.port) do |http|
+          Net::HTTP.start(UPLOAD_URL.host, UPLOAD_URL.port, { :use_ssl => true , :verify_mode => OpenSSL::SSL::VERIFY_NONE }) do |http|
             say "Trying to release #{File.basename(filename)} ... "
             http.request(request)
           end
index 7233fc5e5d864982b1d69784f8bd71b4ff05cf80..9fc87d26c6701b37132ef498a9d0f8a14c03a478 100644 (file)
@@ -1,3 +1,3 @@
 module PgxnUtils
-  VERSION = "0.1.2"
+  VERSION = "0.1.3"
 end