dato 0.6.6 → 0.6.7

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
  SHA256:
3
- metadata.gz: c6d5fcd23ebe0f282e0da5ae50c1dc29f58f747dbed7f5fea9140d88d629aa38
4
- data.tar.gz: 9f96f759b864e74848424d3657dea5201d76fde0692aec69bd337c26bf1efd71
3
+ metadata.gz: 02431cad8a758c5f9b5f0c8576cd1722129e3cec6510babb951dbd71d7317ca9
4
+ data.tar.gz: 2da8005445d251f7c30e077a99db126c99ee3fb01db702a793733969ec7c5ea8
5
5
  SHA512:
6
- metadata.gz: c569d6f7d8f902b9e5f6c2226674b62e3090c613cd973801b38a0cfc1367db7f28a5c36aa47dfc1891067e3e0503413597972a7c179003dfca422bc071e3a40e
7
- data.tar.gz: 29f6685c6cd37e66cbd27f77b79b1102546ed7c054a5167511ba4380d819dbc45f4ac4eef399be0b047de426bca5af5bc079260712fa8c170a61caaa4c8fec72
6
+ metadata.gz: 7e7a32026b3397bd3f1513cfe96b964deec3548f39dfbb148ded6e2c6bc314ed73e0ec61ac39a8860c653f00d48a0b795bdaa9c0d24ec26241eadc5fba227419
7
+ data.tar.gz: 192db48b4654a85974866561b0289aa7148456fa2c83e3c896b2caf9b9d0ffb63b383344916debcffdafddcdd45c69929eb5e140c83e84167349a9a00c029ade
data/lib/dato/cli.rb CHANGED
@@ -33,14 +33,14 @@ module Dato
33
33
 
34
34
  semaphore = Mutex.new
35
35
 
36
- thread_safe_dump(semaphore, config_file, client)
36
+ thread_safe_dump(semaphore, config_file, client, preview_mode)
37
37
 
38
38
  Dato::Watch::SiteChangeWatcher.new(site_id).connect do
39
- thread_safe_dump(semaphore, config_file, client)
39
+ thread_safe_dump(semaphore, config_file, client, preview_mode)
40
40
  end
41
41
 
42
42
  watch_config_file(config_file) do
43
- thread_safe_dump(semaphore, config_file, client)
43
+ thread_safe_dump(semaphore, config_file, client, preview_mode)
44
44
  end
45
45
 
46
46
  sleep
@@ -79,9 +79,9 @@ module Dato
79
79
  ).start
80
80
  end
81
81
 
82
- def thread_safe_dump(semaphore, config_file, client)
82
+ def thread_safe_dump(semaphore, config_file, client, preview_mode)
83
83
  semaphore.synchronize do
84
- Dump::Runner.new(config_file, client).run
84
+ Dump::Runner.new(config_file, client, preview_mode).run
85
85
  end
86
86
  end
87
87
  end
data/lib/dato/version.rb CHANGED
@@ -1,4 +1,4 @@
1
1
  # frozen_string_literal: true
2
2
  module Dato
3
- VERSION = '0.6.6'
3
+ VERSION = '0.6.7'
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.6.6
4
+ version: 0.6.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stefano Verna
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-07-20 00:00:00.000000000 Z
11
+ date: 2018-07-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler