capistrano-rbenv 2.1.6 → 2.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1694a22de9fe3706977f1e9cf0dcbb700352e9d4558cd3dcfd43eed70f9f1926
4
- data.tar.gz: f43c126062a04ccd3582ec6d155030cd10399604aacb23e00d746af576f5208c
3
+ metadata.gz: 7a634655f7ff7fc5e5273ed158bb02dede37695e2fb7bd1018f4f18a983214f6
4
+ data.tar.gz: c09aec4b35202f8c05b0a9266c2cc1d431490ef1cb964b01410a992de3a440f4
5
5
  SHA512:
6
- metadata.gz: d59e609b25a10bf025bf53e9946e67d207e1b7ec6f6d46b5221cf2f238c1140a957b23c9c440047a2bc992247d1e172fef284484dd744781a9bd7bd89f8a30ae
7
- data.tar.gz: 8eab214618e0ea71d688fa59092f7ed0eb1a99961ed553d8e332ea0a9d80abc49f8431d96b5d28f768264861490f24f9dd956bd87a3a8d62a63ec622ec0987e6
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
@@ -0,0 +1,14 @@
1
+ name: Release Drafter
2
+
3
+ on:
4
+ push:
5
+ branches:
6
+ - master
7
+
8
+ jobs:
9
+ update_release_draft:
10
+ runs-on: ubuntu-latest
11
+ steps:
12
+ - uses: release-drafter/release-drafter@v5
13
+ env:
14
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
@@ -1,76 +1 @@
1
- # [master][]
2
-
3
- * Your contribution here!
4
-
5
- # [2.1.6][] (14 Jan 2020)
6
-
7
- * [#89](https://github.com/capistrano/rbenv/pull/89): Revert [#88](https://github.com/capistrano/rbenv/pull/88) Fix issue with sshkit escaping `$HOME`
8
-
9
- # [2.1.5][] (14 Jan 2020)
10
-
11
- * [#88](https://github.com/capistrano/rbenv/pull/88): Fix issue with sshkit escaping `$HOME`
12
-
13
- # [2.1.4][] (8 Sep 2018)
14
-
15
- * [#82](https://github.com/capistrano/rbenv/pull/82): Specify MIT license in gemspec
16
-
17
- # [2.1.3][] (11 Nov 2017)
18
-
19
- * [#75](https://github.com/capistrano/rbenv/pull/75): Enforce uniqueness of rbenv_map_bins.
20
-
21
- # [2.1.2][] (29 Sep 2017)
22
-
23
- * [#74](https://github.com/capistrano/rbenv/pull/74): Clarify the location where the ruby is missing - [@creitve](https://github.com/creitve)
24
-
25
- # [2.1.1][] (14 Apr 2017)
26
-
27
- * [#70](https://github.com/capistrano/rbenv/pull/70): Improve log message when rbenv_ruby is not set - [@ivanovaleksey](https://github.com/ivanovaleksey)
28
-
29
- # [2.1.0][] (4 Dec 2016)
30
-
31
- * Make rbenv_ruby optional [#61](https://github.com/capistrano/rbenv/issues/61), [#67](https://github.com/capistrano/rbenv/pull/67)
32
-
33
- # 2.0.4 (3 Jan 2016)
34
-
35
- * Change default `rbenv_path` to use `$HOME` instead of `~`. This allows
36
- capistrano-rbenv to work with the new quoting behavior of sshkit 1.8.0.
37
-
38
- # 2.0.3 (27 Jan 2015)
39
-
40
- * rbenv:validate is a 'success' if version exists #36
41
- * MIT license included
42
- * rbenv command runs only on release_roles #44
43
-
44
- # 2.0.2 (29 Jan 2014)
45
-
46
- * Environment variables are set with native SSHKit API
47
- * Depend on capistrano 3.1
48
-
49
- # 2.0.1 (9 Jan 2014)
50
-
51
- * Added ability to setup custom `rbenv_roles` variable (default: :all).
52
- * Fixed SSHKit dependency
53
-
54
- # 2.0.0
55
-
56
- * Added ability to setup custom `rbenv_prefix` variable.
57
- * prefix rails with rbenv by default
58
- * Switching to new command map (https://github.com/capistrano/sshkit/pull/45)
59
- This gives us more flexible integration and command mapping.
60
- Fixed bug when `cap some_task` didn't invoke rbenv hooks.
61
-
62
- Capistrano 3 -ready release.
63
-
64
- # 1.0.5
65
-
66
- Versions < 2.0 are located in another repo: https://github.com/yyuu/capistrano-rbenv
67
-
68
-
69
- [master]: https://github.com/capistrano/rbenv/compare/v2.1.6...HEAD
70
- [2.1.6]: https://github.com/capistrano/rbenv/compare/v2.1.5...v2.1.6
71
- [2.1.5]: https://github.com/capistrano/rbenv/compare/v2.1.4...v2.1.5
72
- [2.1.4]: https://github.com/capistrano/rbenv/compare/v2.1.3...v2.1.4
73
- [2.1.3]: https://github.com/capistrano/rbenv/compare/v2.1.2...v2.1.3
74
- [2.1.2]: https://github.com/capistrano/rbenv/compare/v2.1.1...v2.1.2
75
- [2.1.1]: https://github.com/capistrano/rbenv/compare/v2.1.0...v2.1.1
76
- [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.1'
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
@@ -2,3 +2,8 @@ require "bundler/gem_tasks"
2
2
 
3
3
  # Do nothing by default
4
4
  task :default
5
+
6
+ Rake::Task["release"].enhance do
7
+ puts "Don't forget to publish the release on GitHub!"
8
+ system "open https://github.com/capistrano/rbenv/releases"
9
+ end
@@ -4,12 +4,15 @@ $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.1.6'
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)/})
@@ -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 ||= if fetch(:rbenv_type, :user) == :system
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.1.6
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: 2020-01-15 00:00:00.000000000 Z
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
@@ -76,8 +78,9 @@ files:
76
78
  homepage: https://github.com/capistrano/rbenv
77
79
  licenses:
78
80
  - MIT
79
- metadata: {}
80
- post_install_message:
81
+ metadata:
82
+ changelog_uri: https://github.com/capistrano/rbenv/releases
83
+ post_install_message:
81
84
  rdoc_options: []
82
85
  require_paths:
83
86
  - lib
@@ -92,8 +95,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
92
95
  - !ruby/object:Gem::Version
93
96
  version: '0'
94
97
  requirements: []
95
- rubygems_version: 3.1.2
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: []