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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 154ba1d7d905a71a75e46a44486b22d65af7541d3f5c57db88be6ac84ff4404b
4
- data.tar.gz: e913e4bd9cc556ac550bdfeaf7f03840c9f120daf55e17dfa71be03005cd934c
3
+ metadata.gz: f4e13a748d61ceba4be75e09c95e33c87dddbb31ecb7ff395270b75df775902a
4
+ data.tar.gz: 4402c4fe9ce53e0e9dd80e4cfd2c4d9b8367af66505123e5f9a2e88c84b2e08f
5
5
  SHA512:
6
- metadata.gz: 2802c7ea2a3da89c75e84620b98fc508cb0b34f21a229d7cb4e95f09316c182678fd657d834e040b0fca33a8954b4141099311483665df4f892a945126a48208
7
- data.tar.gz: eb1fa9995450d68dbefd9fcfad83f27269b3f3a03691d5a2cce92b8e70ad4c8bb250fa040bff8485dfffb6ccbc5bf8a47350523a318f347addbd934f417f6ce9
6
+ metadata.gz: 8d5c56ca8ced713c05a48b511a997eaa2a9d2e41430ad9abf8d26c5e79e591ac432a64ac19a87e46bf043eb49e5c7e29f6c5cd3606923a6383545a46f2de6b79
7
+ data.tar.gz: a5ea3085f1253d6411189c0ae9722feb16a4a2f1821e47911241511d606870f9f14b738a036f69ff4fa2c99159ceabae014106d7cefa3f7bd5bb34bc4d4c493d
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- bdsync (2.0.0)
4
+ bdsync (2.1.0)
5
5
  colorize (~> 0.8)
6
6
  net-sftp (~> 2.1)
7
7
 
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
@@ -1,3 +1,3 @@
1
1
  module Bdsync
2
- VERSION = "2.0.0"
2
+ VERSION = "2.1.0"
3
3
  end
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.0.0
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