lib/rubygems/exceptions.rb in rubygems-update-3.5.18 vs lib/rubygems/exceptions.rb in rubygems-update-3.5.19
- old
+ new
@@ -102,13 +102,10 @@
attr_accessor :file_path
end
class Gem::GemNotFoundException < Gem::Exception; end
-##
-# Raised by the DependencyInstaller when a specific gem cannot be found
-
class Gem::SpecificGemNotFoundException < Gem::GemNotFoundException
##
# Creates a new SpecificGemNotFoundException for a gem with the given +name+
# and +version+. Any +errors+ encountered when attempting to find the gem
# are also stored.
@@ -134,9 +131,11 @@
##
# Errors encountered attempting to find the gem.
attr_reader :errors
end
+
+Gem.deprecate_constant :SpecificGemNotFoundException
##
# Raised by Gem::Resolver when dependencies conflict and create the
# inability to find a valid possible spec for a request.