capistrano-rsync-dsl 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +9 -0
- data/.rspec +2 -0
- data/.travis.yml +3 -0
- data/CODE_OF_CONDUCT.md +13 -0
- data/Gemfile +4 -0
- data/LICENSE.txt +21 -0
- data/README.md +60 -0
- data/Rakefile +7 -0
- data/bin/console +14 -0
- data/bin/setup +7 -0
- data/capistrano-rsync-dsl.gemspec +28 -0
- data/example/Capfile +29 -0
- data/example/config/deploy.rb +39 -0
- data/example/config/deploy/production.rb +17 -0
- data/example/lib/capistrano/tasks/maintenance.rake +26 -0
- data/example/lib/capistrano/tasks/puppet.rake +102 -0
- data/example/lib/capistrano/tasks/rsync.rake +14 -0
- data/example/lib/capistrano/tasks/yum.rake +20 -0
- data/lib/capistrano/rsync/dsl.rb +4 -0
- data/lib/capistrano/rsync/dsl/dsl.rb +27 -0
- data/lib/capistrano/rsync/dsl/version.rb +7 -0
- data/lib/capistrano/rsync/tasks/capistrano-rsync-dsl.rake +8 -0
- metadata +136 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 06b36990efb5086956968763a023a1b233d337c1
|
4
|
+
data.tar.gz: 07e8e8d4a96e2101cecee7220b5d2506a7c23df6
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: fdf8f471f377786597819a0e4ed225c4654d1d95362292fdc76a3e82bf02b73d4feef1238014dd0e1487136e6b42a495af58f8113009eaef8f939ebeb34fa2d2
|
7
|
+
data.tar.gz: 50635df54e2b2c6621a4732bc70772ec11bff1d22bc118070074781413897d4f6fb07e030f646395b4412cc55f37f90252f9e2ab1b93fceea9c88f2cc38fcb6b
|
data/.gitignore
ADDED
data/.rspec
ADDED
data/.travis.yml
ADDED
data/CODE_OF_CONDUCT.md
ADDED
@@ -0,0 +1,13 @@
|
|
1
|
+
# Contributor Code of Conduct
|
2
|
+
|
3
|
+
As contributors and maintainers of this project, we pledge to respect all people who contribute through reporting issues, posting feature requests, updating documentation, submitting pull requests or patches, and other activities.
|
4
|
+
|
5
|
+
We are committed to making participation in this project a harassment-free experience for everyone, regardless of level of experience, gender, gender identity and expression, sexual orientation, disability, personal appearance, body size, race, age, or religion.
|
6
|
+
|
7
|
+
Examples of unacceptable behavior by participants include the use of sexual language or imagery, derogatory comments or personal attacks, trolling, public or private harassment, insults, or other unprofessional conduct.
|
8
|
+
|
9
|
+
Project maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct. Project maintainers who do not follow the Code of Conduct may be removed from the project team.
|
10
|
+
|
11
|
+
Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by opening an issue or contacting one or more of the project maintainers.
|
12
|
+
|
13
|
+
This Code of Conduct is adapted from the [Contributor Covenant](http:contributor-covenant.org), version 1.0.0, available at [http://contributor-covenant.org/version/1/0/0/](http://contributor-covenant.org/version/1/0/0/)
|
data/Gemfile
ADDED
data/LICENSE.txt
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
The MIT License (MIT)
|
2
|
+
|
3
|
+
Copyright (c) 2015 Yuta, AKAMINE
|
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,60 @@
|
|
1
|
+
# Capistrano::Rsync::Dsl
|
2
|
+
|
3
|
+
Capistrano plugin for rsync DSL
|
4
|
+
|
5
|
+
# Requirements
|
6
|
+
|
7
|
+
* Capistrano ~> 3.3
|
8
|
+
|
9
|
+
## Installation
|
10
|
+
|
11
|
+
Add this line to your application's Gemfile:
|
12
|
+
|
13
|
+
```ruby
|
14
|
+
gem 'capistrano'
|
15
|
+
gem 'capistrano-rsync-dsl'
|
16
|
+
```
|
17
|
+
|
18
|
+
And then execute:
|
19
|
+
|
20
|
+
$ bundle install
|
21
|
+
|
22
|
+
## Configuration
|
23
|
+
|
24
|
+
You can also Capistrano variables with `set :name, value`.
|
25
|
+
|
26
|
+
Name | Default | Description
|
27
|
+
------------|-----------------------------|------------
|
28
|
+
:sync_opts | ['-avz'] | basic sync option
|
29
|
+
:ssh_opts | ['-e', 'ssh -c arcfour'] | ssh tranfar option
|
30
|
+
:other_opts | ['--recursive', '--delete'] | sending file/directory option
|
31
|
+
:username | ENV['USER'] or ask() from prompt | username on remote server
|
32
|
+
|
33
|
+
## Usage
|
34
|
+
|
35
|
+
Add this line to your application's Capfile:
|
36
|
+
|
37
|
+
```ruby
|
38
|
+
require 'capistrano/capistrano-rsync-dsl'
|
39
|
+
```
|
40
|
+
|
41
|
+
## DSL usage
|
42
|
+
|
43
|
+
in `on roles()` blocks, use like this:
|
44
|
+
|
45
|
+
```ruby
|
46
|
+
src = '/path/to/local'
|
47
|
+
dst = '/path/to/remote'
|
48
|
+
|
49
|
+
on roles(:all) do |host|
|
50
|
+
rsync src, host, dst
|
51
|
+
end
|
52
|
+
```
|
53
|
+
|
54
|
+
## Contributing
|
55
|
+
|
56
|
+
1. Fork it ( https://github.com/[my-github-username]/capistrano-sudo/fork )
|
57
|
+
2. Create your feature branch (`git checkout -b my-new-feature`)
|
58
|
+
3. Commit your changes (`git commit -am 'Add some feature'`)
|
59
|
+
4. Push to the branch (`git push origin my-new-feature`)
|
60
|
+
5. Create a new Pull Request
|
data/Rakefile
ADDED
data/bin/console
ADDED
@@ -0,0 +1,14 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
|
3
|
+
require "bundler/setup"
|
4
|
+
require "capistrano/rsync/dsl"
|
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
|
data/bin/setup
ADDED
@@ -0,0 +1,28 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
lib = File.expand_path('../lib', __FILE__)
|
3
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
+
require 'capistrano/rsync/dsl/version'
|
5
|
+
|
6
|
+
Gem::Specification.new do |spec|
|
7
|
+
spec.name = "capistrano-rsync-dsl"
|
8
|
+
spec.version = Capistrano::Rsync::Dsl::VERSION
|
9
|
+
spec.authors = ["Yuta, AKAMINE"]
|
10
|
+
spec.email = ["analogeryuta1984@gmail.com"]
|
11
|
+
|
12
|
+
spec.summary = %q{rsync extention for Capistrano}
|
13
|
+
spec.description = %q{Capistrano plugin, for rsync DSL extention.}
|
14
|
+
spec.homepage = "https://github.com/analogeryuta/capistrano-rsync-dsl"
|
15
|
+
spec.license = "MIT"
|
16
|
+
|
17
|
+
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
18
|
+
spec.bindir = "exe"
|
19
|
+
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
20
|
+
spec.require_paths = ["lib"]
|
21
|
+
|
22
|
+
spec.add_dependency "capistrano", "~> 3.3"
|
23
|
+
|
24
|
+
spec.add_development_dependency "capistrano-sudo"
|
25
|
+
spec.add_development_dependency "bundler", "~> 1.8"
|
26
|
+
spec.add_development_dependency "rake", "~> 10.0"
|
27
|
+
spec.add_development_dependency "rspec"
|
28
|
+
end
|
data/example/Capfile
ADDED
@@ -0,0 +1,29 @@
|
|
1
|
+
# Load DSL and set up stages
|
2
|
+
require 'capistrano/setup'
|
3
|
+
require 'capistrano/sudo'
|
4
|
+
require 'capistrano/rsync/dsl'
|
5
|
+
|
6
|
+
# Include default deployment tasks
|
7
|
+
#require 'capistrano/deploy'
|
8
|
+
|
9
|
+
# Include tasks from other gems included in your Gemfile
|
10
|
+
#
|
11
|
+
# For documentation on these, see for example:
|
12
|
+
#
|
13
|
+
# https://github.com/capistrano/rvm
|
14
|
+
# https://github.com/capistrano/rbenv
|
15
|
+
# https://github.com/capistrano/chruby
|
16
|
+
# https://github.com/capistrano/bundler
|
17
|
+
# https://github.com/capistrano/rails
|
18
|
+
# https://github.com/capistrano/passenger
|
19
|
+
#
|
20
|
+
# require 'capistrano/rvm'
|
21
|
+
# require 'capistrano/rbenv'
|
22
|
+
# require 'capistrano/chruby'
|
23
|
+
# require 'capistrano/bundler'
|
24
|
+
# require 'capistrano/rails/assets'
|
25
|
+
# require 'capistrano/rails/migrations'
|
26
|
+
# require 'capistrano/passenger'
|
27
|
+
|
28
|
+
# Load custom tasks from `lib/capistrano/tasks` if you have any defined
|
29
|
+
Dir.glob('lib/capistrano/tasks/*.rake').each { |r| import r }
|
@@ -0,0 +1,39 @@
|
|
1
|
+
# config valid only for current version of Capistrano
|
2
|
+
lock '3.4.0'
|
3
|
+
|
4
|
+
set :application, 'packer-templates'
|
5
|
+
set :repo_url, 'git@github.com:analogeryuta/packer-templates.git'
|
6
|
+
|
7
|
+
# Default branch is :master
|
8
|
+
ask :branch, `git rev-parse --abbrev-ref HEAD`.chomp
|
9
|
+
|
10
|
+
# Default deploy_to directory is /var/www/my_app_name
|
11
|
+
set :deploy_to, fetch(:home_dir)
|
12
|
+
|
13
|
+
# Default value for :scm is :git
|
14
|
+
set :scm, :git
|
15
|
+
|
16
|
+
# Default value for :format is :pretty
|
17
|
+
set :format, :pretty
|
18
|
+
|
19
|
+
# Default value for :log_level is :debug
|
20
|
+
set :log_level, :debug
|
21
|
+
|
22
|
+
# Default value for :pty is false
|
23
|
+
set :pty, true
|
24
|
+
|
25
|
+
# Default value for keep_releases is 5
|
26
|
+
# set :keep_releases, 5
|
27
|
+
|
28
|
+
set :home_dir, '/home/admin'
|
29
|
+
|
30
|
+
# Settings for puppet installation.
|
31
|
+
set :puppet_installer, '../files/bin/puppet-installer'
|
32
|
+
set :puppet_local_dir, '../puppet'
|
33
|
+
set :puppet_remote_dir, '/etc/puppet'
|
34
|
+
|
35
|
+
# Settings for hierra configuration.
|
36
|
+
set :hiera_local_config, '../hiera/hiera.yaml'
|
37
|
+
set :hiera_local_dir, '../hiera/data'
|
38
|
+
set :hiera_remote_config, '/etc/hiera.yaml'
|
39
|
+
set :hiera_remote_dir, '/var/lib/hiera'
|
@@ -0,0 +1,17 @@
|
|
1
|
+
# Test settings using vagrant VM.
|
2
|
+
#
|
3
|
+
|
4
|
+
server 'localhost', user: 'vagrant', port: 2222, roles: %w{app}
|
5
|
+
|
6
|
+
# Custom SSH Options
|
7
|
+
# ==================
|
8
|
+
# You may pass any option but keep in mind that net/ssh understands a
|
9
|
+
# limited set of options, consult the Net::SSH documentation.
|
10
|
+
# http://net-ssh.github.io/net-ssh/classes/Net/SSH.html#method-c-start
|
11
|
+
#
|
12
|
+
# Global options
|
13
|
+
# --------------
|
14
|
+
set :ssh_options, {
|
15
|
+
keys: "#{ENV['HOME']}/.vagrant.d/insecure_private_key",
|
16
|
+
auth_methods: %w(publickey)
|
17
|
+
}
|
@@ -0,0 +1,26 @@
|
|
1
|
+
# Tasks for server's maintenance
|
2
|
+
|
3
|
+
namespace :maintenance do
|
4
|
+
desc 'Start iptables service.'
|
5
|
+
task :iptables_start do
|
6
|
+
on roles(:all) do
|
7
|
+
sudo 'service iptables start'
|
8
|
+
info 'Start iptables service...'
|
9
|
+
end
|
10
|
+
end
|
11
|
+
|
12
|
+
desc 'Stop iptables service.'
|
13
|
+
task :iptables_stop do
|
14
|
+
on roles(:all) do
|
15
|
+
sudo 'service iptables stop'
|
16
|
+
info 'Stop iptalbes service...'
|
17
|
+
end
|
18
|
+
end
|
19
|
+
|
20
|
+
desc 'Reboot the server.'
|
21
|
+
task :reboot do
|
22
|
+
on roles(:all) do
|
23
|
+
sudo 'reboot'
|
24
|
+
end
|
25
|
+
end
|
26
|
+
end
|
@@ -0,0 +1,102 @@
|
|
1
|
+
# Tasks for Puppet operation
|
2
|
+
|
3
|
+
namespace :puppet do
|
4
|
+
desc 'Upload files of Puppet, Hiera, Facter.'
|
5
|
+
task :upload do
|
6
|
+
stage = fetch(:stage)
|
7
|
+
tmp_dir = fetch(:tmp_dir)
|
8
|
+
|
9
|
+
puppet_uploads = %w(modules manifests files puppet.conf roles site-modules)
|
10
|
+
puppet_local = fetch(:puppet_local_dir)
|
11
|
+
puppet_remote = fetch(:puppet_remote_dir)
|
12
|
+
puppet_tmp = "#{tmp_dir}/puppet"
|
13
|
+
|
14
|
+
hiera_local_config = fetch(:hiera_local_config)
|
15
|
+
hiera_remote_config = fetch(:hiera_remote_config)
|
16
|
+
hiera_config_tmp = "#{tmp_dir}/hiera.yaml"
|
17
|
+
|
18
|
+
hiera_uploads = ['common.yaml', 'os', stage]
|
19
|
+
hiera_local = fetch(:hiera_local_dir)
|
20
|
+
hiera_remote = fetch(:hiera_remote_dir)
|
21
|
+
hiera_tmp = "#{tmp_dir}/hiera"
|
22
|
+
|
23
|
+
facter_local = '../facter'
|
24
|
+
facter_remote = '/etc/facter/facts.d'
|
25
|
+
|
26
|
+
run_locally do
|
27
|
+
unless File.exist?("#{puppet_local}/modules")
|
28
|
+
error "please 'bundle exec librarian-puppet install' in #{puppet_local}."
|
29
|
+
abort
|
30
|
+
end
|
31
|
+
end
|
32
|
+
|
33
|
+
on roles(:all) do
|
34
|
+
# Upload Facter files
|
35
|
+
sudo :mkdir, '-p', facter_remote unless File.exist?(facter_remote)
|
36
|
+
|
37
|
+
upload! "#{facter_local}/#{stage}.yaml", tmp_dir
|
38
|
+
sudo :mv, "#{tmp_dir}/#{stage}.yaml", facter_remote
|
39
|
+
|
40
|
+
# Upload Hiera config
|
41
|
+
upload! hiera_local_config, hiera_config_tmp
|
42
|
+
sudo :mv, hiera_config_tmp, hiera_remote_config
|
43
|
+
|
44
|
+
# Upload Hiera data
|
45
|
+
execute :mkdir, '-p', hiera_tmp
|
46
|
+
hiera_uploads.each do |f|
|
47
|
+
upload! "#{hiera_local}/#{f}", hiera_tmp, recursive: true
|
48
|
+
end
|
49
|
+
sudo :rm, '-rf', hiera_remote
|
50
|
+
sudo :mv, hiera_tmp, hiera_remote
|
51
|
+
|
52
|
+
# Upload Puppet files
|
53
|
+
execute :mkdir, '-p', puppet_tmp
|
54
|
+
puppet_uploads.each do |f|
|
55
|
+
upload! "#{puppet_local}/#{f}", puppet_tmp, recursive: true
|
56
|
+
end
|
57
|
+
sudo :rm, '-rf', puppet_remote
|
58
|
+
sudo :mv, puppet_tmp, puppet_remote
|
59
|
+
|
60
|
+
# Clear uploaded temporary directories for invalid sudo password.
|
61
|
+
execute :rm, '-rf', puppet_tmp, hiera_config_tmp, hiera_tmp
|
62
|
+
end
|
63
|
+
end
|
64
|
+
|
65
|
+
desc 'Install Puppet client to server.'
|
66
|
+
task :install do
|
67
|
+
tmp_dir = fetch(:tmp_dir)
|
68
|
+
script = fetch(:puppet_installer)
|
69
|
+
installer = nil
|
70
|
+
|
71
|
+
run_locally do
|
72
|
+
if File.exist?(script)
|
73
|
+
installer = File.basename(script)
|
74
|
+
else
|
75
|
+
error 'Puppet installer not found.'
|
76
|
+
abort
|
77
|
+
end
|
78
|
+
end
|
79
|
+
|
80
|
+
on roles(:all) do
|
81
|
+
upload! script, tmp_dir
|
82
|
+
within tmp_dir do
|
83
|
+
sudo :sh, installer
|
84
|
+
end
|
85
|
+
info "execute #{installer} finished."
|
86
|
+
end
|
87
|
+
end
|
88
|
+
|
89
|
+
desc 'Apply Puppet manifest.'
|
90
|
+
task :apply do
|
91
|
+
manifests = "#{fetch(:puppet_remote_dir)}/manifests"
|
92
|
+
|
93
|
+
# Ask `puppet apply` option.
|
94
|
+
ask(:option, '--noop')
|
95
|
+
|
96
|
+
on roles(:all) do |host|
|
97
|
+
hostname = extract_hostname(host)
|
98
|
+
manifest = "#{manifests}/#{hostname}.pp"
|
99
|
+
sudo :puppet, 'apply', fetch(:option), manifest
|
100
|
+
end
|
101
|
+
end
|
102
|
+
end
|
@@ -0,0 +1,20 @@
|
|
1
|
+
# Tasks for update packages.
|
2
|
+
|
3
|
+
namespace :yum do
|
4
|
+
desc "Check server's and download updater via 'yum'"
|
5
|
+
task :downloadonly do
|
6
|
+
on roles(:all) do
|
7
|
+
ask(:option, '--disablerepo=remi')
|
8
|
+
|
9
|
+
sudo 'yum -y update --downloadonly', fetch(:option)
|
10
|
+
end
|
11
|
+
end
|
12
|
+
|
13
|
+
desc "Check server's updater"
|
14
|
+
task :check_update do
|
15
|
+
on roles(:all) do
|
16
|
+
sudo 'yum clean all'
|
17
|
+
sudo 'yum check-update'
|
18
|
+
end
|
19
|
+
end
|
20
|
+
end
|
@@ -0,0 +1,27 @@
|
|
1
|
+
module Capistrano
|
2
|
+
module DSL
|
3
|
+
def rsync(src, host, dst)
|
4
|
+
sync_opts = fetch(:sync_opts)
|
5
|
+
ssh_opts = fetch(:ssh_opts)
|
6
|
+
other_opts = fetch(:other_opts)
|
7
|
+
user = fetch(:username)
|
8
|
+
|
9
|
+
rsync = %w[rsync]
|
10
|
+
rsync << sync_opts
|
11
|
+
rsync << ssh_opts
|
12
|
+
rsync << other_opts
|
13
|
+
rsync << src
|
14
|
+
rsync << "#{user}@#{host.hostname}:#{dst}"
|
15
|
+
|
16
|
+
Kernel.system *rsync.flatten
|
17
|
+
end
|
18
|
+
|
19
|
+
def rsync_remote(src, host, dst)
|
20
|
+
sync_opts = fetch(:sync_opts)
|
21
|
+
ssh_opts = fetch(:ssh_opts)
|
22
|
+
other_opts = fetch(:other_opts)
|
23
|
+
user = fetch(:username)
|
24
|
+
execute :rsync, sync_opts, ssh_opts, other_opts, src, "#{user}@#{host}:#{dst}"
|
25
|
+
end
|
26
|
+
end
|
27
|
+
end
|
metadata
ADDED
@@ -0,0 +1,136 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: capistrano-rsync-dsl
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.1
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Yuta, AKAMINE
|
8
|
+
autorequire:
|
9
|
+
bindir: exe
|
10
|
+
cert_chain: []
|
11
|
+
date: 2015-07-09 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: capistrano
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '3.3'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '3.3'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: capistrano-sudo
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ">="
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '0'
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - ">="
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: bundler
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - "~>"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '1.8'
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - "~>"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '1.8'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: rake
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - "~>"
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '10.0'
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - "~>"
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '10.0'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: rspec
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - ">="
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '0'
|
76
|
+
type: :development
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - ">="
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '0'
|
83
|
+
description: Capistrano plugin, for rsync DSL extention.
|
84
|
+
email:
|
85
|
+
- analogeryuta1984@gmail.com
|
86
|
+
executables: []
|
87
|
+
extensions: []
|
88
|
+
extra_rdoc_files: []
|
89
|
+
files:
|
90
|
+
- ".gitignore"
|
91
|
+
- ".rspec"
|
92
|
+
- ".travis.yml"
|
93
|
+
- CODE_OF_CONDUCT.md
|
94
|
+
- Gemfile
|
95
|
+
- LICENSE.txt
|
96
|
+
- README.md
|
97
|
+
- Rakefile
|
98
|
+
- bin/console
|
99
|
+
- bin/setup
|
100
|
+
- capistrano-rsync-dsl.gemspec
|
101
|
+
- example/Capfile
|
102
|
+
- example/config/deploy.rb
|
103
|
+
- example/config/deploy/production.rb
|
104
|
+
- example/lib/capistrano/tasks/maintenance.rake
|
105
|
+
- example/lib/capistrano/tasks/puppet.rake
|
106
|
+
- example/lib/capistrano/tasks/rsync.rake
|
107
|
+
- example/lib/capistrano/tasks/yum.rake
|
108
|
+
- lib/capistrano/rsync/dsl.rb
|
109
|
+
- lib/capistrano/rsync/dsl/dsl.rb
|
110
|
+
- lib/capistrano/rsync/dsl/version.rb
|
111
|
+
- lib/capistrano/rsync/tasks/capistrano-rsync-dsl.rake
|
112
|
+
homepage: https://github.com/analogeryuta/capistrano-rsync-dsl
|
113
|
+
licenses:
|
114
|
+
- MIT
|
115
|
+
metadata: {}
|
116
|
+
post_install_message:
|
117
|
+
rdoc_options: []
|
118
|
+
require_paths:
|
119
|
+
- lib
|
120
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
121
|
+
requirements:
|
122
|
+
- - ">="
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
version: '0'
|
125
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
126
|
+
requirements:
|
127
|
+
- - ">="
|
128
|
+
- !ruby/object:Gem::Version
|
129
|
+
version: '0'
|
130
|
+
requirements: []
|
131
|
+
rubyforge_project:
|
132
|
+
rubygems_version: 2.2.2
|
133
|
+
signing_key:
|
134
|
+
specification_version: 4
|
135
|
+
summary: rsync extention for Capistrano
|
136
|
+
test_files: []
|