scrolls/github.rb in appscrolls-0.8.0 vs scrolls/github.rb in appscrolls-0.8.1
- old
+ new
@@ -1,8 +1,10 @@
gem 'github', '>= 0.7.0', :require => nil, :group => [:development]
after_everything do
+ github_private = multiple_choice "Create a GitHub repository?", [["Public", false], ["Private", true]]
+
tried_create_already = false
while (@git_uri = `git config remote.origin.url`.strip) && @git_uri.size == 0
if tried_create_already
@repo_name = ask_wizard "Repository already exists. What project name?"
else
@@ -28,11 +30,5 @@
category: deployment
exclusive: scm-hosting
requires: [git]
run_after: [git]
-
-config:
- - github_private:
- prompt: "Create a GitHub repository?"
- type: multiple_choice
- choices: [["Public", false], ["Private", true]]