capistrano-rbenv 2.0.4 → 2.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +12 -0
- data/README.md +9 -0
- data/capistrano-rbenv.gemspec +1 -1
- data/lib/capistrano/tasks/rbenv.rake +4 -4
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 98fb9cdba5c42ebe0a453c95f61397bd7c1b7a33
|
4
|
+
data.tar.gz: b1468bb26de51d703f3b28ea69155dd290c73795
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ab3c7cd28e2e6e0a695a06b84031aa1b56b41c835bbe7c37e73c5313a51aa9384843d7a1f3d1e56bf664051bf8088a70d2864cef9a15997424db06ddfb1fa036
|
7
|
+
data.tar.gz: a927bd0fa03a16b6fcdad03e0e632639526f6695e2e9121afcf91d6214bf4f58e192301a85ee34b512dabc772a0311deb709f13007375c9a2147f8baaa3fa0ad
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,11 @@
|
|
1
|
+
# [master][]
|
2
|
+
|
3
|
+
* Your contribution here!
|
4
|
+
|
5
|
+
# [2.1.0][] (4 Dec 2016)
|
6
|
+
|
7
|
+
* Make rbenv_ruby optional [#61](https://github.com/capistrano/rbenv/issues/61), [#67](https://github.com/capistrano/rbenv/pull/67)
|
8
|
+
|
1
9
|
# 2.0.4 (3 Jan 2016)
|
2
10
|
|
3
11
|
* Change default `rbenv_path` to use `$HOME` instead of `~`. This allows
|
@@ -32,3 +40,7 @@ Capistrano 3 -ready release.
|
|
32
40
|
# 1.0.5
|
33
41
|
|
34
42
|
Versions < 2.0 are located in another repo: https://github.com/yyuu/capistrano-rbenv
|
43
|
+
|
44
|
+
|
45
|
+
[master]: https://github.com/capistrano/rbenv/compare/v2.1.0...HEAD
|
46
|
+
[2.1.0]: https://github.com/capistrano/rbenv/compare/v2.0.4...v2.1.0
|
data/README.md
CHANGED
@@ -40,6 +40,15 @@ And then execute:
|
|
40
40
|
|
41
41
|
If your rbenv is located in some custom path, you can use `rbenv_custom_path` to set it.
|
42
42
|
|
43
|
+
### Defining the ruby version
|
44
|
+
|
45
|
+
To set the Ruby version explicitly, add `:rbenv_ruby` to your Capistrano configuration:
|
46
|
+
|
47
|
+
# config/deploy.rb
|
48
|
+
set :rbenv_ruby, '2.0.0-p247'
|
49
|
+
|
50
|
+
Alternatively, allow the remote host's `rbenv` to [determine the appropriate Ruby version](https://github.com/rbenv/rbenv#choosing-the-ruby-version) by omitting `:rbenv_ruby`. This approach is useful if you have a `.ruby-version` file in your project.
|
51
|
+
|
43
52
|
## Contributing
|
44
53
|
|
45
54
|
1. Fork it
|
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.1.0'
|
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}
|
@@ -3,12 +3,12 @@ namespace :rbenv do
|
|
3
3
|
on release_roles(fetch(:rbenv_roles)) do
|
4
4
|
rbenv_ruby = fetch(:rbenv_ruby)
|
5
5
|
if rbenv_ruby.nil?
|
6
|
-
|
7
|
-
exit 1
|
6
|
+
warn "rbenv: rbenv_ruby is not set"
|
8
7
|
end
|
9
8
|
|
10
|
-
|
11
|
-
|
9
|
+
# don't check the rbenv_ruby_dir if :rbenv_ruby is not set (it will always fail)
|
10
|
+
unless rbenv_ruby.nil? || (test "[ -d #{fetch(:rbenv_ruby_dir)} ]")
|
11
|
+
warn "rbenv: #{rbenv_ruby} is not installed or not found in #{fetch(:rbenv_ruby_dir)}"
|
12
12
|
exit 1
|
13
13
|
end
|
14
14
|
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.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kir Shatrov
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2016-
|
12
|
+
date: 2016-12-04 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: capistrano
|
@@ -76,7 +76,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
76
76
|
version: '0'
|
77
77
|
requirements: []
|
78
78
|
rubyforge_project:
|
79
|
-
rubygems_version: 2.
|
79
|
+
rubygems_version: 2.6.8
|
80
80
|
signing_key:
|
81
81
|
specification_version: 4
|
82
82
|
summary: rbenv integration for Capistrano
|