mirror of
https://github.com/ruby/ruby.git
synced 2025-09-17 01:23:57 +02:00
* lib/rubygems: Update to RubyGems 1.8.6.1.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32694 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
49caf55759
commit
284144838c
173 changed files with 191 additions and 1076 deletions
|
@ -1,9 +1,3 @@
|
|||
######################################################################
|
||||
# This file is imported from the rubygems project.
|
||||
# DO NOT make modifications in this repo. They _will_ be reverted!
|
||||
# File a patch instead and assign it to Ryan Davis or Eric Hodel.
|
||||
######################################################################
|
||||
|
||||
#--
|
||||
# Copyright 2006 by Chad Fowler, Rich Kilmer, Jim Weirich and others.
|
||||
# All rights reserved.
|
||||
|
@ -142,8 +136,12 @@ class Gem::StreamUI
|
|||
end
|
||||
|
||||
def tty?
|
||||
@usetty && @ins.tty?
|
||||
end
|
||||
if RUBY_VERSION > '1.9.3' and RUBY_PLATFORM =~ /mingw|mswin/ then
|
||||
@usetty
|
||||
else
|
||||
@usetty && @ins.tty?
|
||||
end
|
||||
end
|
||||
|
||||
##
|
||||
# Choose from a list of options. +question+ is a prompt displayed above
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue