ceilingfish-toto 0.4.3 → 0.4.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/VERSION +1 -1
  2. data/ceilingfish-toto.gemspec +1 -1
  3. data/lib/toto.rb +2 -2
  4. metadata +1 -1
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.4.3
1
+ 0.4.4
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{ceilingfish-toto}
8
- s.version = "0.4.3"
8
+ s.version = "0.4.4"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["cloudhead", "ceilingfish"]
data/lib/toto.rb CHANGED
@@ -67,7 +67,7 @@ module Toto
67
67
 
68
68
  def archives filter = ""
69
69
  entries = ! self.articles.empty??
70
- self.articles.reverse.select do |a|
70
+ self.articles.select do |a|
71
71
  filter !~ /^\d{4}/ || a.path =~ /^\/#{filter}/
72
72
  end : []
73
73
 
@@ -79,7 +79,7 @@ module Toto
79
79
  end
80
80
 
81
81
  def articles ext = self[:ext]
82
- Dir["#{Paths[:articles]}/*.#{ext}"].reverse.map do |article|
82
+ Dir["#{Paths[:articles]}/*.#{ext}"].map do |article|
83
83
  Article.new article, @config
84
84
  end
85
85
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ceilingfish-toto
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.3
4
+ version: 0.4.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - cloudhead