rsync_cron 1.0.5 → 1.0.6

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: e873d38cb9348864b4a9ca645b6462f4491017e9
4
- data.tar.gz: 296d2b7efe73ade8ddd131c5ea5082fe700ecaea
3
+ metadata.gz: 0ae348a73cf44b1af8b0f4eab8a0771d96f06025
4
+ data.tar.gz: 69083ccb351f50dc6ad73b1925623b1d0b841684
5
5
  SHA512:
6
- metadata.gz: c379474c98d3291d6154ae3ff9be4c25e49be30e1c2fc141920caf6115177a38670f234ca215a2dbdaf64b1c3a47925ef41780e4547253cb9a555b528765f186
7
- data.tar.gz: e0f51f2fb215b8a656cc8eec3e9fdba9f967e0f56780b17feb07a712c05c512feeaa710dac684ef1dceb41a0c91a865d1f7140b981f0bffedbd569822693abde
6
+ metadata.gz: 50463c9b982ecfa1a02a9a0c44510ce3b5f2d58cc55bdaca8e2c8e578dc9b26d20ba246bd5ed0b7e718ceaa821cf4b667817b1478938df585fb4cfa3d943b9c3
7
+ data.tar.gz: e89b28191fd2c900a73a59bd4dc5f409b6e5b3bae74d26c544c14958d83aa2a62023ba197946a715ea0d2ab85e3a51585bd89b15dd98da0fe902faa1b04d1698
data/.gitignore ADDED
@@ -0,0 +1 @@
1
+ *.gem
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- rsync_cron (1.0.5)
4
+ rsync_cron (1.0.6)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
data/README.md CHANGED
@@ -5,7 +5,7 @@
5
5
  * [Usage](#usage)
6
6
 
7
7
  # Scope
8
- The scope of this gem is to wrap the `rsync` command and to trigger it via the `crontab` schedule.
8
+ The scope of this gem is to install the specified `rsync` command into the `crontab` schedule.
9
9
 
10
10
  # Installation
11
11
  Install the gem from your shell:
@@ -7,7 +7,7 @@ module RsyncCron
7
7
 
8
8
  def call
9
9
  return if @shell.empty?
10
- IO.popen(@shell, "r+") do |pipe|
10
+ IO.popen(@shell, "a+") do |pipe|
11
11
  pipe.puts(@content)
12
12
  pipe.close_write
13
13
  end
@@ -1,3 +1,3 @@
1
1
  module RsyncCron
2
- VERSION = "1.0.5"
2
+ VERSION = "1.0.6"
3
3
  end
data/rsync_cron.gemspec CHANGED
@@ -8,7 +8,7 @@ Gem::Specification.new do |s|
8
8
  s.version = RsyncCron::VERSION
9
9
  s.authors = ["costajob"]
10
10
  s.email = ["costajob@gmail.com"]
11
- s.summary = "Simple wrapper around rsync, enabled by crontab"
11
+ s.summary = "Install specified rsync command into crontab schedule"
12
12
  s.homepage = "https://github.com/costajob/rsync_cron"
13
13
  s.license = "MIT"
14
14
  s.required_ruby_version = ">= 2.1.8"
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.5
4
+ version: 1.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - costajob
@@ -60,6 +60,7 @@ executables:
60
60
  extensions: []
61
61
  extra_rdoc_files: []
62
62
  files:
63
+ - ".gitignore"
63
64
  - ".travis.yml"
64
65
  - Gemfile
65
66
  - Gemfile.lock
@@ -100,5 +101,5 @@ rubyforge_project:
100
101
  rubygems_version: 2.6.11
101
102
  signing_key:
102
103
  specification_version: 4
103
- summary: Simple wrapper around rsync, enabled by crontab
104
+ summary: Install specified rsync command into crontab schedule
104
105
  test_files: []