middleman-dato 0.5.7 → 0.5.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/dato/field_type/file.rb +2 -2
- data/lib/dato/field_type/image.rb +4 -0
- data/middleman-dato.gemspec +1 -1
- metadata +2 -3
- data/foo.rb +0 -12
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 08094a64ca64f2d34876b280fe75ef644065a103
|
4
|
+
data.tar.gz: 56b8d639a4b9348dd0d07cf22205cf16083a84d7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 98956b618bdd89884e57dbb5f05263bec51079d9a9cfd5df7b5db23614a050dafbf47e95a34c98ec1c96805830ba799157668116a0cd04ebd5a12088699c13e5
|
7
|
+
data.tar.gz: 6e3a18c2125738b44918efc0bfd7550b83d16d5b34ddb2c9ded88d0996bfce789ca68320e6d5d1b0cc50381fad574122c3dce080ae9e1cd5d0d823c744ed8bea
|
data/lib/dato/field_type/file.rb
CHANGED
data/middleman-dato.gemspec
CHANGED
@@ -3,7 +3,7 @@ $LOAD_PATH.push File.expand_path('../lib', __FILE__)
|
|
3
3
|
|
4
4
|
Gem::Specification.new do |s|
|
5
5
|
s.name = 'middleman-dato'
|
6
|
-
s.version = '0.5.
|
6
|
+
s.version = '0.5.8'
|
7
7
|
s.platform = Gem::Platform::RUBY
|
8
8
|
s.authors = ['Stefano Verna']
|
9
9
|
s.email = ['s.verna@cantierecreativo.net']
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: middleman-dato
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Stefano Verna
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-05-
|
11
|
+
date: 2016-05-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: middleman-core
|
@@ -93,7 +93,6 @@ files:
|
|
93
93
|
- ".rubocop.yml"
|
94
94
|
- Gemfile
|
95
95
|
- Rakefile
|
96
|
-
- foo.rb
|
97
96
|
- lib/dato/client.rb
|
98
97
|
- lib/dato/entities_repo.rb
|
99
98
|
- lib/dato/field_type/boolean.rb
|
data/foo.rb
DELETED
@@ -1,12 +0,0 @@
|
|
1
|
-
space = Dato::Space.new(
|
2
|
-
domain: 'admin.cucistorie.it',
|
3
|
-
api_host: 'http://127.0.0.1:3001',
|
4
|
-
token: 'xZqr1G8vRFOMnLe9ofn7w4Yr590SKhxjZ46v4tw1WXc'
|
5
|
-
)
|
6
|
-
|
7
|
-
space.refresh!
|
8
|
-
puts space.records_repo.creations.size
|
9
|
-
puts space.records_repo.creations.first.attributes.inspect
|
10
|
-
puts space.records_repo.creations.first.name
|
11
|
-
puts space.records_repo.creations.first.slug
|
12
|
-
puts space.records_repo.creations.first.cover_image.file.to_url
|