vagrant-unison-morroni 0.0.21 → 0.0.22
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
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 159459489a5b3ded6fd5a311e35d3d3f80593391
|
4
|
+
data.tar.gz: aa54e011338ee1f6e5f11ac9dc8da2247ec01577
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8eae7880fe597a76352207af6c68bb6830417416802739a4f46e0059499b9e2cae317c57492c036de7fd55498e9b3b86e618f3bd9dfb3baea3e0afce8a7cd900
|
7
|
+
data.tar.gz: e70c00ddf0b6606995ed548fc2b9b334989f12344e2352bf60fc7e88de9dfb616fa6222ed9860575b046721e098a7f8b8e091f7d300de027ba03fbe719aadd2f
|
@@ -105,22 +105,23 @@ module VagrantPlugins
|
|
105
105
|
ssh_command = SshCommand.new(@@machine, unison_paths)
|
106
106
|
command = ShellCommand.new(@@machine, unison_paths, ssh_command)
|
107
107
|
|
108
|
-
|
108
|
+
|
109
109
|
#load @@machine.env.root_path.to_s + '/include-common/load-ini/load-ini.rb'
|
110
|
-
load ENV['host_proj_dir'] + '/include-common/load-ini/
|
110
|
+
load ENV['host_proj_dir'] + '/include-common/load-ini/load_ini.rb'
|
111
111
|
|
112
112
|
properties = load_ini()
|
113
113
|
if (properties.has_key?('UNISONFLAGS'))
|
114
|
-
unisonflags = ' '+properties['UNISONFLAGS']+' '
|
114
|
+
unisonflags = ' '+properties['UNISONFLAGS'].chomp.chomp('"').reverse.chomp.chomp('"').reverse+' '
|
115
115
|
else
|
116
116
|
unisonflags = ''
|
117
117
|
end
|
118
|
-
|
119
|
-
|
118
|
+
|
119
|
+
slug = properties['SLUG'].chomp.chomp('"').reverse.chomp.chomp('"').reverse
|
120
|
+
unison_dir = ENV['host_proj_dir'] + '/.vagrant/'
|
120
121
|
|
121
122
|
command.repeat = true
|
122
123
|
command.terse = true
|
123
|
-
command = command.to_s + unisonflags + ' > ' + @@machine.env.root_path.to_s + '/.vagrant/unison.log 2>&1 &'
|
124
|
+
command = 'UNISON='+unison_dir+' '+command.to_s + unisonflags + ' > ' + @@machine.env.root_path.to_s + '/.vagrant/unison.log 2>&1 &'
|
124
125
|
|
125
126
|
@@machine.env.ui.info "Running #{command}"
|
126
127
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: vagrant-unison-morroni
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.22
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- David Laing
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-12-
|
11
|
+
date: 2015-12-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: listen
|