rsync_cron 1.1.1 → 1.1.2

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
  SHA1:
3
- metadata.gz: 672d7f127859d5b319f64d140f63a7137ecc7c13
4
- data.tar.gz: feca3c45665e6b5fec6578c4a8971fe70f9dd759
3
+ metadata.gz: 781d22dde1e983f1e30ee9d3553b99c803411692
4
+ data.tar.gz: 041e853913ce325e2d1cb8b27ae34a9fb9136eb4
5
5
  SHA512:
6
- metadata.gz: ecfe3f11777e734dd7af50950e48483c6d8722150cf9d20cecdf7988d45c0e411befaaf410cd8d9b02a724a1edd3d04259cf1146c70b206392173eacac7cc31e
7
- data.tar.gz: d205a1a6c97e51d38ad3b86de1608db0cf646d36e7c68f0bbbdd6b2ab2f2a20127dfe0bf04ce91a9778d62e273498fe42a4db10a0bbde75a005e12a27e951195
6
+ metadata.gz: 5cada4cc28432eb2b0382ed18d502dd161423637b1d5c66b04e12ee6035e7728cc9db019ce40b998de193a3b97c0f01725a00752de005729c64c157ccb6709e1
7
+ data.tar.gz: 6bcf6f6baf825cf24e364b6c3332544d3e9a710922e4703ea6af24de10b592cfc6640d777580dddad376563dfd43fa0eeb2b889110a678afec6e27d25a5d568d
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- rsync_cron (1.1.1)
4
+ rsync_cron (1.1.2)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
data/README.md CHANGED
@@ -16,7 +16,7 @@ gem install rsync_cron
16
16
 
17
17
  # Warning
18
18
  Be aware that this library will write to the `crontab` file in a destructive way.
19
- Do remember to take a backup of your `crontab` before installing a new one.
19
+ Do remember to take a backup before installing a new `crontab`.
20
20
 
21
21
  # Usage
22
22
  The gem comes with a CLI interface, you can print its help by:
@@ -26,8 +26,8 @@ Usage: rsync_cron --cron='15,30 21' --src=/ --dest=/tmp --log=/var/log/rsync.log
26
26
  -c, --cron=CRON The cron string, i.e.: '15 21 * * *'
27
27
  -s, --src=SRC The rsync source, i.e. user@src.com:files
28
28
  -d, --dest=DEST The rsync dest, i.e. user@dest.com:home/
29
- -l, --log=LOG log command output to specified file
30
- -o, --opts=OPTS merge specified extra options
29
+ -l, --log=LOG Log command output to specified file
30
+ -o, --opts=OPTS Merge specified extra options, when supported
31
31
  -p, --print Print crontab command without installing it
32
32
  -k, --check Check src and dest before installing crontab
33
33
  -h, --help Prints this help
@@ -47,11 +47,11 @@ module RsyncCron
47
47
  @dest = Host.factory(dest)
48
48
  end
49
49
 
50
- opts.on("-lLOG", "--log=LOG", "log command output to specified file") do |log|
50
+ opts.on("-lLOG", "--log=LOG", "Log command output to specified file") do |log|
51
51
  @log = log
52
52
  end
53
53
 
54
- opts.on("-oOPTS", "--opts=OPTS", "merge specified extra options") do |_opts|
54
+ opts.on("-oOPTS", "--opts=OPTS", "Merge specified extra options, when supported") do |_opts|
55
55
  @options << _opts
56
56
  end
57
57
 
@@ -1,3 +1,3 @@
1
1
  module RsyncCron
2
- VERSION = "1.1.1"
2
+ VERSION = "1.1.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rsync_cron
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.1
4
+ version: 1.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - costajob