entangler 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/entangler/executor/base.rb +7 -1
- data/lib/entangler/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 490b5a2f8672548a4e3a7d15fbd641291f9456fc
|
4
|
+
data.tar.gz: 5750ebccf9775aa3971dc7dfe930527ee7803af4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6b74a61f4a3dda5e52b8b10fe8f41e92eb9e9266dfa923bfc015b857f68e24757770c620ee6f937da0fc18e2885c2a0a723a2a329febf9871574ab9128dd223e
|
7
|
+
data.tar.gz: 4df993ced868041b7f96012b425bf2b0a1d569a1d16074a852c63bf4e9d1b96f19b2ffd1ff362af09f00888bb7a8ca55ce9471848db37d19f76b63b56aa4c642
|
@@ -120,8 +120,14 @@ module Entangler
|
|
120
120
|
msg[:content].each do |base, changes|
|
121
121
|
possible_creation_dirs = changes[:dirs].clone
|
122
122
|
possible_creation_files = changes[:files].keys.clone
|
123
|
+
full_base_path = generate_abs_path(base)
|
123
124
|
|
124
|
-
|
125
|
+
unless File.directory?(full_base_path)
|
126
|
+
FileUtils::mkdir_p(full_base_path)
|
127
|
+
@notify_sleep = Time.now.to_i + 60
|
128
|
+
end
|
129
|
+
|
130
|
+
Dir.entries(full_base_path).each do |f|
|
125
131
|
next if ['.', '..'].include? f
|
126
132
|
full_path = File.join(generate_abs_path(base), f)
|
127
133
|
if File.directory?(full_path)
|
data/lib/entangler/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: entangler
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dave Allie
|
@@ -125,7 +125,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
125
125
|
version: '0'
|
126
126
|
requirements: []
|
127
127
|
rubyforge_project:
|
128
|
-
rubygems_version: 2.
|
128
|
+
rubygems_version: 2.4.8
|
129
129
|
signing_key:
|
130
130
|
specification_version: 4
|
131
131
|
summary: Two way file syncer using platform native notify and rdiff syncing.
|