From c27fd3331989b33b9721444c98e77ba367a65270 Mon Sep 17 00:00:00 2001 From: drbrain Date: Thu, 7 Feb 2013 05:56:53 +0000 Subject: * lib/rubygems/package.rb: Ensure digests are generated for signing. * test/rubygems/test_gem_package.rb: Test for the above. * lib/rubygems/security/policy.rb: Ensure digests are present when verifying a gem and match the number of signatures bidirectionally. * test/rubygems/test_gem_security_policy.rb: Test for the above. * lib/rubygems.rb: Documentation improvements (by zzak) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39126 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- lib/rubygems.rb | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'lib/rubygems.rb') diff --git a/lib/rubygems.rb b/lib/rubygems.rb index 54f3fcca89..039d26c1fe 100644 --- a/lib/rubygems.rb +++ b/lib/rubygems.rb @@ -1,9 +1,9 @@ # -*- ruby -*- -# +#-- # Copyright 2006 by Chad Fowler, Rich Kilmer, Jim Weirich and others. # All rights reserved. # See LICENSE.txt for permissions. -# +#++ require 'rbconfig' @@ -109,6 +109,8 @@ require 'rubygems/errors' # Thanks! # # -The RubyGems Team + + module Gem RUBYGEMS_DIR = File.dirname File.expand_path(__FILE__) -- cgit v1.2.3