plate 0.7.2 → 0.7.3

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/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ## Plate 0.7.3
2
+
3
+ * Bug fix, reverse order of paged posts.
4
+
1
5
  ## Plate 0.7.2
2
6
 
3
7
  * Added paged posts archive DSL method.
data/README.md CHANGED
@@ -8,7 +8,7 @@ In addition to basic formatting with Markdown, Plate also supports generating mo
8
8
 
9
9
  Plate is a command line utility installed as a Ruby Gem. Installation requires Ruby 1.8.7, 1.9.2 or 1.9.3.
10
10
 
11
- Current version is **0.7.2**
11
+ Current version is **0.7.3**
12
12
 
13
13
  ## Installation
14
14
 
data/lib/plate/dsl.rb CHANGED
@@ -257,7 +257,7 @@ module Plate
257
257
 
258
258
  posts.flatten!
259
259
 
260
- groups = posts.in_groups_of(per_page, false)
260
+ groups = posts.reverse.in_groups_of(per_page, false)
261
261
 
262
262
  groups.each do |group|
263
263
  page = DynamicPage.new(site, "/page/#{current_page}")
data/lib/plate/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Plate
2
- VERSION = "0.7.2" unless defined?(::Plate::VERSION)
2
+ VERSION = "0.7.3" unless defined?(::Plate::VERSION)
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: plate
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.2
4
+ version: 0.7.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-09-05 00:00:00.000000000 Z
12
+ date: 2012-09-06 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: activesupport