public
Fork of redinger/active_merchant_do_not_use
Description: Mirror of active merchant plugin
Homepage: http://www.activemerchant.org/
Clone URL: git://github.com/github/active_merchant.git
Search Repo:
Add code to sign the gem

git-svn-id: 
http://activemerchant.googlecode.com/svn/trunk/active_merchant@229 
6513ea26-6c20-0410-8a68-89cd7235086d
codyfauser (author)
Thu Feb 22 09:45:49 -0800 2007
commit  60ebe73e64e4eda1ac4fc75a7d2a4c5c57990432
tree    7f866f4f45699839d922a76a0982b1a05ad156da
parent  90120489515614e5402ad263bd4d1ae6ec8421ef
...
84
85
86
 
 
 
87
88
89
...
114
115
116
117
 
118
119
120
...
84
85
86
87
88
89
90
91
92
...
117
118
119
 
120
121
122
123
0
@@ -84,6 +84,9 @@ spec = Gem::Specification.new do |s|
0
   
0
   s.add_dependency('activesupport', '>= 1.4.1')
0
   s.add_dependency('builder', '>= 2.0.0')
0
+
0
+ s.signing_key = ENV['GEM_PRIVATE_KEY']
0
+ s.cert_chain = ['gem-public_cert.pem']
0
 end
0
 
0
 Rake::GemPackageTask.new(spec) do |p|
0
@@ -114,7 +117,7 @@ end
0
 
0
 desc 'Upload RDoc to RubyForge'
0
 task :upload_rdoc => :rdoc do
0
- user = "cfauser@rubyforge.org"
0
+ user = ENV['RUBYFORGE_USER']
0
   project = "/var/www/gforge-projects/#{PKG_NAME}"
0
   local_dir = 'doc'
0
   pub = Rake::SshDirPublisher.new user, project, local_dir

Comments

    No one has commented yet.