capistrano-rbenv 2.0.0 → 2.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +1 -0
- data/CHANGELOG.md +5 -0
- data/README.md +2 -1
- data/capistrano-rbenv.gemspec +2 -2
- data/lib/capistrano/tasks/rbenv.rake +3 -1
- metadata +12 -13
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7ca51c2c6e4b3f3a28bbf1e5fd0fd03ae5feb279
|
4
|
+
data.tar.gz: 98c3bad76ad33f6605450b6598a1013cfbde017e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c5682871168b0efcf3867904c4c014b51b935c220fe1bf6c1de3efdadb051860b864ecb10f1b205c3bbaaf0baa57a96211176e8cd819de860a305c8f7f4716a1
|
7
|
+
data.tar.gz: c2bf8850521c03cfe6cf46cbea465c5f480d8c6c8622f501abb2a39fff4d731897b95b9d0f3d1b730f2f01edc4cf3c257082d6ffcebeab9eccf26846b91d1467
|
data/.gitignore
CHANGED
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
@@ -15,7 +15,7 @@ Thanks a lot to [@yyuu](https://github.com/yyuu) for merging his gem with offici
|
|
15
15
|
Add this line to your application's Gemfile:
|
16
16
|
|
17
17
|
gem 'capistrano', '~> 3.0'
|
18
|
-
gem 'capistrano-rbenv',
|
18
|
+
gem 'capistrano-rbenv', '~> 2.0'
|
19
19
|
|
20
20
|
And then execute:
|
21
21
|
|
@@ -32,6 +32,7 @@ And then execute:
|
|
32
32
|
set :rbenv_ruby, '2.0.0-p247'
|
33
33
|
set :rbenv_prefix, "RBENV_ROOT=#{fetch(:rbenv_path)} RBENV_VERSION=#{fetch(:rbenv_ruby)} #{fetch(:rbenv_path)}/bin/rbenv exec"
|
34
34
|
set :rbenv_map_bins, %w{rake gem bundle ruby rails}
|
35
|
+
set :rbenv_roles, :all # default value
|
35
36
|
|
36
37
|
If your rbenv is located in some custom path, you can use `rbenv_custom_path` to set it.
|
37
38
|
|
data/capistrano-rbenv.gemspec
CHANGED
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
4
4
|
|
5
5
|
Gem::Specification.new do |gem|
|
6
6
|
gem.name = "capistrano-rbenv"
|
7
|
-
gem.version = '2.0.
|
7
|
+
gem.version = '2.0.1'
|
8
8
|
gem.authors = ["Kir Shatrov", "Yamashita Yuu"]
|
9
9
|
gem.email = ["shatrov@me.com", "yamashita@geishatokyo.com"]
|
10
10
|
gem.description = %q{rbenv integration for Capistrano}
|
@@ -16,6 +16,6 @@ Gem::Specification.new do |gem|
|
|
16
16
|
gem.require_paths = ["lib"]
|
17
17
|
|
18
18
|
gem.add_dependency 'capistrano', '~> 3.0'
|
19
|
-
gem.add_dependency 'sshkit', '~> 1.
|
19
|
+
gem.add_dependency 'sshkit', '~> 1.3'
|
20
20
|
|
21
21
|
end
|
@@ -1,6 +1,6 @@
|
|
1
1
|
namespace :rbenv do
|
2
2
|
task :validate do
|
3
|
-
on roles(:
|
3
|
+
on roles(fetch(:rbenv_roles)) do
|
4
4
|
rbenv_ruby = fetch(:rbenv_ruby)
|
5
5
|
if rbenv_ruby.nil?
|
6
6
|
error "rbenv: rbenv_ruby is not set"
|
@@ -40,6 +40,8 @@ namespace :load do
|
|
40
40
|
end
|
41
41
|
}
|
42
42
|
|
43
|
+
set :rbenv_roles, fetch(:rbenv_roles, :all)
|
44
|
+
|
43
45
|
set :rbenv_ruby_dir, -> { "#{fetch(:rbenv_path)}/versions/#{fetch(:rbenv_ruby)}" }
|
44
46
|
set :rbenv_map_bins, %w{rake gem bundle ruby rails}
|
45
47
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: capistrano-rbenv
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kir Shatrov
|
@@ -9,36 +9,36 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2014-01-09 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: capistrano
|
16
16
|
requirement: !ruby/object:Gem::Requirement
|
17
17
|
requirements:
|
18
|
-
- - ~>
|
18
|
+
- - "~>"
|
19
19
|
- !ruby/object:Gem::Version
|
20
20
|
version: '3.0'
|
21
21
|
type: :runtime
|
22
22
|
prerelease: false
|
23
23
|
version_requirements: !ruby/object:Gem::Requirement
|
24
24
|
requirements:
|
25
|
-
- - ~>
|
25
|
+
- - "~>"
|
26
26
|
- !ruby/object:Gem::Version
|
27
27
|
version: '3.0'
|
28
28
|
- !ruby/object:Gem::Dependency
|
29
29
|
name: sshkit
|
30
30
|
requirement: !ruby/object:Gem::Requirement
|
31
31
|
requirements:
|
32
|
-
- - ~>
|
32
|
+
- - "~>"
|
33
33
|
- !ruby/object:Gem::Version
|
34
|
-
version: 1.
|
34
|
+
version: '1.3'
|
35
35
|
type: :runtime
|
36
36
|
prerelease: false
|
37
37
|
version_requirements: !ruby/object:Gem::Requirement
|
38
38
|
requirements:
|
39
|
-
- - ~>
|
39
|
+
- - "~>"
|
40
40
|
- !ruby/object:Gem::Version
|
41
|
-
version: 1.
|
41
|
+
version: '1.3'
|
42
42
|
description: rbenv integration for Capistrano
|
43
43
|
email:
|
44
44
|
- shatrov@me.com
|
@@ -47,7 +47,7 @@ executables: []
|
|
47
47
|
extensions: []
|
48
48
|
extra_rdoc_files: []
|
49
49
|
files:
|
50
|
-
- .gitignore
|
50
|
+
- ".gitignore"
|
51
51
|
- CHANGELOG.md
|
52
52
|
- Gemfile
|
53
53
|
- README.md
|
@@ -65,19 +65,18 @@ require_paths:
|
|
65
65
|
- lib
|
66
66
|
required_ruby_version: !ruby/object:Gem::Requirement
|
67
67
|
requirements:
|
68
|
-
- -
|
68
|
+
- - ">="
|
69
69
|
- !ruby/object:Gem::Version
|
70
70
|
version: '0'
|
71
71
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
72
72
|
requirements:
|
73
|
-
- -
|
73
|
+
- - ">="
|
74
74
|
- !ruby/object:Gem::Version
|
75
75
|
version: '0'
|
76
76
|
requirements: []
|
77
77
|
rubyforge_project:
|
78
|
-
rubygems_version: 2.
|
78
|
+
rubygems_version: 2.2.1
|
79
79
|
signing_key:
|
80
80
|
specification_version: 4
|
81
81
|
summary: rbenv integration for Capistrano
|
82
82
|
test_files: []
|
83
|
-
has_rdoc:
|