dato 0.1.10 → 0.1.11
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/README.md +1 -1
- data/docs/dato-cli.md +10 -2
- data/lib/dato/local/field_type/file.rb +4 -0
- data/lib/dato/version.rb +1 -1
- metadata +2 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: f91005b0e94c70a309df243d5c62039f60da319d
|
|
4
|
+
data.tar.gz: d737ccf440a21f459936699675cdea2c6b96fc63
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 135719e79f5765cdb695b7e8397202e8e08e54172a81193cfb66c0e9d3fa185b9fd3afe4c6e70192f6ab5d82916211ab5930188b22a618b03ab4af803b4fd817
|
|
7
|
+
data.tar.gz: 684cee79c4a3512fe08d9ba9b0d2b3de0922bd5d97905ed83f3eec38a084553c7fe3c75b5a4fe46d027fcb1e54e731b8a6069b620099508de0f3a370e29b1a87
|
data/README.md
CHANGED
|
@@ -8,7 +8,7 @@ Ruby client for the DatoCMS API.
|
|
|
8
8
|
|
|
9
9
|
1. Use your favorite static website generator (Middleman, Hugo, Jekyll, and many others);
|
|
10
10
|
2. Let your clients publish new content independently;
|
|
11
|
-
3.
|
|
11
|
+
3. Connect and build your site with any Continuous Deployment service (Netlify, Gitlab, CircleCI, etc.);
|
|
12
12
|
4. Host the site anywhere you like (Amazon S3, Netlify, Surge.sh, etc.)
|
|
13
13
|
|
|
14
14
|
## Usage
|
data/docs/dato-cli.md
CHANGED
|
@@ -217,10 +217,18 @@ Complex field types (ie. `image`, `file`, `video`, `seo`) implement specific met
|
|
|
217
217
|
```
|
|
218
218
|
article = dato.articles.first
|
|
219
219
|
|
|
220
|
-
article.cover_image.
|
|
220
|
+
article.cover_image.url(w: 500, fit: 'crop')
|
|
221
221
|
article.video.iframe_embed(800, 600)
|
|
222
222
|
```
|
|
223
223
|
|
|
224
|
+
### Examples
|
|
225
|
+
|
|
226
|
+
To help you with your first integration, here's a list of sample websites integrated with DatoCMS we built:
|
|
227
|
+
|
|
228
|
+
* [Middleman](https://github.com/datocms/middleman-example)
|
|
229
|
+
* [Jekyll](https://github.com/datocms/jekyll-example)
|
|
230
|
+
|
|
224
231
|
### Need more help?
|
|
225
232
|
|
|
226
|
-
Just ask! Send us an email to [support@datocms.com](mailto:support@datocms.com) and we'll be happy to
|
|
233
|
+
Just ask! Send us an email to [support@datocms.com](mailto:support@datocms.com) and we'll be happy to answer any question!
|
|
234
|
+
|
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.11
|
|
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-
|
|
11
|
+
date: 2016-09-02 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|
|
@@ -379,4 +379,3 @@ signing_key:
|
|
|
379
379
|
specification_version: 4
|
|
380
380
|
summary: Ruby client for DatoCMS API
|
|
381
381
|
test_files: []
|
|
382
|
-
has_rdoc:
|