capistrano-rbenv 2.1.3 → 2.2.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: d8d5d6e571173fb0b73a909418ef81c4770c6943
4
- data.tar.gz: 3ae3ef924e849cc8b9d0e807ccef267e87095df5
2
+ SHA256:
3
+ metadata.gz: 7a634655f7ff7fc5e5273ed158bb02dede37695e2fb7bd1018f4f18a983214f6
4
+ data.tar.gz: c09aec4b35202f8c05b0a9266c2cc1d431490ef1cb964b01410a992de3a440f4
5
5
  SHA512:
6
- metadata.gz: c44484d8b9e1c77eb485a6f83f9d0cf4a3303ed775993d044e006c927046140f4802a147ecc172c23ee457cc31af98bd75cd310bec177c66fffc4bb832233ac0
7
- data.tar.gz: dd7368c763083bcb19587d60654326fc60f48313156e7a08b9c6a9429ad151cf2dd6b81765481b7e3589a331fb91f8df92619c6d78f75c8843098370a203bd45
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 }}
data/CHANGELOG.md CHANGED
@@ -1,61 +1 @@
1
- # [master][]
2
-
3
- * Your contribution here!
4
-
5
- # [2.1.3][] (11 Nov 2017)
6
-
7
- * [#75](https://github.com/capistrano/rbenv/pull/75): Enforce uniqueness of rbenv_map_bins.
8
-
9
- # [2.1.2][] (29 Sep 2017)
10
-
11
- * [#74](https://github.com/capistrano/rbenv/pull/74): Clarify the location where the ruby is missing - [@creitve](https://github.com/creitve)
12
-
13
- # [2.1.1][] (14 Apr 2017)
14
-
15
- * [#70](https://github.com/capistrano/rbenv/pull/70): Improve log message when rbenv_ruby is not set - [@ivanovaleksey](https://github.com/ivanovaleksey)
16
-
17
- # [2.1.0][] (4 Dec 2016)
18
-
19
- * Make rbenv_ruby optional [#61](https://github.com/capistrano/rbenv/issues/61), [#67](https://github.com/capistrano/rbenv/pull/67)
20
-
21
- # 2.0.4 (3 Jan 2016)
22
-
23
- * Change default `rbenv_path` to use `$HOME` instead of `~`. This allows
24
- capistrano-rbenv to work with the new quoting behavior of sshkit 1.8.0.
25
-
26
- # 2.0.3 (27 Jan 2015)
27
-
28
- * rbenv:validate is a 'success' if version exists #36
29
- * MIT license included
30
- * rbenv command runs only on release_roles #44
31
-
32
- # 2.0.2 (29 Jan 2014)
33
-
34
- * Environment variables are set with native SSHKit API
35
- * Depend on capistrano 3.1
36
-
37
- # 2.0.1 (9 Jan 2014)
38
-
39
- * Added ability to setup custom `rbenv_roles` variable (default: :all).
40
- * Fixed SSHKit dependency
41
-
42
- # 2.0.0
43
-
44
- * Added ability to setup custom `rbenv_prefix` variable.
45
- * prefix rails with rbenv by default
46
- * Switching to new command map (https://github.com/capistrano/sshkit/pull/45)
47
- This gives us more flexible integration and command mapping.
48
- Fixed bug when `cap some_task` didn't invoke rbenv hooks.
49
-
50
- Capistrano 3 -ready release.
51
-
52
- # 1.0.5
53
-
54
- Versions < 2.0 are located in another repo: https://github.com/yyuu/capistrano-rbenv
55
-
56
-
57
- [master]: https://github.com/capistrano/rbenv/compare/v2.1.3...HEAD
58
- [2.1.3]: https://github.com/capistrano/rbenv/compare/v2.1.2...v2.1.3
59
- [2.1.2]: https://github.com/capistrano/rbenv/compare/v2.1.1...v2.1.2
60
- [2.1.1]: https://github.com/capistrano/rbenv/compare/v2.1.0...v2.1.1
61
- [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.3'
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
 
@@ -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.3
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-11-11 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: []