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 +4 -4
- data/lib/dato/cli.rb +5 -5
- data/lib/dato/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 02431cad8a758c5f9b5f0c8576cd1722129e3cec6510babb951dbd71d7317ca9
|
4
|
+
data.tar.gz: 2da8005445d251f7c30e077a99db126c99ee3fb01db702a793733969ec7c5ea8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
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.
|
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-
|
11
|
+
date: 2018-07-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|