frank 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/frank.gemspec +1 -1
- data/lib/frank/base.rb +3 -2
- metadata +3 -3
data/frank.gemspec
CHANGED
data/lib/frank/base.rb
CHANGED
@@ -6,7 +6,7 @@ require 'frank/middleware/statik'
|
|
6
6
|
require 'frank/middleware/refresh'
|
7
7
|
|
8
8
|
module Frank
|
9
|
-
VERSION = '1.0.
|
9
|
+
VERSION = '1.0.1'
|
10
10
|
extend Frank::Upgrades
|
11
11
|
|
12
12
|
module Render; end
|
@@ -313,6 +313,7 @@ module Frank
|
|
313
313
|
# copies over the generic project template
|
314
314
|
def self.stub(project)
|
315
315
|
templates_dir = File.join(ENV['HOME'], '.frank_templates')
|
316
|
+
choice = nil
|
316
317
|
|
317
318
|
puts "\nFrank is...\n - \033[32mCreating\033[0m your project '#{project}'"
|
318
319
|
|
@@ -336,7 +337,7 @@ module Frank
|
|
336
337
|
end
|
337
338
|
|
338
339
|
Dir.mkdir project
|
339
|
-
template = templates[choice.to_i - 1]
|
340
|
+
template = choice.nil? ? 'default': templates[choice.to_i - 1]
|
340
341
|
|
341
342
|
puts " - \033[32mCopying\033[0m #{template} Frank template"
|
342
343
|
|
metadata
CHANGED