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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f4e13a748d61ceba4be75e09c95e33c87dddbb31ecb7ff395270b75df775902a
4
- data.tar.gz: 4402c4fe9ce53e0e9dd80e4cfd2c4d9b8367af66505123e5f9a2e88c84b2e08f
3
+ metadata.gz: 6093641185d44e292ae5f0a3714fcf9579cad183fd777405c7544e69c31c6afe
4
+ data.tar.gz: 61d0498cbeff6fae0687b9966f34e318deea51d92f149a54e551da28a6f6b88a
5
5
  SHA512:
6
- metadata.gz: 8d5c56ca8ced713c05a48b511a997eaa2a9d2e41430ad9abf8d26c5e79e591ac432a64ac19a87e46bf043eb49e5c7e29f6c5cd3606923a6383545a46f2de6b79
7
- data.tar.gz: a5ea3085f1253d6411189c0ae9722feb16a4a2f1821e47911241511d606870f9f14b738a036f69ff4fa2c99159ceabae014106d7cefa3f7bd5bb34bc4d4c493d
6
+ metadata.gz: f9c38a820b310d25842178f5e2375c7d376566dd5f52d2ef2c9ed125e13bf89a4ea995be4e143d83308df5a9b75022efbb0495bc6c45c6f1e16b55c7ae1115f4
7
+ data.tar.gz: 459f543810d8d6c4bbe90e90feab1f00f8dec2d3efb44a4bad5bec55eef6fbe456a20e585d78e2f6df1ae99584b3c408159d40491e6bb63216441b57f8e29bf0
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- bdsync (2.1.0)
4
+ bdsync (2.1.1)
5
5
  colorize (~> 0.8)
6
6
  net-sftp (~> 2.1)
7
7
 
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
- traverse_remote_path path
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
- traverse_local_path path
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
 
@@ -1,3 +1,3 @@
1
1
  module Bdsync
2
- VERSION = "2.1.0"
2
+ VERSION = "2.1.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bdsync
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.0
4
+ version: 2.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Xia Xiongjun