Closed dpetzel closed 10 years ago
just pushed a gem (nexus-1.0.1) with some (or all) fixes you mentioned.
so that should be fixed - please let me know if that still gives you troubles.
I'll should be able to test this in the next couple of days.
Looks good, thanks
I have this issue on 0.2.5 as well as 1.0.0
It appears that the authorization is nil intentionally when the clear option is set as seen in https://github.com/sonatype/nexus-ruby-support/blob/master/nexus-gem/lib/commands/abstract_command.rb#L67.
Running with -c alone will throw an
Please specify a gem name on the command line
so it seems its impossible to cleanly clear the configuration.I'm not sure if it makes more sense to have the authorization method always return even on a clear, or if send_gem should only add the authorization header if its not nil