dato 0.1.27 → 0.1.28

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: 19d19bd62270b624d91f38544d04319a34d914ab
4
- data.tar.gz: 4c99031a7e1bf7eed753396cc476a428c9c77607
3
+ metadata.gz: 7e1489fa5b62c27bd549e5a748f5ba62e7491178
4
+ data.tar.gz: 43f2bec615c498261483b2c29b8bbf9fc396fc35
5
5
  SHA512:
6
- metadata.gz: dbf799effc6214f297c357e9757dae68fd80c3525968eece23dd25560a2d3d12a10332da1bd3b57f4113947e2492391b540fce1a81c3fbad8c6a693dc7f0ad9d
7
- data.tar.gz: 3a6fecfe6a5fe18a20ac8172242477e072da25969aa8ba1e71274435ab0d030edb483340f789feb1dabb4405f536b57fa6a17aae678f23896636a2090d1984bf
6
+ metadata.gz: f9ae175131705bcf1e6b221417b05ae6d78b92095db03e498d675302e53c6edba253757f6859b0cb6d5f8f48566d3260c3a86d26b163081ae1bad3a88be469b2
7
+ data.tar.gz: 9ed0679d2c7483e8b5444470771d19e721feafe3e532210d79187344dba56939463e8e6a1668c91fd81f33dfebd0237d976a1154ba55e0e30d92b051417c0b17
data/README.md CHANGED
@@ -31,7 +31,7 @@ The DatoCMS API provides an always up-to-date [JSON Hyperschema](http://json-sch
31
31
 
32
32
  ## Contributing
33
33
 
34
- Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/dato. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
34
+ Bug reports and pull requests are welcome on GitHub at https://github.com/datocms/ruby-datocms-client. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
35
35
 
36
36
  ## License
37
37
 
data/dato.config.rb ADDED
@@ -0,0 +1 @@
1
+ puts dato.blog_posts.first.title
@@ -21,6 +21,7 @@ module Dato
21
21
  loader.load
22
22
 
23
23
  I18n.available_locales = loader.items_repo.available_locales
24
+ I18n.locale = I18n.available_locales.first
24
25
 
25
26
  Dsl::Root.new(
26
27
  File.read(config_path),
data/lib/dato/version.rb CHANGED
@@ -1,4 +1,4 @@
1
1
  # frozen_string_literal: true
2
2
  module Dato
3
- VERSION = '0.1.27'
3
+ VERSION = '0.1.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.1.27
4
+ version: 0.1.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: 2016-09-13 00:00:00.000000000 Z
11
+ date: 2016-09-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -337,6 +337,7 @@ files:
337
337
  - Rakefile
338
338
  - bin/console
339
339
  - bin/setup
340
+ - dato.config.rb
340
341
  - dato.gemspec
341
342
  - docs/account-api-client.md
342
343
  - docs/dato-cli.md
@@ -424,4 +425,3 @@ signing_key:
424
425
  specification_version: 4
425
426
  summary: Ruby client for DatoCMS API
426
427
  test_files: []
427
- has_rdoc: