docker-sync 0.4.5.beta1 → 0.4.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/bin/console +10 -0
- data/lib/docker-sync/preconditions/preconditions_osx.rb +6 -1
- data/lib/docker-sync/sync_strategy/native_osx.rb +7 -1
- metadata +19 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 61bdc40a0828e33827ce2b7bdadb9fd42367ef01
|
4
|
+
data.tar.gz: 96ffb788a88ccf54fe335ccf76700e012fe03506
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1a269669d2127330b164ad5c3d715b02f8f7ec0913c4e2c3206622dc850cd4164fa9dc6d2f94fbd3f6eb5a98071b050c3dc6c407c38aa91777561e071b2ebe41
|
7
|
+
data.tar.gz: 7138d67e3f484004cba1bb993cb401ff674b980f74744f456aca42037801c462081b153c306bf66bde0c211bb89ff6cf21d2ce7fb900ea178e90553cd083b437
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.4.5
|
1
|
+
0.4.5
|
data/bin/console
ADDED
@@ -101,7 +101,12 @@ module DockerSync
|
|
101
101
|
|
102
102
|
def unox_available
|
103
103
|
if should_run_precondition?
|
104
|
-
|
104
|
+
if defined? Bundler
|
105
|
+
Bundler.with_clean_env { `brew list unox` }
|
106
|
+
else
|
107
|
+
`brew list unox`
|
108
|
+
end
|
109
|
+
|
105
110
|
unless $?.success?
|
106
111
|
# unox installed, but not using brew, we do not allow that anymore
|
107
112
|
if File.exist?('/usr/local/bin/unison-fsmonitor')
|
@@ -50,7 +50,13 @@ module Docker_Sync
|
|
50
50
|
|
51
51
|
ignore_strings = expand_ignore_strings
|
52
52
|
env['UNISON_EXCLUDES'] = ignore_strings.join(' ')
|
53
|
-
|
53
|
+
|
54
|
+
if @options.key?('sync_args')
|
55
|
+
sync_args = @options['sync_args']
|
56
|
+
sync_args = @options['sync_args'].join(' ') if @options['sync_args'].kind_of?(Array)
|
57
|
+
env['UNISON_ARGS'] = sync_args
|
58
|
+
end
|
59
|
+
|
54
60
|
env['UNISON_SYNC_PREFER'] = sync_prefer
|
55
61
|
env['MAX_INOTIFY_WATCHES'] = @options['max_inotify_watches'] if @options.key?('max_inotify_watches')
|
56
62
|
if @options['sync_userid'] == 'from_host'
|
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.4.5
|
4
|
+
version: 0.4.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Eugen Mayer
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-05-
|
11
|
+
date: 2017-05-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: thor
|
@@ -138,6 +138,20 @@ dependencies:
|
|
138
138
|
- - ">="
|
139
139
|
- !ruby/object:Gem::Version
|
140
140
|
version: '0'
|
141
|
+
- !ruby/object:Gem::Dependency
|
142
|
+
name: pry
|
143
|
+
requirement: !ruby/object:Gem::Requirement
|
144
|
+
requirements:
|
145
|
+
- - ">="
|
146
|
+
- !ruby/object:Gem::Version
|
147
|
+
version: '0'
|
148
|
+
type: :development
|
149
|
+
prerelease: false
|
150
|
+
version_requirements: !ruby/object:Gem::Requirement
|
151
|
+
requirements:
|
152
|
+
- - ">="
|
153
|
+
- !ruby/object:Gem::Version
|
154
|
+
version: '0'
|
141
155
|
description: Sync your code live to docker-containers without losing any performance
|
142
156
|
on OSX
|
143
157
|
email: eugen.mayer@kontextwork.de
|
@@ -150,6 +164,7 @@ extra_rdoc_files: []
|
|
150
164
|
files:
|
151
165
|
- Thorfile
|
152
166
|
- VERSION
|
167
|
+
- bin/console
|
153
168
|
- bin/docker-sync
|
154
169
|
- bin/docker-sync-daemon
|
155
170
|
- bin/docker-sync-stack
|
@@ -193,9 +208,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
193
208
|
version: '2.0'
|
194
209
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
195
210
|
requirements:
|
196
|
-
- - "
|
211
|
+
- - ">="
|
197
212
|
- !ruby/object:Gem::Version
|
198
|
-
version:
|
213
|
+
version: '0'
|
199
214
|
requirements: []
|
200
215
|
rubyforge_project:
|
201
216
|
rubygems_version: 2.4.5.1
|