From afea6f4706e5ea681fe6a6bc347abbe698427ac1 Mon Sep 17 00:00:00 2001 From: zzak Date: Tue, 5 Feb 2013 20:52:28 +0000 Subject: * 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 --- lib/rubygems/compatibility.rb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib/rubygems/compatibility.rb') 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" -- cgit v1.2.3