dato 0.3.27 → 0.3.28

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f2393dcdb225cf5a05035e0dfefd8114924728e6
4
- data.tar.gz: df09105f06f3fd81180f98240b8b6741cb7f9e7e
3
+ metadata.gz: d302526098db939d94ffa7579ad99155bd13cfa3
4
+ data.tar.gz: 29290a0a6f3f6dccbc9a91e7c8dc67beb06f9f3a
5
5
  SHA512:
6
- metadata.gz: d642a0e08f379793e2ced33e661df57cd1b3293c0c6e9345b63ec154c02c7515fe0df1fe70132d84c07f697720b7b125c703583b22e9d13429a8ae036e175cfd
7
- data.tar.gz: 6d9f2c4bdb21eb605d86fa6d87102555f865a3e27628fae0720d02c7a50bb9be7879ecd69707b65d3a227f2e6a620672c68cffc0058314753a8c8fcbdf5fc265
6
+ metadata.gz: 522527bbfa6fbab102087645d7c554d300dd6f55a63053461a229aa6df23fef8fdd80e4b5eda2f6d257da3bdf152f2e6cb1c570b2dacec35781447a51a093e82
7
+ data.tar.gz: b3bdcd08808c3203101cdcbac03a05260c6b45133c7d94ed96e0d32fb4b8fe8479b1a591da8aa662ae0a7fb8448a193f0f693f43a62d423c43a8b0b79ebf3b8c
@@ -0,0 +1,13 @@
1
+ # frozen_string_literal: true
2
+ module Dato
3
+ module Local
4
+ module FieldType
5
+ class Json
6
+ def self.parse(value, _repo)
7
+ value && JSON.parse(value)
8
+ end
9
+ end
10
+ end
11
+ end
12
+ end
13
+
data/lib/dato/version.rb CHANGED
@@ -1,4 +1,4 @@
1
1
  # frozen_string_literal: true
2
2
  module Dato
3
- VERSION = '0.3.27'
3
+ VERSION = '0.3.28'
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.3.27
4
+ version: 0.3.28
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stefano Verna
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-12-06 00:00:00.000000000 Z
11
+ date: 2018-01-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -405,6 +405,7 @@ files:
405
405
  - lib/dato/local/field_type/global_seo.rb
406
406
  - lib/dato/local/field_type/image.rb
407
407
  - lib/dato/local/field_type/integer.rb
408
+ - lib/dato/local/field_type/json.rb
408
409
  - lib/dato/local/field_type/lat_lon.rb
409
410
  - lib/dato/local/field_type/link.rb
410
411
  - lib/dato/local/field_type/links.rb