capistrano-rbenv-install 1.1.0 → 1.2.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 +4 -4
- data/CHANGELOG.md +3 -0
- data/README.md +2 -2
- data/lib/capistrano/rbenv_install/version.rb +1 -1
- data/lib/capistrano/tasks/rbenv_install.rake +11 -0
- 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: 3e9b9a0e06ab2e778d020d0b0a4b35c81579935e
|
|
4
|
+
data.tar.gz: e55f8952da9927e999a669ab5a2c1242b04409aa
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d6245b1b9b9667f65e7aa0288a59f970206e16660685d7f99c38e1f4ee01c457d7ceed4b15ca4526db1e282d9b08086b9a198974b404967500f75929ffc733a5
|
|
7
|
+
data.tar.gz: b7459819397c75627f4476f18939d72157a6b2983741f20c93d39026348432807b35f197980ba0dd4680048183fff3b9dc72e70ddfb089d41b5fa46c9debdb33
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
|
@@ -12,7 +12,7 @@ Install by adding the following to the `Gemfile`:
|
|
|
12
12
|
|
|
13
13
|
gem 'capistrano', '~> 3.2.1'
|
|
14
14
|
gem 'capistrano-rbenv', '~> 2.0' # required
|
|
15
|
-
gem 'capistrano-rbenv-install'
|
|
15
|
+
gem 'capistrano-rbenv-install', '~> 1.2.0'
|
|
16
16
|
|
|
17
17
|
then:
|
|
18
18
|
|
|
@@ -36,7 +36,7 @@ Other than that, this plugin does not need any setup.
|
|
|
36
36
|
|
|
37
37
|
Run:
|
|
38
38
|
|
|
39
|
-
$ bundle exec production deploy
|
|
39
|
+
$ bundle exec cap production deploy
|
|
40
40
|
|
|
41
41
|
And watch ruby being installed.
|
|
42
42
|
|
|
@@ -27,10 +27,21 @@ namespace :rbenv do
|
|
|
27
27
|
end
|
|
28
28
|
end
|
|
29
29
|
|
|
30
|
+
desc 'Update ruby build - rbenv plugin'
|
|
31
|
+
task :update_ruby_build do
|
|
32
|
+
on roles fetch(:rbenv_roles) do
|
|
33
|
+
next if test "[ ! -d #{rbenv_ruby_build_path} ]"
|
|
34
|
+
within rbenv_ruby_build_path do
|
|
35
|
+
execute :git, :pull
|
|
36
|
+
end
|
|
37
|
+
end
|
|
38
|
+
end
|
|
39
|
+
|
|
30
40
|
desc 'Install ruby'
|
|
31
41
|
task :install_ruby do
|
|
32
42
|
on roles fetch(:rbenv_roles) do
|
|
33
43
|
next if test "[ -d #{fetch(:rbenv_ruby_dir)} ]"
|
|
44
|
+
invoke 'rbenv:update_ruby_build'
|
|
34
45
|
execute rbenv_bin_executable_path, :install, fetch(:rbenv_ruby)
|
|
35
46
|
end
|
|
36
47
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: capistrano-rbenv-install
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.
|
|
4
|
+
version: 1.2.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Bruno Sutic
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2014-11-
|
|
11
|
+
date: 2014-11-19 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: capistrano
|