capistrano-rbenv-maintenance 1.0.0 → 1.0.1

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: 395367f770d93829b9affd7bfd7e8b6bddc7b32b
4
- data.tar.gz: b917daf8fb84a1ce8a921d3cfb50c7af1bcc2a2f
3
+ metadata.gz: 0d8d177c23c1d1052e25a9a3a38f6c5f22cb14a0
4
+ data.tar.gz: e1201d31822301a448f56c0752cf0e0735683ce8
5
5
  SHA512:
6
- metadata.gz: 81e0e2cfc16aad923de1447c1361e81d2c636350b0380055928ae3ad73013c99d1605a18d209bdc2619b9a062daf4dbb0a45950957e1b27f20e7ec2fe19ed990
7
- data.tar.gz: 2527d20276b9a150fbf015e22f8f9cb2239c08a841ee1684c2f673c007de36e1afa7ede621099c6864013fc3a9102f1b2a2064ad487162e485fa4d6da98fdc57
6
+ metadata.gz: 38208717fe33d0525fac79532de12070e75671bfa058a706928379b009bb232798bc1e0b6fa456fba82418a5a8b87fa90f9660682264a26d9e88f02b131b8d05
7
+ data.tar.gz: 1c7992ed5772ad52a69e40446086b44c5540efdcdceff0371da1834489f89bbeac5e1d287b3c4536b223f9cbe30051e851034d14195c3ba9fc347b0ab5765408
@@ -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-rbenv-maintenance"
7
- spec.version = '1.0.0'
7
+ spec.version = '1.0.1'
8
8
  spec.authors = ['Bob Breznak']
9
9
  spec.email = ['bob.breznak@gmail.com']
10
10
  spec.summary = %q{Tasks for maintaining rbenv with Capistrano}
@@ -3,9 +3,9 @@ namespace :rbenv do
3
3
  task :setup do
4
4
  on roles(fetch(:rbenv_roles)) do
5
5
  [:rbenv, :ruby_build].each do |component|
6
- path = fetch("#{component}_path".to_s)
7
- url = fetch("#{component}_git_url".to_s)
8
- execute :git, 'clone', url, path if test "[ ! -d #{path} ]"
6
+ path = fetch("#{component}_path".to_sym)
7
+ url = fetch("#{component}_git_url".to_sym)
8
+ execute :git, 'clone', url, path unless test "[ -d #{path} ]"
9
9
  end
10
10
  end
11
11
  end
@@ -36,7 +36,7 @@ namespace :rbenv do
36
36
  end
37
37
  end
38
38
 
39
- before 'rbenv:map_bins', 'rbenv:setup'
39
+ before 'rbenv:validate', 'rbenv:setup'
40
40
  before 'rbenv:install', 'rbenv:map_bins'
41
41
  before 'rbenv:validate', 'rbenv:install'
42
42
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: capistrano-rbenv-maintenance
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bob Breznak