capistrano-bundle_rsync 0.3.2 → 0.3.3
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 +4 -4
- data/CHANGELOG.md +6 -0
- data/README.md +1 -1
- data/capistrano-bundle_rsync.gemspec +1 -1
- data/example/config/deploy.rb +1 -4
- data/lib/capistrano/bundle_rsync/bundler.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: e1a7c5dd4b573c62e9082fbe142cca5e7143d602
|
|
4
|
+
data.tar.gz: 1e3ffe33293099015a641d6261d358b4dd136cea
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 4d03b8d7e5ffca0357cb1e6e8a336fa6c5eb2d61a34ae55e8ffc01652f76ca7c6f54e25b2e4982db5ff203308a03ecb543e2d26727b572ff1d2ca2e3ee148226
|
|
7
|
+
data.tar.gz: b028df8af06b91db7855bcef3515e4a8e45cba4360c5fce7a92690b39fd007665ae084fd209f01e6cc1cc4a778552d20f8e27a3d0f94b4429d349489defd8554
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
|
@@ -54,7 +54,7 @@ bundle_rsync_scm | `git` | SCM Strategy inside `bundle_rsync`. `git` uses git. `
|
|
|
54
54
|
bundle_rsync_local_base_path | `$(pwd)/.local_repo` | The base directory to clone repository
|
|
55
55
|
bundle_rsync_local_mirror_path | `#{base_path}/mirror"` | Path where to mirror your repository
|
|
56
56
|
bundle_rsync_local_releases_path | `"#{base_path}/releases"` | Path of the directory to checkout your repository
|
|
57
|
-
bundle_rsync_local_release_path | `"#{releases_path}/#{datetime}"` | Path to checkout your repository (releases_path + release_name)
|
|
57
|
+
bundle_rsync_local_release_path | `"#{releases_path}/#{datetime}"` | Path to checkout your repository (releases_path + release_name). If you specify this, `keep_releases` for local releases path is disabled because `datetime` directories are no longer created.
|
|
58
58
|
bundle_rsync_local_bundle_path | `"#{base_path}/bundle"` | Path where to bundle install gems.
|
|
59
59
|
bundle_rsync_ssh_options | `ssh_options` | Configuration of ssh for rsync. Default uses the value of `ssh_options`
|
|
60
60
|
bundle_rsync_keep_releases | `keep_releases` | The number of releases to keep on .local_repo
|
|
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
|
4
4
|
|
|
5
5
|
Gem::Specification.new do |spec|
|
|
6
6
|
spec.name = "capistrano-bundle_rsync"
|
|
7
|
-
spec.version = "0.3.
|
|
7
|
+
spec.version = "0.3.3"
|
|
8
8
|
spec.authors = ["sonots", "tohae"]
|
|
9
9
|
spec.email = ["sonots@gmail.com", "tohaechan@gmail.com"]
|
|
10
10
|
spec.description = %q{Deploy an application and bundled gems via rsync}
|
data/example/config/deploy.rb
CHANGED
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
# config valid only for Capistrano 3.2.1
|
|
2
|
-
lock '3.2.1'
|
|
3
|
-
|
|
4
1
|
set :user, 'game'
|
|
5
2
|
set :ssh_options, user: ENV['USER'], keys: [File.expand_path('~/.ssh/id_rsa')]
|
|
6
3
|
# set :default_env, { path: "/opt/ruby/bin:$PATH" }
|
|
@@ -8,7 +5,7 @@ set :ssh_options, user: ENV['USER'], keys: [File.expand_path('~/.ssh/id_rsa')]
|
|
|
8
5
|
set :linked_dirs, %w(log tmp/pids vendor/bundle)
|
|
9
6
|
set :keep_releases, 5
|
|
10
7
|
set :rbenv_type, :user
|
|
11
|
-
set :rbenv_ruby, '2.1.
|
|
8
|
+
set :rbenv_ruby, '2.1.5'
|
|
12
9
|
set :deploy_to, "#{ENV['HOME']}/sample"
|
|
13
10
|
|
|
14
11
|
set :scm, :bundle_rsync
|
|
@@ -42,7 +42,7 @@ BUNDLE_BIN: #{release_path.join('bin')}
|
|
|
42
42
|
directories = (releases - releases.last(config.keep_releases))
|
|
43
43
|
if directories.any?
|
|
44
44
|
directories_str = directories.map do |release|
|
|
45
|
-
|
|
45
|
+
File.join(config.local_releases_path, release)
|
|
46
46
|
end.join(" ")
|
|
47
47
|
execute :rm, '-rf', directories_str
|
|
48
48
|
end
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: capistrano-bundle_rsync
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.3.
|
|
4
|
+
version: 0.3.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- sonots
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date:
|
|
12
|
+
date: 2015-01-30 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: capistrano
|