vagrant-unison-morroni 0.0.23 → 0.0.24
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: 9092fbfb7e1a1ed2b0ac35cce050fefa60c74109
|
4
|
+
data.tar.gz: c18dd72180b0f248e5d3e804fc98ea549641a1b2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fb34648cccaf75a44c50ac656dbc1d06646dba489add8663ab940dec2e8001f259799078411fbf3c1fb81fd13179145a3b7c61fbe29c1d8e2c21af3567f5d0e6
|
7
|
+
data.tar.gz: 6e8298dd83040fedc45510bcfbf7e0708d92c614e9b7637c942e6d4d88144ec6bebc39ff1282fa158c45ac378a8135fcf1c7f9bb2beb9ff308e18963874fdb3d
|
@@ -107,7 +107,6 @@ module VagrantPlugins
|
|
107
107
|
ssh_command = SshCommand.new(@@machine, unison_paths)
|
108
108
|
command = ShellCommand.new(@@machine, unison_paths, ssh_command)
|
109
109
|
|
110
|
-
|
111
110
|
#load @@machine.env.root_path.to_s + '/include-common/load-ini/load-ini.rb'
|
112
111
|
load ENV['host_proj_dir'] + '/include-common/load-ini/load_ini.rb'
|
113
112
|
|
@@ -120,8 +119,11 @@ module VagrantPlugins
|
|
120
119
|
|
121
120
|
slug = properties['SLUG'].chomp.chomp('"').reverse.chomp.chomp('"').reverse
|
122
121
|
unison_dir = ENV['host_proj_dir'] + '/.vagrant/unison-files/'
|
122
|
+
|
123
|
+
# rm archive files
|
123
124
|
FileUtils.rm_rf(unison_dir)
|
124
125
|
Dir.mkdir(unison_dir)
|
126
|
+
@@machine.communicate.sudo("rm -rf /home/"+user_name+"/.unison/*")
|
125
127
|
|
126
128
|
command.repeat = true
|
127
129
|
command.terse = true
|
@@ -69,7 +69,9 @@ module VagrantPlugins
|
|
69
69
|
require "vagrant"
|
70
70
|
require "thread"
|
71
71
|
require 'listen'
|
72
|
-
|
72
|
+
require 'fileutils'
|
73
|
+
|
74
|
+
|
73
75
|
require_relative 'unison_paths'
|
74
76
|
require_relative 'ssh_command'
|
75
77
|
require_relative 'shell_command'
|
@@ -117,7 +119,9 @@ module VagrantPlugins
|
|
117
119
|
end
|
118
120
|
|
119
121
|
slug = properties['SLUG'].chomp.chomp('"').reverse.chomp.chomp('"').reverse
|
120
|
-
unison_dir = ENV['host_proj_dir'] + '/.vagrant/'
|
122
|
+
unison_dir = ENV['host_proj_dir'] + '/.vagrant/unison-files/'
|
123
|
+
FileUtils.rm_rf(unison_dir)
|
124
|
+
Dir.mkdir(unison_dir)
|
121
125
|
|
122
126
|
command.repeat = true
|
123
127
|
command.terse = true
|
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.24
|
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-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: listen
|