dato 0.1.11 → 0.1.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/docs/dato-cli.md +1 -0
- data/lib/dato/dump/format/yaml.rb +14 -0
- 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: 57f88cb5b563d207575df6cc877db833b84e6ba8
|
|
4
|
+
data.tar.gz: 18d368ed8bf4431445fef22bc81c894294802239
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 5413cc7f5c30e958d53a929b954409e0ae0c6b3a625648d0f38d5ccb253aa1a5d8643803de577177ac9d29cf4775029ea028121f61c83910d8f6e47817258be4
|
|
7
|
+
data.tar.gz: d026c30365f6d67f2739f2785913831cf320c06a4f2283c1e6aad517b20842d6fa72dbf876bb31ec87c29ed493ded7bdd7b55305aaa44d1a5479dc3f1690dfa5
|
data/docs/dato-cli.md
CHANGED
|
@@ -227,6 +227,7 @@ To help you with your first integration, here's a list of sample websites integr
|
|
|
227
227
|
|
|
228
228
|
* [Middleman](https://github.com/datocms/middleman-example)
|
|
229
229
|
* [Jekyll](https://github.com/datocms/jekyll-example)
|
|
230
|
+
* [Hugo](https://github.com/datocms/hugo-example)
|
|
230
231
|
|
|
231
232
|
### Need more help?
|
|
232
233
|
|
|
@@ -2,6 +2,20 @@
|
|
|
2
2
|
require 'active_support/core_ext/hash/keys'
|
|
3
3
|
require 'yaml'
|
|
4
4
|
|
|
5
|
+
class Array
|
|
6
|
+
def deep_stringify_keys
|
|
7
|
+
inject([]) { |accum, value|
|
|
8
|
+
if (value.is_a?(Hash) or value.is_a?(Array))
|
|
9
|
+
new_val = value.deep_stringify_keys
|
|
10
|
+
accum.push new_val
|
|
11
|
+
else
|
|
12
|
+
accum.push value
|
|
13
|
+
end
|
|
14
|
+
accum
|
|
15
|
+
}
|
|
16
|
+
end
|
|
17
|
+
end
|
|
18
|
+
|
|
5
19
|
module Dato
|
|
6
20
|
module Dump
|
|
7
21
|
module Format
|
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.12
|
|
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-05 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|
|
@@ -379,3 +379,4 @@ signing_key:
|
|
|
379
379
|
specification_version: 4
|
|
380
380
|
summary: Ruby client for DatoCMS API
|
|
381
381
|
test_files: []
|
|
382
|
+
has_rdoc:
|