shinmun 1.0 → 1.0.1

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/shinmun/blog.rb +3 -0
  2. metadata +5 -6
data/lib/shinmun/blog.rb CHANGED
@@ -33,6 +33,9 @@ module Shinmun
33
33
 
34
34
  Dir.mkdir("#{path}/posts")
35
35
  Dir.mkdir("#{path}/pages")
36
+ File.open("#{path}/Gemfile") do |io|
37
+ io.puts('gem "shinmun"')
38
+ end
36
39
  end
37
40
 
38
41
  def render(name, vars = {})
metadata CHANGED
@@ -1,12 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: shinmun
3
3
  version: !ruby/object:Gem::Version
4
- hash: 15
4
+ hash: 21
5
5
  prerelease:
6
6
  segments:
7
7
  - 1
8
8
  - 0
9
- version: "1.0"
9
+ - 1
10
+ version: 1.0.1
10
11
  platform: ruby
11
12
  authors:
12
13
  - Matthias Georgi
@@ -14,8 +15,7 @@ autorequire:
14
15
  bindir: bin
15
16
  cert_chain: []
16
17
 
17
- date: 2011-06-06 00:00:00 +02:00
18
- default_executable:
18
+ date: 2011-06-06 00:00:00 Z
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
21
  name: BlueCloth
@@ -124,7 +124,6 @@ files:
124
124
  - templates/layout.rhtml
125
125
  - test/blog_spec.rb
126
126
  - test/post_spec.rb
127
- has_rdoc: true
128
127
  homepage: http://github.com/georgi/shinmun
129
128
  licenses: []
130
129
 
@@ -154,7 +153,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
154
153
  requirements: []
155
154
 
156
155
  rubyforge_project:
157
- rubygems_version: 1.4.2
156
+ rubygems_version: 1.8.5
158
157
  signing_key:
159
158
  specification_version: 3
160
159
  summary: file based blog engine