nanoc 1.6.1 → 1.6.2

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.
Files changed (3) hide show
  1. data/lib/nanoc.rb +1 -1
  2. data/lib/nanoc/page_proxy.rb +4 -0
  3. metadata +2 -2
data/lib/nanoc.rb CHANGED
@@ -1,6 +1,6 @@
1
1
  module Nanoc
2
2
 
3
- VERSION = '1.6.1'
3
+ VERSION = '1.6.2'
4
4
 
5
5
  def self.ensure_in_site
6
6
  unless in_site?
@@ -18,6 +18,10 @@ module Nanoc
18
18
  end
19
19
  end
20
20
 
21
+ def []=(key, value)
22
+ @page.attributes[key.to_sym] = value
23
+ end
24
+
21
25
  def method_missing(method, *args)
22
26
  self[method]
23
27
  end
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: 1.6.1
7
- date: 2007-10-14 00:00:00 +02:00
6
+ version: 1.6.2
7
+ date: 2007-10-23 00:00:00 +02:00
8
8
  summary: a CMS that doesn't run on your server
9
9
  require_paths:
10
10
  - lib