capistrano-bundle_rsync 0.3.2 → 0.3.3

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: a272976a4fc18a543cf265e06f8b6a3f009d9e84
4
- data.tar.gz: 0351532a2684c6a52e840bd360c7d60893fb740b
3
+ metadata.gz: e1a7c5dd4b573c62e9082fbe142cca5e7143d602
4
+ data.tar.gz: 1e3ffe33293099015a641d6261d358b4dd136cea
5
5
  SHA512:
6
- metadata.gz: af113b310aeb9f769ae225c430faf78dd719220be932ad5d9b1dc4ec5911a0f2f6f8a6129b9ad831f488cedf7b657dcfdf3029040a36cf7bc6412d901ce9fc0f
7
- data.tar.gz: 9e689d2e32b55d2f1cebc2806eb710fef31930616db97f604d5d6022cd31ab36d3731091abf1555b21a8443776dd7895446a4a1fb602b3d7cde1cf80356d2a35
6
+ metadata.gz: 4d03b8d7e5ffca0357cb1e6e8a336fa6c5eb2d61a34ae55e8ffc01652f76ca7c6f54e25b2e4982db5ff203308a03ecb543e2d26727b572ff1d2ca2e3ee148226
7
+ data.tar.gz: b028df8af06b91db7855bcef3515e4a8e45cba4360c5fce7a92690b39fd007665ae084fd209f01e6cc1cc4a778552d20f8e27a3d0f94b4429d349489defd8554
data/CHANGELOG.md CHANGED
@@ -1,3 +1,9 @@
1
+ # 0.3.3 (2015/01/30)
2
+
3
+ Fixes:
4
+
5
+ * Fix to cleanup .local_repo/releases with keep_releases
6
+
1
7
  # 0.3.2 (2014/12/11)
2
8
 
3
9
  Changes:
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.2"
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}
@@ -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.2'
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
- releases_path.join(release)
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.2
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: 2014-12-11 00:00:00.000000000 Z
12
+ date: 2015-01-30 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: capistrano