diff options
Diffstat (limited to 'lib/rubygems/commands')
-rw-r--r-- | lib/rubygems/commands/dependency_command.rb | 2 | ||||
-rw-r--r-- | lib/rubygems/commands/query_command.rb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/rubygems/commands/dependency_command.rb b/lib/rubygems/commands/dependency_command.rb index f493d40289..67cbbc1d5e 100644 --- a/lib/rubygems/commands/dependency_command.rb +++ b/lib/rubygems/commands/dependency_command.rb @@ -59,7 +59,7 @@ class Gem::Commands::DependencyCommand < Gem::Command end # TODO: deprecate for real damnit - dependency = Deprecate.skip_during { + dependency = Gem::Deprecate.skip_during { Gem::Dependency.new pattern, options[:version] } dependency.prerelease = options[:prerelease] diff --git a/lib/rubygems/commands/query_command.rb b/lib/rubygems/commands/query_command.rb index 1033b83447..725da8787b 100644 --- a/lib/rubygems/commands/query_command.rb +++ b/lib/rubygems/commands/query_command.rb @@ -79,7 +79,7 @@ class Gem::Commands::QueryCommand < Gem::Command req = Gem::Requirement.default # TODO: deprecate for real - dep = Deprecate.skip_during { Gem::Dependency.new name, req } + dep = Gem::Deprecate.skip_during { Gem::Dependency.new name, req } if local? then if prerelease and not both? then |