lib/prologue/cli.rb in prologue-0.3.7 vs lib/prologue/cli.rb in prologue-0.3.9
- old
+ new
@@ -7,11 +7,11 @@
include Thor::Actions
desc "new [app]", "Create a new Rails 3 application"
long_desc <<-D
Prologue will ask you a few questions to determine what features you
- would like to generate. Based on your answers it will setup a new Rails 3 application.
+ would like to generate. Based on your answers it will setup a new Rails 3 application.
D
method_option :auth, :type => :boolean, :default => true, :banner =>
"Sets up devise for authentication."
method_option :roles, :type => :boolean, :default => true, :banner =>
"Sets up cancan for authorization with roles."
@@ -53,10 +53,10 @@
def template
File.expand_path(File.dirname(__FILE__) + "/../../templates/bootstrap.rb")
end
def git_user_name
- `git config --global user.name`.chomp || "Quick Left"
+ `git config --global user.name`.chomp.gsub('"', '\"') || "Quick Left"
end
def git_user_email
`git config --global user.email`.chomp || "me@me.com"
end
\ No newline at end of file