リビジョン | 146784ff3a9c5d811b6863815add4a56e81dcd83 (tree) |
---|---|
日時 | 2016-03-23 18:45:17 |
作者 | Tatsuki Sugiura <sugi@nemu...> |
コミッター | Tatsuki Sugiura |
Enable SSL verification.
@@ -14,9 +14,8 @@ module OSDN | ||
14 | 14 | OSDNClient.configure do |config| |
15 | 15 | ENV['OSDN_API_OVERRIDE_HOST'] and |
16 | 16 | 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 | |
20 | 19 | end |
21 | 20 | end |
22 | 21 | attr_reader :logger |