-
Notifications
You must be signed in to change notification settings - Fork 5
/
postview.gemspec
206 lines (195 loc) · 9.21 KB
/
postview.gemspec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
Gem::Specification.new do |spec|
spec.platform = Gem::Platform::RUBY
#about
spec.name = "postview"
spec.summary = "Postview is a simple blog engine that render Markdown files."
spec.description = "Postview is a simple blog engine written in Ruby/Sinatra for render files written in Markdown."
spec.authors = ["Hallison Batista"]
spec.email = "hallison.batista@gmail.com"
spec.homepage = "http://postview.rubyforge.org/"
#
#version
spec.version = "0.10.0"
spec.date = "2010-02-08"
#
#dependencies
spec.add_dependency "postage"
spec.add_dependency "sinatra-mapping"
#
#manifest
spec.files = [
".version",
"ABOUT",
"CHANGELOG",
"LICENSE",
"README.md",
"Rakefile",
"bin/postview",
"lib/postview.rb",
"lib/postview/application.rb",
"lib/postview/application/blog.rb",
"lib/postview/application/build.rb",
"lib/postview/application/share/images/gradient-bottom-1x24.png",
"lib/postview/application/share/images/gradient-top-1x24.png",
"lib/postview/application/share/images/postview-icon.png",
"lib/postview/application/share/images/postview-logo.png",
"lib/postview/application/share/stylesheets/postview.css",
"lib/postview/application/share/stylesheets/wappit",
"lib/postview/application/views/build.erb",
"lib/postview/application/views/layout.erb",
"lib/postview/authentication.rb",
"lib/postview/cli.rb",
"lib/postview/cli/create_command.rb",
"lib/postview/cli/server_command.rb",
"lib/postview/compatibility.rb",
"lib/postview/extensions.rb",
"lib/postview/helpers.rb",
"lib/postview/settings.rb",
"lib/postview/site.rb",
"postview.gemspec",
"test/application_blog_test.rb",
"test/application_build_test.rb",
"test/config_test.rb",
"test/customizations.rb",
"test/fixtures/blog/config/settings.yml",
"test/fixtures/blog/posts/20090529-third_article.t1.t2.t3.mkd",
"test/fixtures/blog/posts/20090602-fourth_article.t1.t2.t3.t4.mkd",
"test/fixtures/blog/posts/archive/20080529-first_article.t1.mkd",
"test/fixtures/blog/posts/archive/20080602-second_article.t1.t2.mkd",
"test/fixtures/blog/posts/drafts/20090730-fifth_article.t1.t2.t3.t4.t5.mkd",
"test/fixtures/blog/themes/mytheme/images/banners/banner.jpg",
"test/fixtures/blog/themes/mytheme/images/favicon.ico",
"test/fixtures/blog/themes/mytheme/images/logo.png",
"test/fixtures/blog/themes/mytheme/images/navigation-bar.gif",
"test/fixtures/blog/themes/mytheme/images/postview.png",
"test/fixtures/blog/themes/mytheme/images/rack.png",
"test/fixtures/blog/themes/mytheme/images/ruby.png",
"test/fixtures/blog/themes/mytheme/images/sinatra.png",
"test/fixtures/blog/themes/mytheme/images/trojan.com",
"test/fixtures/blog/themes/mytheme/javascripts/postview.js",
"test/fixtures/blog/themes/mytheme/stylesheets/gemstone.css",
"test/fixtures/blog/themes/mytheme/stylesheets/postview.css",
"test/fixtures/blog/themes/mytheme/templates/about.erb",
"test/fixtures/blog/themes/mytheme/templates/archive/index.erb",
"test/fixtures/blog/themes/mytheme/templates/archive/show.erb",
"test/fixtures/blog/themes/mytheme/templates/drafts/index.erb",
"test/fixtures/blog/themes/mytheme/templates/drafts/show.erb",
"test/fixtures/blog/themes/mytheme/templates/error.erb",
"test/fixtures/blog/themes/mytheme/templates/index.erb",
"test/fixtures/blog/themes/mytheme/templates/layout.erb",
"test/fixtures/blog/themes/mytheme/templates/posts/index.erb",
"test/fixtures/blog/themes/mytheme/templates/posts/show.erb",
"test/fixtures/blog/themes/mytheme/templates/search.erb",
"test/fixtures/blog/themes/mytheme/templates/tags/index.erb",
"test/fixtures/blog/themes/mytheme/templates/tags/show.erb",
"test/fixtures/empty.yml",
"test/fixtures/incomplete.yml",
"test/fixtures/site/blog/config/settings.yml",
"test/fixtures/site/blog/posts/20090529-third_article.t1.t2.t3.mkd",
"test/fixtures/site/blog/posts/20090602-fourth_article.t1.t2.t3.t4.mkd",
"test/fixtures/site/blog/posts/archive/20080529-first_article.t1.mkd",
"test/fixtures/site/blog/posts/archive/20080602-second_article.t1.t2.mkd",
"test/fixtures/site/blog/posts/drafts/20090730-fifth_article.t1.t2.t3.t4.t5.mkd",
"test/fixtures/site/blog/themes/mytheme/images/banners/banner.jpg",
"test/fixtures/site/blog/themes/mytheme/images/favicon.ico",
"test/fixtures/site/blog/themes/mytheme/images/logo.png",
"test/fixtures/site/blog/themes/mytheme/images/navigation-bar.gif",
"test/fixtures/site/blog/themes/mytheme/images/postview.png",
"test/fixtures/site/blog/themes/mytheme/images/rack.png",
"test/fixtures/site/blog/themes/mytheme/images/ruby.png",
"test/fixtures/site/blog/themes/mytheme/images/sinatra.png",
"test/fixtures/site/blog/themes/mytheme/images/trojan.com",
"test/fixtures/site/blog/themes/mytheme/javascripts/postview.js",
"test/fixtures/site/blog/themes/mytheme/stylesheets/gemstone.css",
"test/fixtures/site/blog/themes/mytheme/stylesheets/postview.css",
"test/fixtures/site/blog/themes/mytheme/templates/about.erb",
"test/fixtures/site/blog/themes/mytheme/templates/archive/index.erb",
"test/fixtures/site/blog/themes/mytheme/templates/archive/show.erb",
"test/fixtures/site/blog/themes/mytheme/templates/drafts/index.erb",
"test/fixtures/site/blog/themes/mytheme/templates/drafts/show.erb",
"test/fixtures/site/blog/themes/mytheme/templates/error.erb",
"test/fixtures/site/blog/themes/mytheme/templates/index.erb",
"test/fixtures/site/blog/themes/mytheme/templates/layout.erb",
"test/fixtures/site/blog/themes/mytheme/templates/posts/index.erb",
"test/fixtures/site/blog/themes/mytheme/templates/posts/show.erb",
"test/fixtures/site/blog/themes/mytheme/templates/search.erb",
"test/fixtures/site/blog/themes/mytheme/templates/tags/index.erb",
"test/fixtures/site/blog/themes/mytheme/templates/tags/show.erb",
"test/fixtures/site/themes/mytheme/images/banners/banner.jpg",
"test/fixtures/site/themes/mytheme/images/favicon.ico",
"test/fixtures/site/themes/mytheme/images/logo.png",
"test/fixtures/site/themes/mytheme/images/navigation-bar.gif",
"test/fixtures/site/themes/mytheme/images/postview.png",
"test/fixtures/site/themes/mytheme/images/rack.png",
"test/fixtures/site/themes/mytheme/images/ruby.png",
"test/fixtures/site/themes/mytheme/images/sinatra.png",
"test/fixtures/site/themes/mytheme/images/trojan.com",
"test/fixtures/site/themes/mytheme/javascripts/postview.js",
"test/fixtures/site/themes/mytheme/stylesheets/gemstone.css",
"test/fixtures/site/themes/mytheme/stylesheets/postview.css",
"test/fixtures/site/themes/mytheme/templates/about.erb",
"test/fixtures/site/themes/mytheme/templates/archive/index.erb",
"test/fixtures/site/themes/mytheme/templates/archive/show.erb",
"test/fixtures/site/themes/mytheme/templates/drafts/index.erb",
"test/fixtures/site/themes/mytheme/templates/drafts/show.erb",
"test/fixtures/site/themes/mytheme/templates/error.erb",
"test/fixtures/site/themes/mytheme/templates/index.erb",
"test/fixtures/site/themes/mytheme/templates/layout.erb",
"test/fixtures/site/themes/mytheme/templates/posts/index.erb",
"test/fixtures/site/themes/mytheme/templates/posts/show.erb",
"test/fixtures/site/themes/mytheme/templates/search.erb",
"test/fixtures/site/themes/mytheme/templates/tags/index.erb",
"test/fixtures/site/themes/mytheme/templates/tags/show.erb",
"test/helpers_test.rb",
"test/settings_test.rb",
"test/site_test.rb",
"themes/default/images/favicon.ico",
"themes/default/images/logo.png",
"themes/default/images/navigation-bar.gif",
"themes/default/images/postview.png",
"themes/default/images/rack.png",
"themes/default/images/ruby.png",
"themes/default/images/sinatra.png",
"themes/default/stylesheets/postview.css",
"themes/default/templates/about.erb",
"themes/default/templates/archive/index.erb",
"themes/default/templates/archive/show.erb",
"themes/default/templates/drafts/index.erb",
"themes/default/templates/drafts/show.erb",
"themes/default/templates/error.erb",
"themes/default/templates/index.erb",
"themes/default/templates/layout.erb",
"themes/default/templates/posts/index.erb",
"themes/default/templates/posts/show.erb",
"themes/default/templates/search.erb",
"themes/default/templates/tags/index.erb",
"themes/default/templates/tags/show.erb"
]
#
spec.test_files = spec.files.select{ |path| path =~ /^test\/*test*/ }
spec.require_paths = ["lib"]
#documentation
spec.has_rdoc = true
spec.extra_rdoc_files = [
"LICENSE",
"CHANGELOG"
]
spec.rdoc_options = [
"--inline-source",
"--line-numbers",
"--charset", "utf8",
"--main", "Postview",
"--title", "Postview API Documentation"
]
#rubygems
spec.rubyforge_project = spec.name
spec.post_install_message = <<-end_message.gsub(/^[ ]{4}/,'')
#{'-'*78}
#{spec.name} v#{spec.version} (#{spec.date})
Thanks for use this lightweight blog-engine. Now, you can read your posts by
editing in your favorite editor.
Please, feedback in http://github.com/hallison/postview/issues.
#{'-'*78}
end_message
#
end