rsync_cron 1.0.7 → 1.0.8

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
  SHA1:
3
- metadata.gz: e7f55c333647cab099cea9cd1de242c6f799bb9e
4
- data.tar.gz: 6ce5fcd12df24af02f9e93cd97523ee7f6785e7e
3
+ metadata.gz: d9bdf25fe2470358e6e7b7481cf95decd6ea923a
4
+ data.tar.gz: 499d221a5ce98c084d37850fb50fe69a199f171a
5
5
  SHA512:
6
- metadata.gz: ed70f59d5ad3b7cd8d4d5f2659fc620b77bae3159d2afa416a11e8ac24134d1e4cbb9347173b7a633bcda257368a75cb6f562c2f3b385c209e2f7aa6dc164a79
7
- data.tar.gz: 0ea707db3e361f7f347e97efe0e2d6e7c214bd3bf98138b64980d851379fc635a3186d3f4a798c72671ad940703c207351f505ab083a7f8dd7107a62ba6f6cc4
6
+ metadata.gz: ab7773214e1c73426672aec01663191c5cae2a2b4c696af71d4932481bf1e7010dfd1467a27a5985b8a27ba4401fd8e0de72b35807708b01b2fd872dcad0849e
7
+ data.tar.gz: c9f9804ed7b6ed53cfe745a0ee779370b61af7295ee0a4de89325477b1241f977452ed0e0ba9ea459feca540758920db2ca50d2f88214d4678e45fb88f696c2f
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- rsync_cron (1.0.7)
4
+ rsync_cron (1.0.8)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -6,7 +6,7 @@ module RsyncCron
6
6
  bwlimit: BANDWITH_LIMIT,
7
7
  exclude: "'DfsrPrivate'"
8
8
  }
9
- FLAGS = %w[v r t z p L]
9
+ FLAGS = %w[noatime verbose archive compress]
10
10
 
11
11
  def initialize(data: DEFAULT, flags: FLAGS)
12
12
  @data = data.to_h
@@ -24,7 +24,7 @@ module RsyncCron
24
24
 
25
25
  private def flags
26
26
  return if @flags.empty?
27
- "-#{@flags.join}"
27
+ @flags.map { |flag| "--#{flag}" }.join(" ")
28
28
  end
29
29
 
30
30
  private def data
@@ -1,3 +1,3 @@
1
1
  module RsyncCron
2
- VERSION = "1.0.7"
2
+ VERSION = "1.0.8"
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.0.7
4
+ version: 1.0.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - costajob