Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix host on gem push, when not passing a --host #622

Merged
merged 1 commit into from Sep 6, 2013

Conversation

arthurnn
Copy link
Member

After d3f91a0 we start accepting the option --host on the push command.
However when the --host is not provided, it is set as nil, and this was causing the following output:

Enter your  credentials.
Dont have an account yet? Create one at https:///sign_up

With the patch, on sign_in, we get the host even if a nil one is provided.

After d3f91a0 we start accepting the option --host on the push command
However when the --host is not provided, it is set as nil, and this was causing the following output

Enter your  credentials.
Dont have an account yet? Create one at https:///sign_up
@camilo
Copy link

camilo commented Aug 16, 2013

👍

@arthurnn
Copy link
Member Author

arthurnn commented Sep 6, 2013

ping for review and merge.

@drbrain
Copy link
Member

drbrain commented Sep 6, 2013

I don't know how this escaped me, sorry! I'll check it for 2.1 tomorrow.

drbrain added a commit that referenced this pull request Sep 6, 2013
Allow rubygems.org credential creation without --host

Fixes #622
@drbrain drbrain merged commit 1662f32 into rubygems:master Sep 6, 2013
@arthurnn arthurnn deleted the fix_push_host branch September 6, 2013 20:42
drbrain added a commit that referenced this pull request Sep 6, 2013
drbrain added a commit that referenced this pull request Sep 9, 2013
Parentheses were missing the test added in #622
drbrain added a commit that referenced this pull request Sep 24, 2013
drbrain added a commit that referenced this pull request Sep 24, 2013
Parentheses were missing the test added in #622
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants