ruby-changes:27029
From: zzak <ko1@a...>
Date: Wed, 6 Feb 2013 06:16:07 +0900 (JST)
Subject: [ruby-changes:27029] zzak:r39079 (trunk): * doc/rubygems/*: Removed outdated documentation files
zzak 2013-02-06 05:52:28 +0900 (Wed, 06 Feb 2013) New Revision: 39079 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=39079 Log: * doc/rubygems/*: Removed outdated documentation files * lib/rubygems/LICENSE.txt: Include license file * lib/rubygems.rb: Move Gem module documentation so rdoc can parse it and link to LICENSE.txt * lib/rubygems/*: Hide useless documentation from Gem module rdoc Added files: trunk/lib/rubygems/LICENSE.txt Removed directories: trunk/doc/rubygems/ Modified files: trunk/ChangeLog trunk/lib/rubygems/compatibility.rb trunk/lib/rubygems/errors.rb trunk/lib/rubygems.rb Index: ChangeLog =================================================================== --- ChangeLog (revision 39078) +++ ChangeLog (revision 39079) @@ -1,3 +1,11 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1 +Wed Feb 6 05:50:00 2013 Zachary Scott <zachary@z...> + + * doc/rubygems/*: Removed outdated documentation files + * lib/rubygems/LICENSE.txt: Include license file + * lib/rubygems.rb: Move Gem module documentation so rdoc can parse it + and link to LICENSE.txt + * lib/rubygems/*: Hide useless documentation from Gem module rdoc + Wed Feb 6 03:45:19 2013 Zachary Scott <zachary@z...> * doc/security.rdoc: Remove documentation for unsafe CSV.load which Index: lib/rubygems/compatibility.rb =================================================================== --- lib/rubygems/compatibility.rb (revision 39078) +++ lib/rubygems/compatibility.rb (revision 39079) @@ -1,11 +1,13 @@ https://github.com/ruby/ruby/blob/trunk/lib/rubygems/compatibility.rb#L1 # :stopdoc: +#-- # This file contains all sorts of little compatibility hacks that we've # had to introduce over the years. Quarantining them into one file helps # us know when we can get rid of them. # Ruby 1.9.x has introduced some things that are awkward, and we need to # support them, so we define some constants to use later. +#++ module Gem # Only MRI 1.9.2 has the custom prelude. GEM_PRELUDE_SUCKAGE = RUBY_VERSION =~ /^1\.9\.2/ and RUBY_ENGINE == "ruby" Index: lib/rubygems/errors.rb =================================================================== --- lib/rubygems/errors.rb (revision 39078) +++ lib/rubygems/errors.rb (revision 39079) @@ -1,8 +1,9 @@ https://github.com/ruby/ruby/blob/trunk/lib/rubygems/errors.rb#L1 -## +#-- # This file contains all the various exceptions and other errors that are used # inside of RubyGems. # # DOC: Confirm _all_ +#++ module Gem ## Index: lib/rubygems/LICENSE.txt =================================================================== --- lib/rubygems/LICENSE.txt (revision 0) +++ lib/rubygems/LICENSE.txt (revision 39079) @@ -0,0 +1,53 @@ https://github.com/ruby/ruby/blob/trunk/lib/rubygems/LICENSE.txt#L1 +RubyGems is copyrighted free software by Chad Fowler, Rich Kilmer, Jim +Weirich and others. You can redistribute it and/or modify it under +either the terms of the GPL (see the GPL.txt file), or the conditions +below: + + 1. You may make and give away verbatim copies of the source form of the + software without restriction, provided that you duplicate all of the + original copyright notices and associated disclaimers. + + 2. You may modify your copy of the software in any way, provided that + you do at least ONE of the following: + + a) place your modifications in the Public Domain or otherwise + make them Freely Available, such as by posting said + modifications to Usenet or an equivalent medium, or by allowing + the author to include your modifications in the software. + + b) use the modified software only within your corporation or + organization. + + c) rename any non-standard executables so the names do not conflict + with standard executables, which must also be provided. + + d) make other distribution arrangements with the author. + + 3. You may distribute the software in object code or executable + form, provided that you do at least ONE of the following: + + a) distribute the executables and library files of the software, + together with instructions (in the manual page or equivalent) + on where to get the original distribution. + + b) accompany the distribution with the machine-readable source of + the software. + + c) give non-standard executables non-standard names, with + instructions on where to get the original software distribution. + + d) make other distribution arrangements with the author. + + 4. You may modify and include the part of the software into any other + software (possibly commercial). + + 5. The scripts and library files supplied as input to or produced as + output from the software do not automatically fall under the + copyright of the software, but belong to whomever generated them, + and may be sold commercially, and may be aggregated with this + software. + + 6. THIS SOFTWARE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR + IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR + PURPOSE. Index: lib/rubygems.rb =================================================================== --- lib/rubygems.rb (revision 39078) +++ lib/rubygems.rb (revision 39079) @@ -1,9 +1,22 @@ https://github.com/ruby/ruby/blob/trunk/lib/rubygems.rb#L1 # -*- ruby -*- -#-- +# # Copyright 2006 by Chad Fowler, Rich Kilmer, Jim Weirich and others. # All rights reserved. # See LICENSE.txt for permissions. -#++ +# + +require 'rbconfig' + +module Gem + VERSION = '2.0.0.rc.2' +end + +# Must be first since it unloads the prelude from 1.9.2 +require 'rubygems/compatibility' + +require 'rubygems/defaults' +require 'rubygems/deprecate' +require 'rubygems/errors' ## # RubyGems is the Ruby standard for publishing and managing third party @@ -91,23 +104,11 @@ https://github.com/ruby/ruby/blob/trunk/lib/rubygems.rb#L104 # # (If your name is missing, PLEASE let us know!) # +# See {LICENSE.txt}[rdoc-ref:lib/rubygems/LICENSE.txt] for permissions. +# # Thanks! # # -The RubyGems Team - -require 'rbconfig' - -module Gem - VERSION = '2.0.0.rc.2' -end - -# Must be first since it unloads the prelude from 1.9.2 -require 'rubygems/compatibility' - -require 'rubygems/defaults' -require 'rubygems/deprecate' -require 'rubygems/errors' - module Gem RUBYGEMS_DIR = File.dirname File.expand_path(__FILE__) -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/