zenweb 3.10.0 → 3.10.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +0 -0
- data/History.txt +6 -0
- data/lib/zenweb.rb +1 -1
- data/lib/zenweb/page.rb +3 -0
- data/test/test_zenweb_page.rb +10 -0
- metadata +2 -2
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3737a3b87e86c85728272600f7ae0a1f8f55d564
|
4
|
+
data.tar.gz: d3bdb4f609b52e54d3754bf3eede3ca0f8fdf584
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8e47e0cac3bb1f56c6ff9b049fc7e8f356a4ac7bc25d7848d7be8f6b34252ea9c3be128e1bc00ca830cac84ff974412a22fe6b752b5e00f29dbd0bdb7a193769
|
7
|
+
data.tar.gz: 8434b923ad69c434d5fccc2c0034588a30d75bafc04cb36a07e9a76691eb366ff64d9fc7e7655d317ae8c220bd4bd1f7537836448c41fef20c5216c6f42fbb79
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data.tar.gz.sig
CHANGED
Binary file
|
data/History.txt
CHANGED
data/lib/zenweb.rb
CHANGED
data/lib/zenweb/page.rb
CHANGED
data/test/test_zenweb_page.rb
CHANGED
@@ -370,6 +370,16 @@ class TestZenwebPage < Minitest::Test
|
|
370
370
|
assert_includes e.message, err
|
371
371
|
end
|
372
372
|
|
373
|
+
def test_layout_nil_string
|
374
|
+
e = assert_raises RuntimeError do
|
375
|
+
page.config.h["layout"] = "nil"
|
376
|
+
page.layout
|
377
|
+
end
|
378
|
+
|
379
|
+
exp = 'unknown layout "nil" for page "blog/2012-01-02-page1.html.md"'
|
380
|
+
assert_equal exp, e.message
|
381
|
+
end
|
382
|
+
|
373
383
|
def test_parent
|
374
384
|
site.scan
|
375
385
|
self.page = site.pages[page.path]
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: zenweb
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.10.
|
4
|
+
version: 3.10.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ryan Davis
|
@@ -30,7 +30,7 @@ cert_chain:
|
|
30
30
|
E4oJcnPkJAr0rw504JGtlZtONZQblwmRJOIdXzolaE3NRGUzGVOUSptZppAKiavY
|
31
31
|
fO6tdKQc/5RfA8oQEkg8hrxA5PQSz4TOFJGLpFvIapEk6tMruQ0bHgkhr9auXg==
|
32
32
|
-----END CERTIFICATE-----
|
33
|
-
date: 2016-
|
33
|
+
date: 2016-11-17 00:00:00.000000000 Z
|
34
34
|
dependencies:
|
35
35
|
- !ruby/object:Gem::Dependency
|
36
36
|
name: rake
|
metadata.gz.sig
CHANGED
Binary file
|