frank 1.0.0 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/frank.gemspec +1 -1
  2. data/lib/frank/base.rb +3 -2
  3. metadata +3 -3
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{frank}
8
- s.version = "1.0.0"
8
+ s.version = "1.0.1"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["blahed", "nwah"]
@@ -6,7 +6,7 @@ require 'frank/middleware/statik'
6
6
  require 'frank/middleware/refresh'
7
7
 
8
8
  module Frank
9
- VERSION = '1.0.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
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: frank
3
3
  version: !ruby/object:Gem::Version
4
- hash: 23
4
+ hash: 21
5
5
  prerelease: false
6
6
  segments:
7
7
  - 1
8
8
  - 0
9
- - 0
10
- version: 1.0.0
9
+ - 1
10
+ version: 1.0.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - blahed