docker-sync 0.7.1 → 0.7.2
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/VERSION +1 -1
- data/lib/docker-sync/dependencies/docker_driver.rb +5 -1
- data/lib/docker-sync/sync_strategy/unison.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 88cce934f387bf527bd53628913c8bfe95b99533cea63a0ab45258fa66a4b185
|
4
|
+
data.tar.gz: b7fa487477e4ba03b6082f8712a391e0ac7c15b1fde8c671b35436c2a244f35a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 635d2f2a06c5f284395b1dbc67db3fbc616efca42650a3d912265d1c88239078776a9975c74394b1dfb4071a5ca9b9f85234fe4a530932b0da1176dbb9b1e55b
|
7
|
+
data.tar.gz: 3e54b8c08bee9b846e9fdd8991b21370bc57b97bb0864b3a7f88712c775e72832902cf0134651ecd2ed6d33165c8496af48f8997f1429b41bc5643b3854621f2
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.7.
|
1
|
+
0.7.2
|
@@ -5,7 +5,11 @@ module DockerSync
|
|
5
5
|
def self.docker_for_mac?
|
6
6
|
return false unless Environment.mac?
|
7
7
|
return @docker_for_mac if defined? @docker_for_mac
|
8
|
-
|
8
|
+
|
9
|
+
# com.docker.hyperkit for old virtualization engine
|
10
|
+
# com.docker.virtualization for new virtualization engine
|
11
|
+
# see https://docs.docker.com/desktop/mac/#enable-the-new-apple-virtualization-framework
|
12
|
+
@docker_for_mac = Environment.system('pgrep -q com.docker.hyperkit') || Environment.system('pgrep -q com.docker.virtualization')
|
9
13
|
end
|
10
14
|
|
11
15
|
def self.docker_toolbox?
|
@@ -212,7 +212,7 @@ module DockerSync
|
|
212
212
|
say_status 'ok', "starting initial sync of #{container_name}", :white if @options['verbose']
|
213
213
|
# wait until container is started, then sync:
|
214
214
|
sync_host_port = get_host_port(get_container_name, UNISON_CONTAINER_PORT)
|
215
|
-
cmd = "unison -testserver #{@options['src']} \"socket://#{@options['sync_host_ip']}:#{sync_host_port}\""
|
215
|
+
cmd = "unison -testserver \"#{@options['src']}\" \"socket://#{@options['sync_host_ip']}:#{sync_host_port}\""
|
216
216
|
say_status 'command', cmd, :white if @options['verbose']
|
217
217
|
attempt = 0
|
218
218
|
max_attempt = @options['max_attempt'] || 5
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: docker-sync
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.7.
|
4
|
+
version: 0.7.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Eugen Mayer
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-05-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: thor
|
@@ -224,7 +224,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
224
224
|
- !ruby/object:Gem::Version
|
225
225
|
version: '0'
|
226
226
|
requirements: []
|
227
|
-
rubygems_version: 3.1.
|
227
|
+
rubygems_version: 3.1.6
|
228
228
|
signing_key:
|
229
229
|
specification_version: 4
|
230
230
|
summary: Docker Sync - Fast and efficient way to sync code to docker-containers
|