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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f91005b0e94c70a309df243d5c62039f60da319d
4
- data.tar.gz: d737ccf440a21f459936699675cdea2c6b96fc63
3
+ metadata.gz: 57f88cb5b563d207575df6cc877db833b84e6ba8
4
+ data.tar.gz: 18d368ed8bf4431445fef22bc81c894294802239
5
5
  SHA512:
6
- metadata.gz: 135719e79f5765cdb695b7e8397202e8e08e54172a81193cfb66c0e9d3fa185b9fd3afe4c6e70192f6ab5d82916211ab5930188b22a618b03ab4af803b4fd817
7
- data.tar.gz: 684cee79c4a3512fe08d9ba9b0d2b3de0922bd5d97905ed83f3eec38a084553c7fe3c75b5a4fe46d027fcb1e54e731b8a6069b620099508de0f3a370e29b1a87
6
+ metadata.gz: 5413cc7f5c30e958d53a929b954409e0ae0c6b3a625648d0f38d5ccb253aa1a5d8643803de577177ac9d29cf4775029ea028121f61c83910d8f6e47817258be4
7
+ data.tar.gz: d026c30365f6d67f2739f2785913831cf320c06a4f2283c1e6aad517b20842d6fa72dbf876bb31ec87c29ed493ded7bdd7b55305aaa44d1a5479dc3f1690dfa5
@@ -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
@@ -1,4 +1,4 @@
1
1
  # frozen_string_literal: true
2
2
  module Dato
3
- VERSION = '0.1.11'
3
+ VERSION = '0.1.12'
4
4
  end
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.11
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-02 00:00:00.000000000 Z
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: