capistrano-rbenv 2.1.2 → 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
- SHA1:
3
- metadata.gz: d46c1f8e2f4ff5b02639594c65ceb59748f91e29
4
- data.tar.gz: 7c6ea20fc2d497d01e2592729ddf165ecdcc9388
2
+ SHA256:
3
+ metadata.gz: 7a634655f7ff7fc5e5273ed158bb02dede37695e2fb7bd1018f4f18a983214f6
4
+ data.tar.gz: c09aec4b35202f8c05b0a9266c2cc1d431490ef1cb964b01410a992de3a440f4
5
5
  SHA512:
6
- metadata.gz: 10586deb600dc466f73de4b96f94479734cac20d4372351318fb7fa8bf21c036ffde1bfac62af7bdce6b441439eac264d65d6ff474afcae139efbb2c21b780bb
7
- data.tar.gz: 10c48cd8742d3582963409890ecc19e316e186ce5c27a07bd732e90bf8882d8442b2c7c0636c684187ac2d3e9c29a2e750482ce7efaad78195bdfed5c57685e5
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,56 +1 @@
1
- # [master][]
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.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,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.1.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 ||= 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.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: 2017-09-29 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
@@ -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
- metadata: {}
79
- post_install_message:
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
- rubyforge_project:
95
- rubygems_version: 2.6.13
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: []