OSDN Git Service
(root)
/
osdn-codes
/
osdn-cli.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ed040f6
)
Enable SSL verification.
author
Tatsuki Sugiura
<sugi@nemui.org>
Wed, 23 Mar 2016 09:45:17 +0000
(18:45 +0900)
committer
Tatsuki Sugiura
<sugi@nemui.org>
Wed, 23 Mar 2016 09:45:17 +0000
(18:45 +0900)
lib/osdn/cli/runner.rb
patch
|
blob
|
history
diff --git
a/lib/osdn/cli/runner.rb
b/lib/osdn/cli/runner.rb
index
9fe7f41
..
ddc617c
100644
(file)
--- a/
lib/osdn/cli/runner.rb
+++ b/
lib/osdn/cli/runner.rb
@@
-14,9
+14,8
@@
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)?)$/i and
- # config.verify_ssl = false
- config.verify_ssl = false
+ ENV['OSDN_API_SKIP_SSL_VERIFY'].to_s =~ /^(1|t(rue)?|y(es)?)$/i and
+ config.verify_ssl = false
end
end
attr_reader :logger