Browse files

fix #31 Jeweler uses new auth method for github

  • Loading branch information...
1 parent 0a2e6ea commit 3fe4a7acd30caa5dd712d61e923ba038b4f58274 @helios committed Apr 23, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/bio-gem/mod/jeweler.rb
View
2 lib/bio-gem/mod/jeweler.rb
@@ -80,7 +80,7 @@ def create_and_push_repo
login = github_username
password = ask("Password: ") { |q| q.echo = false }
github = Github.new(:login => login.strip, :password => password.strip)
- github.repos.create(:name => project_name, :description => summary)
+ github.repos.create(:name => github_repo_name, :description => summary)
rescue Github::Error::Unauthorized
puts "Wrong login/password! Please try again"
retry

0 comments on commit 3fe4a7a

Please sign in to comment.