nanoc3 3.0.8 → 3.0.9

Sign up to get free protection for your applications and to get access to all the features.
data/NEWS.rdoc CHANGED
@@ -1,5 +1,10 @@
1
1
  = nanoc News
2
2
 
3
+ == 3.0.9
4
+
5
+ * Fixed 1.8.x parsing bug due to lack of parens which could cause “undefined
6
+ method `to_iso8601_time` for #<String:0x…>” errors
7
+
3
8
  == 3.0.8
4
9
 
5
10
  * #atom_tag_for now works with base_urls that contain a path [Eric Sunshine]
@@ -168,7 +168,7 @@ module Nanoc3::Helpers
168
168
 
169
169
  # Add date
170
170
  time = last_article[:created_at]
171
- xml.updated (time.is_a?(String) ? Time.parse(time) : time).to_iso8601_time
171
+ xml.updated((time.is_a?(String) ? Time.parse(time) : time).to_iso8601_time)
172
172
 
173
173
  # Add links
174
174
  xml.link(:rel => 'alternate', :href => root_url)
@@ -193,7 +193,7 @@ module Nanoc3::Helpers
193
193
 
194
194
  # Add dates
195
195
  time = a[:created_at]
196
- xml.published (time.is_a?(String) ? Time.parse(time) : time).to_iso8601_time
196
+ xml.published((time.is_a?(String) ? Time.parse(time) : time).to_iso8601_time)
197
197
  xml.updated a.mtime.to_iso8601_time
198
198
 
199
199
  # Add link
data/lib/nanoc3.rb CHANGED
@@ -3,7 +3,7 @@
3
3
  module Nanoc3
4
4
 
5
5
  # The current nanoc version.
6
- VERSION = '3.0.8'
6
+ VERSION = '3.0.9'
7
7
 
8
8
  end
9
9
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nanoc3
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.8
4
+ version: 3.0.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Denis Defreyne