diff options
author | Kazuki Yamaguchi <k@rhe.jp> | 2016-01-03 16:49:19 +0900 |
---|---|---|
committer | Kazuki Yamaguchi <k@rhe.jp> | 2016-01-03 16:49:19 +0900 |
commit | dcef073d619b8ac27def9b3265603a59bb1107cb (patch) | |
tree | 4a7cc087ef02b1b29ab63a7571c88185ce613905 | |
parent | 7b4297867c82e6e40f12be0d3d20f2ca12c8eed6 (diff) | |
download | plum-dcef073d619b8ac27def9b3265603a59bb1107cb.tar.gz |
test: use SimpleCov.formatters=
-rw-r--r-- | lib/plum/rack/listener.rb | 2 | ||||
-rw-r--r-- | test/test_helper.rb | 2 |
2 files changed, 1 insertions, 3 deletions
diff --git a/lib/plum/rack/listener.rb b/lib/plum/rack/listener.rb index bc29e5b..3ff6c4a 100644 --- a/lib/plum/rack/listener.rb +++ b/lib/plum/rack/listener.rb @@ -92,8 +92,6 @@ module Plum ef.issuer_certificate = cert cert.extensions = [ ef.create_extension("basicConstraints", "CA:TRUE", true), - ef.create_extension("subjectKeyIdentifier", "hash"), - ef.create_extension("authorityKeyIdentifier", "keyid:always,issuer:always") ] cert.sign(key, OpenSSL::Digest::SHA256.new) diff --git a/test/test_helper.rb b/test/test_helper.rb index 20f76ad..f67ba51 100644 --- a/test/test_helper.rb +++ b/test/test_helper.rb @@ -2,7 +2,7 @@ unless ENV["SKIP_COVERAGE"] begin require "simplecov" require "codeclimate-test-reporter" - SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter[ + SimpleCov.formatters = [ SimpleCov::Formatter::HTMLFormatter, CodeClimate::TestReporter::Formatter ] |