summaryrefslogtreecommitdiff
path: root/ext/io/console/io-console.gemspec
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-11-13 08:08:09 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-11-13 08:08:09 +0000
commit2019f34bc9c9230f4c74febb5e4fa5200fb7cdd6 (patch)
treecad96531749caa67d98e77a1743f07e69792b42d /ext/io/console/io-console.gemspec
parent7b6deb9c4b1fc641838e8822750c46e7807c9ec9 (diff)
io-console.gemspec: certification
* ext/io/console/io-console.gemspec: add a certification. http://www.benjaminfleischer.com/2013/11/08/how-to-sign-your-rubygem-cert/ git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43662 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/io/console/io-console.gemspec')
-rw-r--r--ext/io/console/io-console.gemspec2
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/io/console/io-console.gemspec b/ext/io/console/io-console.gemspec
index b336e18fa3..f71e1b9b8f 100644
--- a/ext/io/console/io-console.gemspec
+++ b/ext/io/console/io-console.gemspec
@@ -16,4 +16,6 @@ Gem::Specification.new do |s|
s.files = %w[console.c extconf.rb lib/console/size.rb]
s.extensions = %w[extconf.rb]
s.licenses = "ruby"
+ s.cert_chain = %w[certs/nobu.pem]
+ s.signing_key = File.expand_path("~/.ssh/gem-private_key.pem") if $0 =~ /gem\z/
end