serious 0.2.4 → 0.2.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.2.4
1
+ 0.2.5
data/lib/serious/page.rb CHANGED
@@ -4,7 +4,7 @@ class Serious::Page < Serious::Article
4
4
  # Returns all pages
5
5
  #
6
6
  def all
7
- @pages ||= page_paths.map { |path| new(path) }
7
+ @all ||= page_paths.map { |path| new(path) }
8
8
  end
9
9
 
10
10
  def find(permalink)
@@ -8,7 +8,5 @@
8
8
  <h3><a href="/archives">Older posts</a></h3>
9
9
  <%= render_archived @archived %>
10
10
 
11
- <% if Serious::Page.all.count > 0 %>
12
- <h3><a href="/pages">Pages</a></h3>
13
- <%= render_archived Serious::Page.all %>
14
- <% end %>
11
+ <h3><a href="/pages">Pages</a></h3>
12
+ <%= render_archived Serious::Page.all %>
data/serious.gemspec CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{serious}
8
- s.version = "0.2.4"
8
+ s.version = "0.2.5"
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"]
data/test/test_serious.rb CHANGED
@@ -278,8 +278,6 @@ class TestSerious < Test::Unit::TestCase
278
278
  end
279
279
  end
280
280
 
281
-
282
-
283
281
  # ===================================================================
284
282
  # Tests for pages
285
283
  # ===================================================================
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.4
4
+ version: 0.2.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Christoph Olszowka