Permalink
Browse files

Add code to sign the gem

git-svn-id: https://activemerchant.googlecode.com/svn/trunk/active_merchant@229 6513ea26-6c20-0410-8a68-89cd7235086d
  • Loading branch information...
1 parent f8baeaf commit b681bc09fd66d2f09a148a3c62929b872c1e3883 codyfauser committed Feb 22, 2007
Showing with 24 additions and 1 deletion.
  1. +4 −1 Rakefile
  2. +20 −0 gem-public_cert.pem
View
@@ -84,6 +84,9 @@ spec = Gem::Specification.new do |s|
s.add_dependency('activesupport', '>= 1.4.1')
s.add_dependency('builder', '>= 2.0.0')
+
+ s.signing_key = ENV['GEM_PRIVATE_KEY']
+ s.cert_chain = ['gem-public_cert.pem']
end
Rake::GemPackageTask.new(spec) do |p|
@@ -114,7 +117,7 @@ end
desc 'Upload RDoc to RubyForge'
task :upload_rdoc => :rdoc do
- user = "cfauser@rubyforge.org"
+ user = ENV['RUBYFORGE_USER']
project = "/var/www/gforge-projects/#{PKG_NAME}"
local_dir = 'doc'
pub = Rake::SshDirPublisher.new user, project, local_dir
View
@@ -0,0 +1,20 @@
+-----BEGIN CERTIFICATE-----
+MIIDNjCCAh6gAwIBAgIBADANBgkqhkiG9w0BAQUFADBBMRMwEQYDVQQDDApjb2R5
+ZmF1c2VyMRUwEwYKCZImiZPyLGQBGRYFZ21haWwxEzARBgoJkiaJk/IsZAEZFgNj
+b20wHhcNMDcwMjIyMTcyMTI3WhcNMDgwMjIyMTcyMTI3WjBBMRMwEQYDVQQDDApj
+b2R5ZmF1c2VyMRUwEwYKCZImiZPyLGQBGRYFZ21haWwxEzARBgoJkiaJk/IsZAEZ
+FgNjb20wggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQC6T4Iqt5iWvAlU
+iXI6L8UO0URQhIC65X/gJ9hL/x4lwSl/ckVm/R/bPrJGmifT+YooFv824N3y/TIX
+25o/lZtRj1TUZJK4OCb0aVzosQVxBHSe6rLmxO8cItNTMOM9wn3thaITFrTa1DOQ
+O3wqEjvW2L6VMozVfK1MfjL9IGg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