diff options
author | Dickson S. Guedes | 2011-06-28 18:36:30 +0000 |
---|---|---|
committer | Dickson S. Guedes | 2011-06-28 18:36:30 +0000 |
commit | 532feb733b3a6a7c8829905ba56eb1e373aec153 (patch) | |
tree | c2310b334a920a6135051c643711232e726c10c6 | |
parent | 371c94cea1be3e5f64771db11aac528e249d181c (diff) |
ensure use off SSL. Refs #14.
-rw-r--r-- | lib/pgxn_utils/cli.rb | 2 | ||||
-rw-r--r-- | lib/pgxn_utils/version.rb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/pgxn_utils/cli.rb b/lib/pgxn_utils/cli.rb index 58061d4..31bbabe 100644 --- a/lib/pgxn_utils/cli.rb +++ b/lib/pgxn_utils/cli.rb @@ -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 diff --git a/lib/pgxn_utils/version.rb b/lib/pgxn_utils/version.rb index 7233fc5..9fc87d2 100644 --- a/lib/pgxn_utils/version.rb +++ b/lib/pgxn_utils/version.rb @@ -1,3 +1,3 @@ module PgxnUtils - VERSION = "0.1.2" + VERSION = "0.1.3" end |