From 38728c780620b3ad042ea6e88395839573444fc1 Mon Sep 17 00:00:00 2001 From: Tatsuki Sugiura Date: Wed, 16 Mar 2016 23:33:39 +0900 Subject: [PATCH] Disable SSL validation and version bump. --- ChangeLog | 5 +++++ lib/osdn/cli/runner.rb | 5 +++-- lib/osdn/cli/version.rb | 2 +- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index b5f02c4..a5746b9 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,10 @@ 2016-03-16 Tatsuki Sugiura + * Version 0.0.6 + * Disable SSL validation temporarily. + +2016-03-16 Tatsuki Sugiura + * Version 0.0.5 * Default loglevel has been changed to INFO. * Add release and relfile command. diff --git a/lib/osdn/cli/runner.rb b/lib/osdn/cli/runner.rb index a5bc3be..9fe7f41 100644 --- a/lib/osdn/cli/runner.rb +++ b/lib/osdn/cli/runner.rb @@ -14,8 +14,9 @@ module OSDN OSDNClient.configure do |config| ENV['OSDN_API_OVERRIDE_HOST'] and config.host = ENV['OSDN_API_OVERRIDE_HOST'] - ENV['OSDN_API_SKIP_SSL_VERIFY'].to_s =~ /^(1|t(rue)?|y(es)?)$/ and - config.verify_ssl = false + #ENV['OSDN_API_SKIP_SSL_VERIFY'].to_s =~ /^(1|t(rue)?|y(es)?)$/i and + # config.verify_ssl = false + config.verify_ssl = false end end attr_reader :logger diff --git a/lib/osdn/cli/version.rb b/lib/osdn/cli/version.rb index 4231a6a..e3fd4f3 100644 --- a/lib/osdn/cli/version.rb +++ b/lib/osdn/cli/version.rb @@ -1,5 +1,5 @@ module OSDN module CLI - VERSION = "0.0.5" + VERSION = "0.0.6" end end -- 2.11.0