aboutsummaryrefslogtreecommitdiffstats
path: root/lib/rubygems/compatibility.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/compatibility.rb
parent55f11348c3ba5129f9d4c6cd266e8fd9a02fd912 (diff)
downloadruby-afea6f4706e5ea681fe6a6bc347abbe698427ac1.tar.gz
* 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/compatibility.rb')
-rw-r--r--lib/rubygems/compatibility.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/rubygems/compatibility.rb b/lib/rubygems/compatibility.rb
index e053a99ca3..810b88b57b 100644
--- a/lib/rubygems/compatibility.rb
+++ b/lib/rubygems/compatibility.rb
@@ -1,11 +1,13 @@
# :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"