bdsync 2.0.0 → 2.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/bdsync.gemspec +0 -0
- data/exe/bdsync_lfs +19 -0
- data/exe/bdsync_sftp +22 -0
- data/lib/bdsync/version.rb +1 -1
- data/lib/bdsync.rb +0 -0
- metadata +6 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f4e13a748d61ceba4be75e09c95e33c87dddbb31ecb7ff395270b75df775902a
|
4
|
+
data.tar.gz: 4402c4fe9ce53e0e9dd80e4cfd2c4d9b8367af66505123e5f9a2e88c84b2e08f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8d5c56ca8ced713c05a48b511a997eaa2a9d2e41430ad9abf8d26c5e79e591ac432a64ac19a87e46bf043eb49e5c7e29f6c5cd3606923a6383545a46f2de6b79
|
7
|
+
data.tar.gz: a5ea3085f1253d6411189c0ae9722feb16a4a2f1821e47911241511d606870f9f14b738a036f69ff4fa2c99159ceabae014106d7cefa3f7bd5bb34bc4d4c493d
|
data/Gemfile.lock
CHANGED
data/bdsync.gemspec
CHANGED
File without changes
|
data/exe/bdsync_lfs
ADDED
@@ -0,0 +1,19 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
# encoding: utf-8
|
3
|
+
#
|
4
|
+
# Introduction:
|
5
|
+
# Bidirectional synchronization tool for local file system
|
6
|
+
#
|
7
|
+
# Usage:
|
8
|
+
# > bdsync_lfs --help
|
9
|
+
#
|
10
|
+
# Examples:
|
11
|
+
# > bdsync_lfs --local_root_path /tmp/local_test --remote_root_path /tmp/remote_test
|
12
|
+
# > bdsync_lfs -l /tmp/local_test -r /tmp/remote_test
|
13
|
+
#
|
14
|
+
|
15
|
+
require "optparse"
|
16
|
+
require "bdsync"
|
17
|
+
|
18
|
+
params = ARGV.getopts nil, *Bdsync::Lfs.options
|
19
|
+
Bdsync::Lfs.new(params).synchronize
|
data/exe/bdsync_sftp
ADDED
@@ -0,0 +1,22 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
# encoding: utf-8
|
3
|
+
#
|
4
|
+
# Introduction:
|
5
|
+
# Bidirectional synchronization tool for sftp
|
6
|
+
#
|
7
|
+
# Usage:
|
8
|
+
# > bdsync_sftp --help
|
9
|
+
#
|
10
|
+
# Examples:
|
11
|
+
# > bdsync_sftp --site ftp.example.com --user root --local_root_path /tmp/local_test --remote_root_path /tmp/remote_test
|
12
|
+
# > bdsync_sftp -s ftp.example.com -u root -l /tmp/local_test -r /tmp/remote_test
|
13
|
+
#
|
14
|
+
# Note:
|
15
|
+
# > use `direct_ssh` to setup ssh authorization
|
16
|
+
#
|
17
|
+
|
18
|
+
require "optparse"
|
19
|
+
require "bdsync"
|
20
|
+
|
21
|
+
params = ARGV.getopts nil, *Bdsync::Sftp.options
|
22
|
+
Bdsync::Sftp.new(params).synchronize
|
data/lib/bdsync/version.rb
CHANGED
data/lib/bdsync.rb
CHANGED
File without changes
|
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.
|
4
|
+
version: 2.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Xia Xiongjun
|
@@ -41,7 +41,9 @@ dependencies:
|
|
41
41
|
description: Bidirectional Synchronization tool for sftp or local file system
|
42
42
|
email:
|
43
43
|
- xxjapp@gmail.com
|
44
|
-
executables:
|
44
|
+
executables:
|
45
|
+
- bdsync_lfs
|
46
|
+
- bdsync_sftp
|
45
47
|
extensions: []
|
46
48
|
extra_rdoc_files: []
|
47
49
|
files:
|
@@ -57,6 +59,8 @@ files:
|
|
57
59
|
- bdsync.gemspec
|
58
60
|
- bin/console
|
59
61
|
- bin/setup
|
62
|
+
- exe/bdsync_lfs
|
63
|
+
- exe/bdsync_sftp
|
60
64
|
- lib/bdsync.rb
|
61
65
|
- lib/bdsync/core.rb
|
62
66
|
- lib/bdsync/lfs.rb
|