marz-rsync 0.1.0
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 +7 -0
- data/.gitignore +11 -0
- data/.rspec +3 -0
- data/.travis.yml +5 -0
- data/CODE_OF_CONDUCT.md +74 -0
- data/Gemfile +6 -0
- data/Gemfile.lock +41 -0
- data/LICENSE.txt +21 -0
- data/README.md +62 -0
- data/Rakefile +6 -0
- data/bin/console +14 -0
- data/bin/setup +8 -0
- data/lib/marz/rsync/command.rb +28 -0
- data/lib/marz/rsync/configure.rb +17 -0
- data/lib/marz/rsync/result.rb +71 -0
- data/lib/marz/rsync/version.rb +5 -0
- data/lib/marz/rsync.rb +23 -0
- data/marz-rsync.gemspec +36 -0
- metadata +117 -0
checksums.yaml
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
---
|
|
2
|
+
SHA1:
|
|
3
|
+
metadata.gz: 1f053b9e193d333ce9e3e59c69a4d7adbacb2b8d
|
|
4
|
+
data.tar.gz: 728c618a67bb9f252d899e4ef478a03825650cea
|
|
5
|
+
SHA512:
|
|
6
|
+
metadata.gz: 1073f4ea591491ebf0fafe312673664e522626e419dd99826a0473229a4e258ba54ed68528dedc1adef1c5621f1114520661ef50230b2f4c8d70ad29510009a4
|
|
7
|
+
data.tar.gz: 8178131fce0acd2d98b2f927d213de5a2eab45e5c9a481bfe9a4a3037b47da6d3f395f943f10a4a7497ed4be3b06c6b3f62781dda0ac92d1c1d18273acfb030b
|
data/.gitignore
ADDED
data/.rspec
ADDED
data/.travis.yml
ADDED
data/CODE_OF_CONDUCT.md
ADDED
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
# Contributor Covenant Code of Conduct
|
|
2
|
+
|
|
3
|
+
## Our Pledge
|
|
4
|
+
|
|
5
|
+
In the interest of fostering an open and welcoming environment, we as
|
|
6
|
+
contributors and maintainers pledge to making participation in our project and
|
|
7
|
+
our community a harassment-free experience for everyone, regardless of age, body
|
|
8
|
+
size, disability, ethnicity, gender identity and expression, level of experience,
|
|
9
|
+
nationality, personal appearance, race, religion, or sexual identity and
|
|
10
|
+
orientation.
|
|
11
|
+
|
|
12
|
+
## Our Standards
|
|
13
|
+
|
|
14
|
+
Examples of behavior that contributes to creating a positive environment
|
|
15
|
+
include:
|
|
16
|
+
|
|
17
|
+
* Using welcoming and inclusive language
|
|
18
|
+
* Being respectful of differing viewpoints and experiences
|
|
19
|
+
* Gracefully accepting constructive criticism
|
|
20
|
+
* Focusing on what is best for the community
|
|
21
|
+
* Showing empathy towards other community members
|
|
22
|
+
|
|
23
|
+
Examples of unacceptable behavior by participants include:
|
|
24
|
+
|
|
25
|
+
* The use of sexualized language or imagery and unwelcome sexual attention or
|
|
26
|
+
advances
|
|
27
|
+
* Trolling, insulting/derogatory comments, and personal or political attacks
|
|
28
|
+
* Public or private harassment
|
|
29
|
+
* Publishing others' private information, such as a physical or electronic
|
|
30
|
+
address, without explicit permission
|
|
31
|
+
* Other conduct which could reasonably be considered inappropriate in a
|
|
32
|
+
professional setting
|
|
33
|
+
|
|
34
|
+
## Our Responsibilities
|
|
35
|
+
|
|
36
|
+
Project maintainers are responsible for clarifying the standards of acceptable
|
|
37
|
+
behavior and are expected to take appropriate and fair corrective action in
|
|
38
|
+
response to any instances of unacceptable behavior.
|
|
39
|
+
|
|
40
|
+
Project maintainers have the right and responsibility to remove, edit, or
|
|
41
|
+
reject comments, commits, code, wiki edits, issues, and other contributions
|
|
42
|
+
that are not aligned to this Code of Conduct, or to ban temporarily or
|
|
43
|
+
permanently any contributor for other behaviors that they deem inappropriate,
|
|
44
|
+
threatening, offensive, or harmful.
|
|
45
|
+
|
|
46
|
+
## Scope
|
|
47
|
+
|
|
48
|
+
This Code of Conduct applies both within project spaces and in public spaces
|
|
49
|
+
when an individual is representing the project or its community. Examples of
|
|
50
|
+
representing a project or community include using an official project e-mail
|
|
51
|
+
address, posting via an official social media account, or acting as an appointed
|
|
52
|
+
representative at an online or offline event. Representation of a project may be
|
|
53
|
+
further defined and clarified by project maintainers.
|
|
54
|
+
|
|
55
|
+
## Enforcement
|
|
56
|
+
|
|
57
|
+
Instances of abusive, harassing, or otherwise unacceptable behavior may be
|
|
58
|
+
reported by contacting the project team at script-deployer@me.com. All
|
|
59
|
+
complaints will be reviewed and investigated and will result in a response that
|
|
60
|
+
is deemed necessary and appropriate to the circumstances. The project team is
|
|
61
|
+
obligated to maintain confidentiality with regard to the reporter of an incident.
|
|
62
|
+
Further details of specific enforcement policies may be posted separately.
|
|
63
|
+
|
|
64
|
+
Project maintainers who do not follow or enforce the Code of Conduct in good
|
|
65
|
+
faith may face temporary or permanent repercussions as determined by other
|
|
66
|
+
members of the project's leadership.
|
|
67
|
+
|
|
68
|
+
## Attribution
|
|
69
|
+
|
|
70
|
+
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
|
|
71
|
+
available at [http://contributor-covenant.org/version/1/4][version]
|
|
72
|
+
|
|
73
|
+
[homepage]: http://contributor-covenant.org
|
|
74
|
+
[version]: http://contributor-covenant.org/version/1/4/
|
data/Gemfile
ADDED
data/Gemfile.lock
ADDED
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
PATH
|
|
2
|
+
remote: .
|
|
3
|
+
specs:
|
|
4
|
+
marz-rsync (0.1.0)
|
|
5
|
+
|
|
6
|
+
GEM
|
|
7
|
+
remote: https://rubygems.org/
|
|
8
|
+
specs:
|
|
9
|
+
coderay (1.1.2)
|
|
10
|
+
diff-lcs (1.3)
|
|
11
|
+
method_source (0.9.0)
|
|
12
|
+
pry (0.11.3)
|
|
13
|
+
coderay (~> 1.1.0)
|
|
14
|
+
method_source (~> 0.9.0)
|
|
15
|
+
rake (10.4.2)
|
|
16
|
+
rspec (3.5.0)
|
|
17
|
+
rspec-core (~> 3.5.0)
|
|
18
|
+
rspec-expectations (~> 3.5.0)
|
|
19
|
+
rspec-mocks (~> 3.5.0)
|
|
20
|
+
rspec-core (3.5.3)
|
|
21
|
+
rspec-support (~> 3.5.0)
|
|
22
|
+
rspec-expectations (3.5.0)
|
|
23
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
|
24
|
+
rspec-support (~> 3.5.0)
|
|
25
|
+
rspec-mocks (3.5.0)
|
|
26
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
|
27
|
+
rspec-support (~> 3.5.0)
|
|
28
|
+
rspec-support (3.5.0)
|
|
29
|
+
|
|
30
|
+
PLATFORMS
|
|
31
|
+
ruby
|
|
32
|
+
|
|
33
|
+
DEPENDENCIES
|
|
34
|
+
bundler (~> 1.16)
|
|
35
|
+
marz-rsync!
|
|
36
|
+
pry (~> 0.11)
|
|
37
|
+
rake (~> 10.0)
|
|
38
|
+
rspec (~> 3.0)
|
|
39
|
+
|
|
40
|
+
BUNDLED WITH
|
|
41
|
+
1.16.0
|
data/LICENSE.txt
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
The MIT License (MIT)
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2018 marzdgzmn
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in
|
|
13
|
+
all copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
21
|
+
THE SOFTWARE.
|
data/README.md
ADDED
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
# Marz::Rsync
|
|
2
|
+
|
|
3
|
+
Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/marz/rsync`. To experiment with that code, run `bin/console` for an interactive prompt.
|
|
4
|
+
|
|
5
|
+
TODO: Delete this and the text above, and describe your gem
|
|
6
|
+
|
|
7
|
+
## Installation
|
|
8
|
+
|
|
9
|
+
Add this line to your application's Gemfile:
|
|
10
|
+
|
|
11
|
+
```ruby
|
|
12
|
+
gem 'marz-rsync'
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
And then execute:
|
|
16
|
+
|
|
17
|
+
$ bundle
|
|
18
|
+
|
|
19
|
+
Or install it yourself as:
|
|
20
|
+
|
|
21
|
+
$ gem install marz-rsync
|
|
22
|
+
|
|
23
|
+
## Usage
|
|
24
|
+
|
|
25
|
+
Minimal example
|
|
26
|
+
```
|
|
27
|
+
require 'marz/rsync'
|
|
28
|
+
|
|
29
|
+
result = Marz::Rsync.run("/path/to/src", "/path/to/dest")
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
Complete example
|
|
33
|
+
```
|
|
34
|
+
require 'marz/rsync'
|
|
35
|
+
|
|
36
|
+
Marz::Rsync.run("/path/to/src", "/path/to/dest") do |result|
|
|
37
|
+
if result.success?
|
|
38
|
+
puts result.total_size
|
|
39
|
+
else
|
|
40
|
+
puts result.error
|
|
41
|
+
end
|
|
42
|
+
puts result.output
|
|
43
|
+
end
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
## Development
|
|
47
|
+
|
|
48
|
+
After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
|
|
49
|
+
|
|
50
|
+
To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
|
|
51
|
+
|
|
52
|
+
## Contributing
|
|
53
|
+
|
|
54
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/marz-rsync. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
|
|
55
|
+
|
|
56
|
+
## License
|
|
57
|
+
|
|
58
|
+
The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
|
|
59
|
+
|
|
60
|
+
## Code of Conduct
|
|
61
|
+
|
|
62
|
+
Everyone interacting in the Marz::Rsync project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/[USERNAME]/marz-rsync/blob/master/CODE_OF_CONDUCT.md).
|
data/Rakefile
ADDED
data/bin/console
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
#!/usr/bin/env ruby
|
|
2
|
+
|
|
3
|
+
require "bundler/setup"
|
|
4
|
+
require "marz/rsync"
|
|
5
|
+
|
|
6
|
+
# You can add fixtures and/or initialization code here to make experimenting
|
|
7
|
+
# with your gem easier. You can also use a different console, if you like.
|
|
8
|
+
|
|
9
|
+
# (If you use this, don't forget to add pry to your Gemfile!)
|
|
10
|
+
# require "pry"
|
|
11
|
+
# Pry.start
|
|
12
|
+
|
|
13
|
+
require "irb"
|
|
14
|
+
IRB.start(__FILE__)
|
data/bin/setup
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
require 'marz/rsync/result'
|
|
2
|
+
require 'shellwords'
|
|
3
|
+
|
|
4
|
+
module Marz
|
|
5
|
+
module Rsync
|
|
6
|
+
#The rsync command to be run
|
|
7
|
+
class Command
|
|
8
|
+
# Runs an rsync job, returns the exit code, and does logging
|
|
9
|
+
#
|
|
10
|
+
# @param opts {Array}
|
|
11
|
+
# @return {ExitCode}
|
|
12
|
+
def self.run(*opts)
|
|
13
|
+
cmd = ['rsync', '--itemize-changes', '--stats', '-h', opts].flatten.shelljoin
|
|
14
|
+
output = `#{cmd} 2>&1`
|
|
15
|
+
Result.new(output, $?.exitstatus)
|
|
16
|
+
end
|
|
17
|
+
|
|
18
|
+
def self.command
|
|
19
|
+
@command ||= "rsync"
|
|
20
|
+
end
|
|
21
|
+
|
|
22
|
+
def self.command=(cmd)
|
|
23
|
+
@command = cmd
|
|
24
|
+
end
|
|
25
|
+
|
|
26
|
+
end
|
|
27
|
+
end
|
|
28
|
+
end
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
|
|
2
|
+
module Marz
|
|
3
|
+
module Rsync
|
|
4
|
+
# The result of an rsync job
|
|
5
|
+
class Result
|
|
6
|
+
# Exit code of an rsync job
|
|
7
|
+
attr_accessor :exitcode
|
|
8
|
+
|
|
9
|
+
# Output of an rsync job
|
|
10
|
+
attr_accessor :output
|
|
11
|
+
|
|
12
|
+
#Rsync exit values/error codes
|
|
13
|
+
ERROR_CODES = {
|
|
14
|
+
#'0' => 'Success',
|
|
15
|
+
'1' => 'Syntax or usage error',
|
|
16
|
+
'2' => 'Protocol incompatibility',
|
|
17
|
+
'3' => 'Errors selecting input/output files, dirs',
|
|
18
|
+
'4' => 'Requested action not supported: an attempt was made to manipulate 64-bit files on a platform that cannot support them; or an option was specified that is supported by the client and not by the server.',
|
|
19
|
+
'5' => 'Error starting client-server protocol',
|
|
20
|
+
'6' => 'Daemon unable to append to log-file',
|
|
21
|
+
'10' => 'Error in socket I/O',
|
|
22
|
+
'11' => 'Error in file I/O',
|
|
23
|
+
'12' => 'Error in rsync protocol data stream',
|
|
24
|
+
'13' => 'Errors with program diagnostics',
|
|
25
|
+
'14' => 'Error in IPC code',
|
|
26
|
+
'20' => 'Received SIGUSR1 or SIGINT',
|
|
27
|
+
'21' => 'Some error returned by waitpid()',
|
|
28
|
+
'22' => 'Error allocating core memory buffers',
|
|
29
|
+
'23' => 'Partial transfer due to error',
|
|
30
|
+
'24' => 'Partial transfer due to vanished source files',
|
|
31
|
+
'25' => 'The --max-delete limit stopped deletions',
|
|
32
|
+
'30' => 'Timeout in data send/receive',
|
|
33
|
+
'35' => 'Timeout waiting for daemon connection'
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
def initialize(output, exitcode)
|
|
37
|
+
@output = output
|
|
38
|
+
@exitcode = exitcode
|
|
39
|
+
end
|
|
40
|
+
|
|
41
|
+
# Whether rsync job run without errors
|
|
42
|
+
# @return {Boolean}
|
|
43
|
+
def success?
|
|
44
|
+
@exitcode == 0
|
|
45
|
+
end
|
|
46
|
+
|
|
47
|
+
# Error message corresponding to the exit code/error code
|
|
48
|
+
# @return {String}
|
|
49
|
+
def error
|
|
50
|
+
return nil if @exitcode == 0
|
|
51
|
+
error_key = @exitcode.to_s
|
|
52
|
+
if ERROR_CODES.has_key? error_key
|
|
53
|
+
ERROR_CODES[error_key].to_s
|
|
54
|
+
elsif @raw_output =~ /Permission denied \(publickey\)/
|
|
55
|
+
"Permission denied (publickey)"
|
|
56
|
+
else
|
|
57
|
+
"Unknown Error"
|
|
58
|
+
end
|
|
59
|
+
end
|
|
60
|
+
|
|
61
|
+
# Total size of the rsync job
|
|
62
|
+
# @return {String}
|
|
63
|
+
def total_size
|
|
64
|
+
return nil if @exitcode != 0 || @output.nil?
|
|
65
|
+
#@output.match(/^*(?:total size is )(\d+\.\d+\S)/)[1]
|
|
66
|
+
@output.match(/^*(?:total size is )(\d\S*|\d+\.\d+\S*)/)[1]
|
|
67
|
+
end
|
|
68
|
+
|
|
69
|
+
end
|
|
70
|
+
end
|
|
71
|
+
end
|
data/lib/marz/rsync.rb
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
require 'marz/rsync/version'
|
|
2
|
+
require 'marz/rsync/configure'
|
|
3
|
+
require 'marz/rsync/command'
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
module Marz
|
|
7
|
+
# Main interface to rsyunc
|
|
8
|
+
module Rsync
|
|
9
|
+
extend Configure
|
|
10
|
+
# Runs an rsync {Command} and return the {Result}
|
|
11
|
+
# @param source {String}
|
|
12
|
+
# @param destination {String}
|
|
13
|
+
# @param opts {Array}
|
|
14
|
+
# @return {Result}
|
|
15
|
+
# @yield {Result}
|
|
16
|
+
def self.run(source, destination, opts = [], &block)
|
|
17
|
+
destination = "#{self.host}:#{destination}" if self.host
|
|
18
|
+
result = Command.run(source, destination, opts)
|
|
19
|
+
yield(result) if block_given?
|
|
20
|
+
result
|
|
21
|
+
end
|
|
22
|
+
end
|
|
23
|
+
end
|
data/marz-rsync.gemspec
ADDED
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
|
|
2
|
+
lib = File.expand_path("../lib", __FILE__)
|
|
3
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
4
|
+
require "marz/rsync/version"
|
|
5
|
+
|
|
6
|
+
Gem::Specification.new do |spec|
|
|
7
|
+
spec.name = "marz-rsync"
|
|
8
|
+
spec.version = Marz::Rsync::VERSION
|
|
9
|
+
spec.authors = ["marzdgzmn"]
|
|
10
|
+
spec.email = ["marz.dgzmn@gmail.com"]
|
|
11
|
+
|
|
12
|
+
spec.summary = %q{Marz/Rsync is a Ruby library wrapper for the rsync binary}
|
|
13
|
+
spec.homepage = "https://github.com/marzdgzmn/marz-rsync"
|
|
14
|
+
spec.license = "MIT"
|
|
15
|
+
|
|
16
|
+
# Prevent pushing this gem to RubyGems.org. To allow pushes either set the 'allowed_push_host'
|
|
17
|
+
# to allow pushing to a single host or delete this section to allow pushing to any host.
|
|
18
|
+
#if spec.respond_to?(:metadata)
|
|
19
|
+
# spec.metadata["allowed_push_host"] = "TODO: Set to 'http://mygemserver.com'"
|
|
20
|
+
#else
|
|
21
|
+
# raise "RubyGems 2.0 or newer is required to protect against " \
|
|
22
|
+
# "public gem pushes."
|
|
23
|
+
#end
|
|
24
|
+
|
|
25
|
+
spec.files = `git ls-files -z`.split("\x0").reject do |f|
|
|
26
|
+
f.match(%r{^(test|spec|features)/})
|
|
27
|
+
end
|
|
28
|
+
spec.bindir = "exe"
|
|
29
|
+
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
|
30
|
+
spec.require_paths = ["lib"]
|
|
31
|
+
|
|
32
|
+
spec.add_development_dependency "bundler", "~> 1.16"
|
|
33
|
+
spec.add_development_dependency "rake", "~> 10.0"
|
|
34
|
+
spec.add_development_dependency "rspec", "~> 3.0"
|
|
35
|
+
spec.add_development_dependency "pry", "~> 0.11"
|
|
36
|
+
end
|
metadata
ADDED
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
|
2
|
+
name: marz-rsync
|
|
3
|
+
version: !ruby/object:Gem::Version
|
|
4
|
+
version: 0.1.0
|
|
5
|
+
platform: ruby
|
|
6
|
+
authors:
|
|
7
|
+
- marzdgzmn
|
|
8
|
+
autorequire:
|
|
9
|
+
bindir: exe
|
|
10
|
+
cert_chain: []
|
|
11
|
+
date: 2018-08-30 00:00:00.000000000 Z
|
|
12
|
+
dependencies:
|
|
13
|
+
- !ruby/object:Gem::Dependency
|
|
14
|
+
name: bundler
|
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
|
16
|
+
requirements:
|
|
17
|
+
- - "~>"
|
|
18
|
+
- !ruby/object:Gem::Version
|
|
19
|
+
version: '1.16'
|
|
20
|
+
type: :development
|
|
21
|
+
prerelease: false
|
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
23
|
+
requirements:
|
|
24
|
+
- - "~>"
|
|
25
|
+
- !ruby/object:Gem::Version
|
|
26
|
+
version: '1.16'
|
|
27
|
+
- !ruby/object:Gem::Dependency
|
|
28
|
+
name: rake
|
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
|
30
|
+
requirements:
|
|
31
|
+
- - "~>"
|
|
32
|
+
- !ruby/object:Gem::Version
|
|
33
|
+
version: '10.0'
|
|
34
|
+
type: :development
|
|
35
|
+
prerelease: false
|
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
37
|
+
requirements:
|
|
38
|
+
- - "~>"
|
|
39
|
+
- !ruby/object:Gem::Version
|
|
40
|
+
version: '10.0'
|
|
41
|
+
- !ruby/object:Gem::Dependency
|
|
42
|
+
name: rspec
|
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
|
44
|
+
requirements:
|
|
45
|
+
- - "~>"
|
|
46
|
+
- !ruby/object:Gem::Version
|
|
47
|
+
version: '3.0'
|
|
48
|
+
type: :development
|
|
49
|
+
prerelease: false
|
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
51
|
+
requirements:
|
|
52
|
+
- - "~>"
|
|
53
|
+
- !ruby/object:Gem::Version
|
|
54
|
+
version: '3.0'
|
|
55
|
+
- !ruby/object:Gem::Dependency
|
|
56
|
+
name: pry
|
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
|
58
|
+
requirements:
|
|
59
|
+
- - "~>"
|
|
60
|
+
- !ruby/object:Gem::Version
|
|
61
|
+
version: '0.11'
|
|
62
|
+
type: :development
|
|
63
|
+
prerelease: false
|
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
65
|
+
requirements:
|
|
66
|
+
- - "~>"
|
|
67
|
+
- !ruby/object:Gem::Version
|
|
68
|
+
version: '0.11'
|
|
69
|
+
description:
|
|
70
|
+
email:
|
|
71
|
+
- marz.dgzmn@gmail.com
|
|
72
|
+
executables: []
|
|
73
|
+
extensions: []
|
|
74
|
+
extra_rdoc_files: []
|
|
75
|
+
files:
|
|
76
|
+
- ".gitignore"
|
|
77
|
+
- ".rspec"
|
|
78
|
+
- ".travis.yml"
|
|
79
|
+
- CODE_OF_CONDUCT.md
|
|
80
|
+
- Gemfile
|
|
81
|
+
- Gemfile.lock
|
|
82
|
+
- LICENSE.txt
|
|
83
|
+
- README.md
|
|
84
|
+
- Rakefile
|
|
85
|
+
- bin/console
|
|
86
|
+
- bin/setup
|
|
87
|
+
- lib/marz/rsync.rb
|
|
88
|
+
- lib/marz/rsync/command.rb
|
|
89
|
+
- lib/marz/rsync/configure.rb
|
|
90
|
+
- lib/marz/rsync/result.rb
|
|
91
|
+
- lib/marz/rsync/version.rb
|
|
92
|
+
- marz-rsync.gemspec
|
|
93
|
+
homepage: https://github.com/marzdgzmn/marz-rsync
|
|
94
|
+
licenses:
|
|
95
|
+
- MIT
|
|
96
|
+
metadata: {}
|
|
97
|
+
post_install_message:
|
|
98
|
+
rdoc_options: []
|
|
99
|
+
require_paths:
|
|
100
|
+
- lib
|
|
101
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
|
102
|
+
requirements:
|
|
103
|
+
- - ">="
|
|
104
|
+
- !ruby/object:Gem::Version
|
|
105
|
+
version: '0'
|
|
106
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
107
|
+
requirements:
|
|
108
|
+
- - ">="
|
|
109
|
+
- !ruby/object:Gem::Version
|
|
110
|
+
version: '0'
|
|
111
|
+
requirements: []
|
|
112
|
+
rubyforge_project:
|
|
113
|
+
rubygems_version: 2.6.13
|
|
114
|
+
signing_key:
|
|
115
|
+
specification_version: 4
|
|
116
|
+
summary: Marz/Rsync is a Ruby library wrapper for the rsync binary
|
|
117
|
+
test_files: []
|