summaryrefslogtreecommitdiff
path: root/lib/rubygems.rb
diff options
context:
space:
mode:
authorzzak <zzak@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-02-05 20:52:28 +0000
committerzzak <zzak@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-02-05 20:52:28 +0000
commitafea6f4706e5ea681fe6a6bc347abbe698427ac1 (patch)
tree71e503cfec2156c0c0155cc91463232f1649b450 /lib/rubygems.rb
parent55f11348c3ba5129f9d4c6cd266e8fd9a02fd912 (diff)
* 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 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39079 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/rubygems.rb')
-rw-r--r--lib/rubygems.rb33
1 files changed, 17 insertions, 16 deletions
diff --git a/lib/rubygems.rb b/lib/rubygems.rb
index 0fb718aedc..54f3fcca89 100644
--- a/lib/rubygems.rb
+++ b/lib/rubygems.rb
@@ -1,9 +1,22 @@
# -*- 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 @@
#
# (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__)