Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Add --dry-run alias -n #517

Merged
merged 1 commit into from

2 participants

@gramos

This change is regarding this issue #483
#483

@gramos gramos referenced this pull request
Open

add --dry-run alias -n #483

@drbrain
Owner

RubyGems will need to keep '-d' for compatibility.

@drbrain drbrain merged commit 05081fb into rubygems:master
@drbrain drbrain referenced this pull request from a commit
@drbrain drbrain Merge branch 'pietro-key_passphrase'
* pietro-key_passphrase: (154 commits)
  Update missed tests for rebase of #447
  Fixed pull request number type for #461
  Improve documentation of DependencyInstaller
  Alphabetize Gem::DependencyInstaller
  Removed commented out DependencyInstaller code
  Alter #489 to use GEM_SPEC_CACHE
  fix tests when GEM_SPEC is set in environment
  add support for ENV GEM_SPEC, fix #430
  Updated history for #443
  Don't alter Gem::Specification.dirs during install
  Default to Gem.dir as late as possible.
  Updated history for #455
  Update history for #456
  Update history for #462
  Add tests and alter output of #514
  add PATH to gem env
  Update History for #514
  Restore backwards-compatibility for #517
  Alphabetize RequestSet
  Undent RequestSet
  ...

Conflicts:
	test/rubygems/test_gem_commands_cert_command.rb
	test/rubygems/test_gem_package.rb
03f371e
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Mar 18, 2013
  1. @gramos

    change -d --dryrun alias by -n

    gramos authored
    solve issue #483
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 2 deletions.
  1. +1 −2  lib/rubygems/commands/cleanup_command.rb
View
3  lib/rubygems/commands/cleanup_command.rb
@@ -9,7 +9,7 @@ def initialize
'Clean up old versions of installed gems in the local repository',
:force => false, :install_dir => Gem.dir
- add_option('-d', '--dryrun', "") do |value, options|
+ add_option('-n', '--dryrun', "") do |value, options|
options[:dryrun] = true
end
@@ -162,4 +162,3 @@ def uninstall_dep spec
end
end
-
Something went wrong with that request. Please try again.