diff options
author | Hiroshi SHIBATA <[email protected]> | 2020-09-23 21:59:35 +0900 |
---|---|---|
committer | Hiroshi SHIBATA <[email protected]> | 2020-09-23 22:01:44 +0900 |
commit | b717f73402dc6f2d6ba6a1d72d9c8543a4f2cd27 (patch) | |
tree | 9d4a4c198aa124592552c66e2a3e6d130b6486eb /lib/rubygems/user_interaction.rb | |
parent | a46841612c846f00f31ff63d886620d66cdea5b3 (diff) |
Revert "Manually merged from https://github.com/rubygems/rubygems/pull/2636"
31a6eaabc165d8a222e176f2c809d90622d88ec2 is obsoleted with
https://github.com/rubygems/rubygems/pull/3820
Diffstat (limited to 'lib/rubygems/user_interaction.rb')
-rw-r--r-- | lib/rubygems/user_interaction.rb | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/lib/rubygems/user_interaction.rb b/lib/rubygems/user_interaction.rb index fe55c56999..27a9957117 100644 --- a/lib/rubygems/user_interaction.rb +++ b/lib/rubygems/user_interaction.rb @@ -172,7 +172,6 @@ end # Gem::StreamUI implements a simple stream based user interface. class Gem::StreamUI - extend Gem::Deprecate ## @@ -387,7 +386,6 @@ class Gem::StreamUI # An absolutely silent progress reporter. class SilentProgressReporter - ## # The count of items is never updated for the silent progress reporter. @@ -412,14 +410,12 @@ class Gem::StreamUI def done end - end ## # A basic dotted progress reporter. class SimpleProgressReporter - include Gem::DefaultUserInteraction ## @@ -457,14 +453,12 @@ class Gem::StreamUI def done @out.puts "\n#{@terminal_message}" end - end ## # A progress reporter that prints out messages about the current progress. class VerboseProgressReporter - include Gem::DefaultUserInteraction ## @@ -501,7 +495,6 @@ class Gem::StreamUI def done @out.puts @terminal_message end - end ## @@ -519,7 +512,6 @@ class Gem::StreamUI # An absolutely silent download reporter. class SilentDownloadReporter - ## # The silent download reporter ignores all arguments @@ -545,14 +537,12 @@ class Gem::StreamUI def done end - end ## # A progress reporter that behaves nicely with threaded downloading. class ThreadedDownloadReporter - MUTEX = Mutex.new ## @@ -601,9 +591,7 @@ class Gem::StreamUI @out.puts message end end - end - end ## @@ -611,7 +599,6 @@ end # STDOUT, and STDERR. class Gem::ConsoleUI < Gem::StreamUI - ## # The Console UI has no arguments as it defaults to reading input from # stdin, output to stdout and warnings or errors to stderr. @@ -619,14 +606,12 @@ class Gem::ConsoleUI < Gem::StreamUI def initialize super STDIN, STDOUT, STDERR, true end - end ## # SilentUI is a UI choice that is absolutely silent. class Gem::SilentUI < Gem::StreamUI - ## # The SilentUI has no arguments as it does not use any stream. @@ -652,5 +637,4 @@ class Gem::SilentUI < Gem::StreamUI def progress_reporter(*args) # :nodoc: SilentProgressReporter.new(@outs, *args) end - end |