docker-sync 0.4.5.beta1 → 0.4.5

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: 76bc32a2f3d620ab4653e45794c291b15b95a92d
4
- data.tar.gz: 7637a5e5c80829ea57eedac35bf6dec03577fb05
3
+ metadata.gz: 61bdc40a0828e33827ce2b7bdadb9fd42367ef01
4
+ data.tar.gz: 96ffb788a88ccf54fe335ccf76700e012fe03506
5
5
  SHA512:
6
- metadata.gz: cd56cf21e48e9de9a65a1d302ed8a855e4a6bb2ee25b6d8586c1d875fece70ca990929789933295ba2202d0b85c0841777a1a7c6f945bad7cf880f05112fe1db
7
- data.tar.gz: 95760601c00ddab3cfb3cd05d822a8da442f2b35f86486704515705c340fc8c78f979470e9a47202eea37e0534a4dc1e66b574265b04d002ec87f77b52536983
6
+ metadata.gz: 1a269669d2127330b164ad5c3d715b02f8f7ec0913c4e2c3206622dc850cd4164fa9dc6d2f94fbd3f6eb5a98071b050c3dc6c407c38aa91777561e071b2ebe41
7
+ data.tar.gz: 7138d67e3f484004cba1bb993cb401ff674b980f74744f456aca42037801c462081b153c306bf66bde0c211bb89ff6cf21d2ce7fb900ea178e90553cd083b437
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.4.5.beta1
1
+ 0.4.5
@@ -0,0 +1,10 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require 'bundler/setup'
4
+ require 'docker-sync'
5
+
6
+ # You can add fixtures and/or initialization code here to make experimenting
7
+ # with your gem easier. You can also use a different console, if you like.
8
+
9
+ require 'pry'
10
+ Pry.start
@@ -101,7 +101,12 @@ module DockerSync
101
101
 
102
102
  def unox_available
103
103
  if should_run_precondition?
104
- `brew list unox`
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
- env['UNISON_ARGS'] = @options['sync_args']
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.beta1
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-09 00:00:00.000000000 Z
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: 1.3.1
213
+ version: '0'
199
214
  requirements: []
200
215
  rubyforge_project:
201
216
  rubygems_version: 2.4.5.1