Commit MetaInfo

修订版146784ff3a9c5d811b6863815add4a56e81dcd83 (tree)
时间2016-03-23 18:45:17
作者Tatsuki Sugiura <sugi@nemu...>
CommiterTatsuki Sugiura

Log Message

Enable SSL verification.

更改概述

差异

--- a/lib/osdn/cli/runner.rb
+++ b/lib/osdn/cli/runner.rb
@@ -14,9 +14,8 @@ module OSDN
1414 OSDNClient.configure do |config|
1515 ENV['OSDN_API_OVERRIDE_HOST'] and
1616 config.host = ENV['OSDN_API_OVERRIDE_HOST']
17- #ENV['OSDN_API_SKIP_SSL_VERIFY'].to_s =~ /^(1|t(rue)?|y(es)?)$/i and
18- # config.verify_ssl = false
19- config.verify_ssl = false
17+ ENV['OSDN_API_SKIP_SSL_VERIFY'].to_s =~ /^(1|t(rue)?|y(es)?)$/i and
18+ config.verify_ssl = false
2019 end
2120 end
2221 attr_reader :logger
Show on old repository browser