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 +4 -4
- data/lib/siteleaf/content.rb +1 -1
- data/lib/siteleaf/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 48d3961018a2ae31f7ca22554980a52a96475580
|
4
|
+
data.tar.gz: e740115d270c4aa5ecc5445ee17354f041199984
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 474722209144aa393cfef32d18ebe46084fff1e7f27373b0b0d7fcd403e15ce119d24a5f20bcfe1ea092aaa9b74c335b2d3bb5807894274c3a17f9eb2d760e8a
|
7
|
+
data.tar.gz: 233518fcafc51888e0d73204e782543f8f1da09df4239add4b8f52ecc20e199903c608c0236c79801699e19cf87cd20d25370b75a2695b0eb0cf562bea8d11cd
|
data/lib/siteleaf/content.rb
CHANGED
@@ -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
|
|
data/lib/siteleaf/version.rb
CHANGED
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.
|
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-
|
11
|
+
date: 2015-09-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: httparty
|