bdsync 2.1.1 → 2.1.2

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: 6093641185d44e292ae5f0a3714fcf9579cad183fd777405c7544e69c31c6afe
4
- data.tar.gz: 61d0498cbeff6fae0687b9966f34e318deea51d92f149a54e551da28a6f6b88a
3
+ metadata.gz: 8bef8cde7cd361296d1aedf0e364c43f4457d4a6b1cf6ef5c82703861b9569cb
4
+ data.tar.gz: 3c8d7931ad7a790a93ea75d936f510eaa33229248367fa980b318a2452cb06e1
5
5
  SHA512:
6
- metadata.gz: f9c38a820b310d25842178f5e2375c7d376566dd5f52d2ef2c9ed125e13bf89a4ea995be4e143d83308df5a9b75022efbb0495bc6c45c6f1e16b55c7ae1115f4
7
- data.tar.gz: 459f543810d8d6c4bbe90e90feab1f00f8dec2d3efb44a4bad5bec55eef6fbe456a20e585d78e2f6df1ae99584b3c408159d40491e6bb63216441b57f8e29bf0
6
+ metadata.gz: 3400a2f2ef46c789d8cd4d4354fa64e28ee38b9d00a941c6c837645605d284b8f5e31e5b02cc5709ce42bfa67d6c134c964d9a6af5cabbecc975e915405e320c
7
+ data.tar.gz: 19e5a4affe4aad906f3722809fedb1a23dd71dc4e0d1c8fa2b8935d28976cb1cdd478e85b0c72fb90877a283953a830795ae2c40a8a74bbdf5fefc5e31c41f7b
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- bdsync (2.1.1)
4
+ bdsync (2.1.2)
5
5
  colorize (~> 0.8)
6
6
  net-sftp (~> 2.1)
7
7
 
data/README.md CHANGED
@@ -20,7 +20,23 @@ Or install it yourself as:
20
20
 
21
21
  ## Usage
22
22
 
23
- TODO: Write usage instructions here
23
+ bdsync_sftp: Bidirectional synchronization from and to a sftp server directory:
24
+
25
+ ```bash
26
+ bdsync_sftp --site ftp.example.com --user root --local_root_path /tmp/local_test --remote_root_path /tmp/remote_test
27
+ # OR
28
+ bdsync_sftp -s ftp.example.com -u root -l /tmp/local_test -r /tmp/remote_test
29
+ ```
30
+
31
+ You can use [`direct_ssh`](https://rubygems.org/gems/direct_ssh/) to setup ssh authorization if necessary.
32
+
33
+ bdsync_lfs: Bidirectional synchronization from and to a local file directory:
34
+
35
+ ```bash
36
+ bdsync_lfs --local_root_path /tmp/local_test --remote_root_path /tmp/remote_test
37
+ # OR
38
+ bdsync_lfs -l /tmp/local_test -r /tmp/remote_test
39
+ ```
24
40
 
25
41
  ## Development
26
42
 
@@ -1,3 +1,3 @@
1
1
  module Bdsync
2
- VERSION = "2.1.1"
2
+ VERSION = "2.1.2"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bdsync
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.1
4
+ version: 2.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Xia Xiongjun
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-12-27 00:00:00.000000000 Z
11
+ date: 2019-12-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: colorize