serious 0.2.3 → 0.2.4

Sign up to get free protection for your applications and to get access to all the features.
data/README.rdoc CHANGED
@@ -198,6 +198,13 @@ working dir (a.k.a. where your config.ru sits)
198
198
 
199
199
  Serious.set :articles, '/home/youruser/myblogposts'
200
200
 
201
+ === Setting the pages path
202
+
203
+ Similarily to the articles path, the pages will be served from your sites working directory's
204
+ subdirectory <code>pages</code>. Customize this with:
205
+
206
+ Serious.set :pages, '/home/youruser/mystaticpages'
207
+
201
208
  === The title
202
209
 
203
210
  The title is used for your atom feed, the site name and so on. It defaults to 'Serious' and you
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.2.3
1
+ 0.2.4
@@ -6,7 +6,9 @@
6
6
  <div class="body">
7
7
  <% if summary_only %>
8
8
  <%= article.summary.formatted %>
9
- <span class="right date"><a href="<%= article.url %>">read on...</a></span>
9
+ <% if article.summary.length != article.body.length %>
10
+ <span class="right date"><a href="<%= article.url %>">read on...</a></span>
11
+ <% end %>
10
12
  <% else %>
11
13
  <%= article.body.formatted %>
12
14
 
data/serious.gemspec CHANGED
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{serious}
8
- s.version = "0.2.3"
8
+ s.version = "0.2.4"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Christoph Olszowka"]
12
- s.date = %q{2010-02-13}
12
+ s.date = %q{2010-02-14}
13
13
  s.default_executable = %q{serious}
14
14
  s.description = %q{Serious is a simple, file-driven blog engine inspired by toto and driven by sinatra}
15
15
  s.email = %q{christoph at olszowka dot de}
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: serious
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.3
4
+ version: 0.2.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Christoph Olszowka
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2010-02-13 00:00:00 +01:00
12
+ date: 2010-02-14 00:00:00 +01:00
13
13
  default_executable: serious
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency