francis 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/francis.rb +5 -0
  2. metadata +3 -3
data/lib/francis.rb CHANGED
@@ -58,6 +58,11 @@ class Francis
58
58
  if options.include?("--git")
59
59
  system("git init")
60
60
  end
61
+ if options.include?("--readme")
62
+ File.open("README.md","a") do |f|
63
+ f.write("# #{name.upcase}")
64
+ end
65
+ end
61
66
  puts "Sinatra app '#{name}' created!"
62
67
  end
63
68
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: francis
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-03-03 00:00:00.000000000 Z
12
+ date: 2013-05-08 00:00:00.000000000 Z
13
13
  dependencies: []
14
14
  description: A command line tool for quickly setting up Sinatra apps
15
15
  email: ian@iankent.me
@@ -40,7 +40,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
40
40
  version: '0'
41
41
  requirements: []
42
42
  rubyforge_project:
43
- rubygems_version: 1.8.23
43
+ rubygems_version: 1.8.25
44
44
  signing_key:
45
45
  specification_version: 3
46
46
  summary: Francis