dato 0.1.18 → 0.1.19
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/dato/dump/ssg_detector.rb +4 -2
- data/lib/dato/version.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 378f15097ac2294e7ed2dd9c5114aaa755794d03
|
4
|
+
data.tar.gz: ab141f4cd1c67654e11bb9b2508ab782f8ad6837
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 93df2cc0fd5b7832d2a524c798d284dc5cbb9cc47c1c6b36dfdecd3c197a6158c2c2838ff98036315a6c294615d5fed0bf58912064392214782ec2ab862812a2
|
7
|
+
data.tar.gz: d3b3028b3f3d8ac8dc2ea940a4535eac0b0bfb1ee8e236c5b85e87e1094229d1b66cc2200b79bc579759f131926458c46b8729181fbc45a632f2efb2de3dc58b
|
@@ -86,8 +86,10 @@ module Dato
|
|
86
86
|
def hugo
|
87
87
|
HUGO.any? do |option|
|
88
88
|
config_path = File.join(path, option[:file])
|
89
|
-
|
90
|
-
|
89
|
+
if File.exist?(config_path)
|
90
|
+
config = option[:loader].call(File.read(config_path))
|
91
|
+
config.key? 'baseurl'
|
92
|
+
end
|
91
93
|
end && 'hugo'
|
92
94
|
rescue JSON::ParserError
|
93
95
|
nil
|
data/lib/dato/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dato
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.19
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Stefano Verna
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-09-
|
11
|
+
date: 2016-09-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -380,3 +380,4 @@ signing_key:
|
|
380
380
|
specification_version: 4
|
381
381
|
summary: Ruby client for DatoCMS API
|
382
382
|
test_files: []
|
383
|
+
has_rdoc:
|