bdsync 2.1.0 → 2.1.1
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 +4 -4
- data/Gemfile.lock +1 -1
- data/exe/bdsync_lfs +0 -0
- data/exe/bdsync_sftp +0 -0
- data/lib/bdsync/core.rb +14 -2
- data/lib/bdsync/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 6093641185d44e292ae5f0a3714fcf9579cad183fd777405c7544e69c31c6afe
|
|
4
|
+
data.tar.gz: 61d0498cbeff6fae0687b9966f34e318deea51d92f149a54e551da28a6f6b88a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: f9c38a820b310d25842178f5e2375c7d376566dd5f52d2ef2c9ed125e13bf89a4ea995be4e143d83308df5a9b75022efbb0495bc6c45c6f1e16b55c7ae1115f4
|
|
7
|
+
data.tar.gz: 459f543810d8d6c4bbe90e90feab1f00f8dec2d3efb44a4bad5bec55eef6fbe456a20e585d78e2f6df1ae99584b3c408159d40491e6bb63216441b57f8e29bf0
|
data/Gemfile.lock
CHANGED
data/exe/bdsync_lfs
CHANGED
|
File without changes
|
data/exe/bdsync_sftp
CHANGED
|
File without changes
|
data/lib/bdsync/core.rb
CHANGED
|
@@ -87,7 +87,14 @@ module Bdsync
|
|
|
87
87
|
|
|
88
88
|
next_level_dirs.sort.each { |path, remote|
|
|
89
89
|
handle_remote_entry remote, path, :directory
|
|
90
|
-
|
|
90
|
+
|
|
91
|
+
begin
|
|
92
|
+
traverse_remote_path path
|
|
93
|
+
rescue Net::SFTP::StatusException
|
|
94
|
+
# OK: the remote directory may be deleted with synchronization!
|
|
95
|
+
rescue Errno::ENOENT
|
|
96
|
+
# OK: the remote directory may be deleted with synchronization!
|
|
97
|
+
end
|
|
91
98
|
}
|
|
92
99
|
end
|
|
93
100
|
|
|
@@ -108,7 +115,12 @@ module Bdsync
|
|
|
108
115
|
|
|
109
116
|
next_level_dirs.sort.each { |path|
|
|
110
117
|
handle_local_entry path, :directory
|
|
111
|
-
|
|
118
|
+
|
|
119
|
+
begin
|
|
120
|
+
traverse_local_path path
|
|
121
|
+
rescue Errno::ENOENT
|
|
122
|
+
# OK: the local directory may be deleted with synchronization!
|
|
123
|
+
end
|
|
112
124
|
}
|
|
113
125
|
end
|
|
114
126
|
|
data/lib/bdsync/version.rb
CHANGED