prologue 0.3.7 → 0.3.9
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile.lock +1 -1
- data/lib/prologue/cli.rb +2 -2
- data/lib/prologue/version.rb +1 -1
- data/templates/devise.rb +1 -1
- data/templates/gemfile.rb +1 -0
- metadata +4 -4
data/Gemfile.lock
CHANGED
data/lib/prologue/cli.rb
CHANGED
@@ -9,7 +9,7 @@ module Prologue
|
|
9
9
|
desc "new [app]", "Create a new Rails 3 application"
|
10
10
|
long_desc <<-D
|
11
11
|
Prologue will ask you a few questions to determine what features you
|
12
|
-
would like to generate. Based on your answers it will setup a new Rails 3 application.
|
12
|
+
would like to generate. Based on your answers it will setup a new Rails 3 application.
|
13
13
|
D
|
14
14
|
method_option :auth, :type => :boolean, :default => true, :banner =>
|
15
15
|
"Sets up devise for authentication."
|
@@ -55,7 +55,7 @@ module Prologue
|
|
55
55
|
end
|
56
56
|
|
57
57
|
def git_user_name
|
58
|
-
`git config --global user.name`.chomp || "Quick Left"
|
58
|
+
`git config --global user.name`.chomp.gsub('"', '\"') || "Quick Left"
|
59
59
|
end
|
60
60
|
|
61
61
|
def git_user_email
|
data/lib/prologue/version.rb
CHANGED
data/templates/devise.rb
CHANGED
@@ -104,7 +104,7 @@ gsub_file devise_migration, /# add_index :users, :confirmation_token, :unique
|
|
104
104
|
append_file 'db/seeds.rb' do
|
105
105
|
<<-FILE
|
106
106
|
# Setup initial user so we can get in
|
107
|
-
user = User.create! :name =>
|
107
|
+
user = User.create! :name => "#{ENV['PROLOGUE_USER_NAME']}", :email => "#{ENV['PROLOGUE_USER_EMAIL']}", :password => "#{ENV['PROLOGUE_USER_PASSWORD']}", :password_confirmation => "#{ENV['PROLOGUE_USER_PASSWORD']}"
|
108
108
|
user.confirmed_at = user.confirmation_sent_at
|
109
109
|
user.save
|
110
110
|
FILE
|
data/templates/gemfile.rb
CHANGED
@@ -13,6 +13,7 @@ gem "jammit"
|
|
13
13
|
gem "friendly_id", "~> 3.1"
|
14
14
|
gem "will_paginate", "~> 3.0.pre2"
|
15
15
|
gem "haml", "~> 3.0.21"
|
16
|
+
gem "haml-rails"
|
16
17
|
gem "rails3-generators", :group => :development
|
17
18
|
gem "hpricot", :group => :development
|
18
19
|
gem "ruby_parser", :group => :development
|
metadata
CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
segments:
|
6
6
|
- 0
|
7
7
|
- 3
|
8
|
-
-
|
9
|
-
version: 0.3.
|
8
|
+
- 9
|
9
|
+
version: 0.3.9
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- Quick Left
|
@@ -14,7 +14,7 @@ autorequire:
|
|
14
14
|
bindir: bin
|
15
15
|
cert_chain: []
|
16
16
|
|
17
|
-
date: 2010-11-
|
17
|
+
date: 2010-11-15 00:00:00 -07:00
|
18
18
|
default_executable:
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|
@@ -184,6 +184,6 @@ rubyforge_project: prologue
|
|
184
184
|
rubygems_version: 1.3.7
|
185
185
|
signing_key:
|
186
186
|
specification_version: 3
|
187
|
-
summary: prologue-0.3.
|
187
|
+
summary: prologue-0.3.9
|
188
188
|
test_files: []
|
189
189
|
|