nanoc 1.6 → 1.6.1
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 +6 -1
- data/lib/nanoc/page.rb +0 -5
- data/lib/nanoc.rb +1 -1
- metadata +2 -2
data/ChangeLog
CHANGED
|
@@ -1,12 +1,17 @@
|
|
|
1
1
|
nanoc Release Notes
|
|
2
2
|
===================
|
|
3
3
|
|
|
4
|
+
1.6.1
|
|
5
|
+
-----
|
|
6
|
+
|
|
7
|
+
* Removed a stray debug message
|
|
8
|
+
|
|
4
9
|
1.6
|
|
5
10
|
---
|
|
6
11
|
|
|
7
12
|
* Added support for post-layout filters
|
|
8
13
|
* Added support for getting a File object for the page, so you can now e.g.
|
|
9
|
-
easily get the modification time for a given page (`@page.file.mtime`)
|
|
14
|
+
easily get the modification time for a given page (`@page.file.mtime`)
|
|
10
15
|
* Cleaned up the source code a lot
|
|
11
16
|
* Removed deprecated asset-copying functionality
|
|
12
17
|
|
data/lib/nanoc/page.rb
CHANGED
|
@@ -19,8 +19,6 @@ module Nanoc
|
|
|
19
19
|
@attributes[:content]
|
|
20
20
|
end
|
|
21
21
|
|
|
22
|
-
def stage=(s) ; @stage = s ; puts 'NEW STAGE = ' + s.to_s ; end
|
|
23
|
-
|
|
24
22
|
# Proxy/Liquid support
|
|
25
23
|
|
|
26
24
|
def to_proxy(params={})
|
|
@@ -90,9 +88,6 @@ module Nanoc
|
|
|
90
88
|
filters = @attributes[:filters_pre] || @attributes[:filters] || []
|
|
91
89
|
elsif @stage == :post
|
|
92
90
|
filters = @attributes[:filters_post] || []
|
|
93
|
-
else
|
|
94
|
-
puts '?????!!!!!!!!'
|
|
95
|
-
puts `pwd`
|
|
96
91
|
end
|
|
97
92
|
|
|
98
93
|
# Filter if not yet filtered
|
data/lib/nanoc.rb
CHANGED
metadata
CHANGED
|
@@ -3,8 +3,8 @@ rubygems_version: 0.9.2
|
|
|
3
3
|
specification_version: 1
|
|
4
4
|
name: nanoc
|
|
5
5
|
version: !ruby/object:Gem::Version
|
|
6
|
-
version:
|
|
7
|
-
date: 2007-10-
|
|
6
|
+
version: 1.6.1
|
|
7
|
+
date: 2007-10-14 00:00:00 +02:00
|
|
8
8
|
summary: a CMS that doesn't run on your server
|
|
9
9
|
require_paths:
|
|
10
10
|
- lib
|