siteleaf 2.0.0.pre.beta4 → 2.0.0.pre.beta5

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e085778cf159189ab344a699e3484dc9299726f3
4
- data.tar.gz: b00baa1e820265522111fceb5320ee8cefb60487
3
+ metadata.gz: 48d3961018a2ae31f7ca22554980a52a96475580
4
+ data.tar.gz: e740115d270c4aa5ecc5445ee17354f041199984
5
5
  SHA512:
6
- metadata.gz: 9069278b5e7a8a20665cc030e5ef73d2943584d83019c54603af087fa3bf21c59da1390a5723f7373e85e3ead5f44b44a2ee06da13a250b27b8c6f36400c67b5
7
- data.tar.gz: d78e79de95365bd4b221797b8b79860a89fb32f0529e535020f3a1e5087fc8e4953e88567f47a74a297dbef50e0248b3df315e9c7543a524d7b8a7a9a8a1f135
6
+ metadata.gz: 474722209144aa393cfef32d18ebe46084fff1e7f27373b0b0d7fcd403e15ce119d24a5f20bcfe1ea092aaa9b74c335b2d3bb5807894274c3a17f9eb2d760e8a
7
+ data.tar.gz: 233518fcafc51888e0d73204e782543f8f1da09df4239add4b8f52ecc20e199903c608c0236c79801699e19cf87cd20d25370b75a2695b0eb0cf562bea8d11cd
@@ -25,7 +25,7 @@ module Siteleaf
25
25
  def frontmatter
26
26
  attrs = metadata || {}
27
27
  attrs['title'] = title
28
- attrs['date'] = Time.parse(published_at).utc.strftime('%F %T %z')
28
+ attrs['date'] = Time.parse(published_at).utc.strftime('%F %T %z') unless published_at.nil?
29
29
  attrs['published'] = false if draft?
30
30
  attrs['permalink'] = permalink unless permalink.nil?
31
31
 
@@ -1,3 +1,3 @@
1
1
  module Siteleaf
2
- VERSION = "2.0.0.pre.beta4"
2
+ VERSION = "2.0.0.pre.beta5"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: siteleaf
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0.pre.beta4
4
+ version: 2.0.0.pre.beta5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Siteleaf
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-08-24 00:00:00.000000000 Z
11
+ date: 2015-09-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: httparty