capistrano-rbenv 2.1.2 → 2.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/.github/release-drafter.yml +17 -0
- data/.github/workflows/push.yml +14 -0
- data/CHANGELOG.md +1 -56
- data/Dangerfile +1 -1
- data/README.md +2 -2
- data/Rakefile +5 -0
- data/capistrano-rbenv.gemspec +6 -1
- data/lib/capistrano/tasks/rbenv.rake +5 -2
- metadata +12 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 7a634655f7ff7fc5e5273ed158bb02dede37695e2fb7bd1018f4f18a983214f6
|
4
|
+
data.tar.gz: c09aec4b35202f8c05b0a9266c2cc1d431490ef1cb964b01410a992de3a440f4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 826633c3fc50343258d4e024ebdc01b5e34f8ef07e2dba5afbe263c90ca15c17716f2fb14a4bef34087e2f54cda3162da4480cb957baa99eb45fc7cfd2cc244e
|
7
|
+
data.tar.gz: 37098a978378cc3343cb380057c6fc5a28e0b33807d629085b6d111750b083db8cb2d523a81e607f258bce95cb4a175896d0d2fa3185c5de4163663e0d7c63fe
|
@@ -0,0 +1,17 @@
|
|
1
|
+
name-template: "$NEXT_PATCH_VERSION"
|
2
|
+
tag-template: "v$NEXT_PATCH_VERSION"
|
3
|
+
categories:
|
4
|
+
- title: "⚠️ Breaking Changes"
|
5
|
+
label: "⚠️ Breaking"
|
6
|
+
- title: "✨ New Features"
|
7
|
+
label: "✨ Feature"
|
8
|
+
- title: "🐛 Bug Fixes"
|
9
|
+
label: "🐛 Bug Fix"
|
10
|
+
- title: "📚 Documentation"
|
11
|
+
label: "📚 Docs"
|
12
|
+
- title: "🏠 Housekeeping"
|
13
|
+
label: "🏠 Housekeeping"
|
14
|
+
change-template: "- $TITLE (#$NUMBER) @$AUTHOR"
|
15
|
+
no-changes-template: "- No changes"
|
16
|
+
template: |
|
17
|
+
$CHANGES
|
data/CHANGELOG.md
CHANGED
@@ -1,56 +1 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
* Your contribution here!
|
4
|
-
|
5
|
-
# [2.1.2][] (29 Sep 2017)
|
6
|
-
|
7
|
-
* [#74](https://github.com/capistrano/rbenv/pull/74): Clarify the location where the ruby is missing - [@creitve](https://github.com/creitve)
|
8
|
-
|
9
|
-
# [2.1.1][] (14 Apr 2017)
|
10
|
-
|
11
|
-
* [#70](https://github.com/capistrano/rbenv/pull/70): Improve log message when rbenv_ruby is not set - [@ivanovaleksey](https://github.com/ivanovaleksey)
|
12
|
-
|
13
|
-
# [2.1.0][] (4 Dec 2016)
|
14
|
-
|
15
|
-
* Make rbenv_ruby optional [#61](https://github.com/capistrano/rbenv/issues/61), [#67](https://github.com/capistrano/rbenv/pull/67)
|
16
|
-
|
17
|
-
# 2.0.4 (3 Jan 2016)
|
18
|
-
|
19
|
-
* Change default `rbenv_path` to use `$HOME` instead of `~`. This allows
|
20
|
-
capistrano-rbenv to work with the new quoting behavior of sshkit 1.8.0.
|
21
|
-
|
22
|
-
# 2.0.3 (27 Jan 2015)
|
23
|
-
|
24
|
-
* rbenv:validate is a 'success' if version exists #36
|
25
|
-
* MIT license included
|
26
|
-
* rbenv command runs only on release_roles #44
|
27
|
-
|
28
|
-
# 2.0.2 (29 Jan 2014)
|
29
|
-
|
30
|
-
* Environment variables are set with native SSHKit API
|
31
|
-
* Depend on capistrano 3.1
|
32
|
-
|
33
|
-
# 2.0.1 (9 Jan 2014)
|
34
|
-
|
35
|
-
* Added ability to setup custom `rbenv_roles` variable (default: :all).
|
36
|
-
* Fixed SSHKit dependency
|
37
|
-
|
38
|
-
# 2.0.0
|
39
|
-
|
40
|
-
* Added ability to setup custom `rbenv_prefix` variable.
|
41
|
-
* prefix rails with rbenv by default
|
42
|
-
* Switching to new command map (https://github.com/capistrano/sshkit/pull/45)
|
43
|
-
This gives us more flexible integration and command mapping.
|
44
|
-
Fixed bug when `cap some_task` didn't invoke rbenv hooks.
|
45
|
-
|
46
|
-
Capistrano 3 -ready release.
|
47
|
-
|
48
|
-
# 1.0.5
|
49
|
-
|
50
|
-
Versions < 2.0 are located in another repo: https://github.com/yyuu/capistrano-rbenv
|
51
|
-
|
52
|
-
|
53
|
-
[master]: https://github.com/capistrano/rbenv/compare/v2.1.2...HEAD
|
54
|
-
[2.1.2]: https://github.com/capistrano/rbenv/compare/v2.1.1...v2.1.2
|
55
|
-
[2.1.1]: https://github.com/capistrano/rbenv/compare/v2.1.0...v2.1.1
|
56
|
-
[2.1.0]: https://github.com/capistrano/rbenv/compare/v2.0.4...v2.1.0
|
1
|
+
Release notes for this project are kept here: https://github.com/capistrano/rbenv/releases
|
data/Dangerfile
CHANGED
@@ -1 +1 @@
|
|
1
|
-
danger.import_dangerfile(github: "capistrano/danger")
|
1
|
+
danger.import_dangerfile(github: "capistrano/danger", branch: "no-changelog")
|
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.9'
|
18
|
-
gem 'capistrano-rbenv', '~> 2.
|
18
|
+
gem 'capistrano-rbenv', '~> 2.2'
|
19
19
|
|
20
20
|
And then execute:
|
21
21
|
|
@@ -28,7 +28,7 @@ And then execute:
|
|
28
28
|
|
29
29
|
|
30
30
|
# config/deploy.rb
|
31
|
-
set :rbenv_type, :user # or :system, depends on your rbenv setup
|
31
|
+
set :rbenv_type, :user # or :system, or :fullstaq (for Fullstaq Ruby), depends on your rbenv setup
|
32
32
|
set :rbenv_ruby, '2.4.2'
|
33
33
|
|
34
34
|
# in case you want to set ruby version from the file:
|
data/Rakefile
CHANGED
data/capistrano-rbenv.gemspec
CHANGED
@@ -4,17 +4,22 @@ $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.
|
7
|
+
gem.version = '2.2.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}
|
11
11
|
gem.summary = %q{rbenv integration for Capistrano}
|
12
12
|
gem.homepage = "https://github.com/capistrano/rbenv"
|
13
|
+
gem.metadata = {
|
14
|
+
"changelog_uri" => "https://github.com/capistrano/rbenv/releases"
|
15
|
+
}
|
13
16
|
|
14
17
|
gem.files = `git ls-files`.split($/)
|
15
18
|
gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
|
16
19
|
gem.require_paths = ["lib"]
|
17
20
|
|
21
|
+
gem.licenses = ["MIT"]
|
22
|
+
|
18
23
|
gem.add_dependency 'capistrano', '~> 3.1'
|
19
24
|
gem.add_dependency 'sshkit', '~> 1.3'
|
20
25
|
|
@@ -19,7 +19,7 @@ namespace :rbenv do
|
|
19
19
|
rbenv_prefix = fetch(:rbenv_prefix, proc { "#{fetch(:rbenv_path)}/bin/rbenv exec" })
|
20
20
|
SSHKit.config.command_map[:rbenv] = "#{fetch(:rbenv_path)}/bin/rbenv"
|
21
21
|
|
22
|
-
fetch(:rbenv_map_bins).each do |command|
|
22
|
+
fetch(:rbenv_map_bins).uniq.each do |command|
|
23
23
|
SSHKit.config.command_map.prefix[command.to_sym].unshift(rbenv_prefix)
|
24
24
|
end
|
25
25
|
end
|
@@ -34,8 +34,11 @@ namespace :load do
|
|
34
34
|
task :defaults do
|
35
35
|
set :rbenv_path, -> {
|
36
36
|
rbenv_path = fetch(:rbenv_custom_path)
|
37
|
-
rbenv_path ||=
|
37
|
+
rbenv_path ||= case fetch(:rbenv_type, :user)
|
38
|
+
when :system
|
38
39
|
'/usr/local/rbenv'
|
40
|
+
when :fullstaq
|
41
|
+
'/usr/lib/rbenv'
|
39
42
|
else
|
40
43
|
'$HOME/.rbenv'
|
41
44
|
end
|
metadata
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: capistrano-rbenv
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kir Shatrov
|
8
8
|
- Yamashita Yuu
|
9
|
-
autorequire:
|
9
|
+
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2020-07-12 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: capistrano
|
@@ -61,6 +61,8 @@ executables: []
|
|
61
61
|
extensions: []
|
62
62
|
extra_rdoc_files: []
|
63
63
|
files:
|
64
|
+
- ".github/release-drafter.yml"
|
65
|
+
- ".github/workflows/push.yml"
|
64
66
|
- ".gitignore"
|
65
67
|
- ".travis.yml"
|
66
68
|
- CHANGELOG.md
|
@@ -74,9 +76,11 @@ files:
|
|
74
76
|
- lib/capistrano/rbenv.rb
|
75
77
|
- lib/capistrano/tasks/rbenv.rake
|
76
78
|
homepage: https://github.com/capistrano/rbenv
|
77
|
-
licenses:
|
78
|
-
|
79
|
-
|
79
|
+
licenses:
|
80
|
+
- MIT
|
81
|
+
metadata:
|
82
|
+
changelog_uri: https://github.com/capistrano/rbenv/releases
|
83
|
+
post_install_message:
|
80
84
|
rdoc_options: []
|
81
85
|
require_paths:
|
82
86
|
- lib
|
@@ -91,9 +95,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
91
95
|
- !ruby/object:Gem::Version
|
92
96
|
version: '0'
|
93
97
|
requirements: []
|
94
|
-
|
95
|
-
|
96
|
-
signing_key:
|
98
|
+
rubygems_version: 3.1.4
|
99
|
+
signing_key:
|
97
100
|
specification_version: 4
|
98
101
|
summary: rbenv integration for Capistrano
|
99
102
|
test_files: []
|