capistrano-rbenv 2.1.1 → 2.1.2

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
  SHA1:
3
- metadata.gz: b1ddfc032649016045defd62ad0e8efb1524869b
4
- data.tar.gz: bf50d60e42f6f4d44a619a22d16fa1fb1f0de2cb
3
+ metadata.gz: d46c1f8e2f4ff5b02639594c65ceb59748f91e29
4
+ data.tar.gz: 7c6ea20fc2d497d01e2592729ddf165ecdcc9388
5
5
  SHA512:
6
- metadata.gz: 48e6a4c773faff96c6d2c7991aa1a2261f9e4583915c995b642eecaca165db0db2633355d04d91402eafe4c38d447610a3194bb1573347ab7b0c01a060da5317
7
- data.tar.gz: bd0438a3ee4df27b3d0e5529ab7bcf8fc0d08732ff9a23e8bd017dbf1332b8a6828e4306304f7e08ec942bb819703ac9ca6dc6af8fd4b8038e5aee551ebae527
6
+ metadata.gz: 10586deb600dc466f73de4b96f94479734cac20d4372351318fb7fa8bf21c036ffde1bfac62af7bdce6b441439eac264d65d6ff474afcae139efbb2c21b780bb
7
+ data.tar.gz: 10c48cd8742d3582963409890ecc19e316e186ce5c27a07bd732e90bf8882d8442b2c7c0636c684187ac2d3e9c29a2e750482ce7efaad78195bdfed5c57685e5
@@ -2,6 +2,10 @@
2
2
 
3
3
  * Your contribution here!
4
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
+
5
9
  # [2.1.1][] (14 Apr 2017)
6
10
 
7
11
  * [#70](https://github.com/capistrano/rbenv/pull/70): Improve log message when rbenv_ruby is not set - [@ivanovaleksey](https://github.com/ivanovaleksey)
@@ -46,6 +50,7 @@ Capistrano 3 -ready release.
46
50
  Versions < 2.0 are located in another repo: https://github.com/yyuu/capistrano-rbenv
47
51
 
48
52
 
49
- [master]: https://github.com/capistrano/rbenv/compare/v2.1.1...HEAD
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
50
55
  [2.1.1]: https://github.com/capistrano/rbenv/compare/v2.1.0...v2.1.1
51
56
  [2.1.0]: https://github.com/capistrano/rbenv/compare/v2.0.4...v2.1.0
data/README.md CHANGED
@@ -14,8 +14,8 @@ Thanks a lot to [@yyuu](https://github.com/yyuu) for merging his gem with offici
14
14
 
15
15
  Add this line to your application's Gemfile:
16
16
 
17
- gem 'capistrano', '~> 3.1'
18
- gem 'capistrano-rbenv', '~> 2.0'
17
+ gem 'capistrano', '~> 3.9'
18
+ gem 'capistrano-rbenv', '~> 2.1'
19
19
 
20
20
  And then execute:
21
21
 
@@ -29,7 +29,7 @@ And then execute:
29
29
 
30
30
  # config/deploy.rb
31
31
  set :rbenv_type, :user # or :system, depends on your rbenv setup
32
- set :rbenv_ruby, '2.0.0-p247'
32
+ set :rbenv_ruby, '2.4.2'
33
33
 
34
34
  # in case you want to set ruby version from the file:
35
35
  # set :rbenv_ruby, File.read('.ruby-version').strip
@@ -45,7 +45,7 @@ If your rbenv is located in some custom path, you can use `rbenv_custom_path` to
45
45
  To set the Ruby version explicitly, add `:rbenv_ruby` to your Capistrano configuration:
46
46
 
47
47
  # config/deploy.rb
48
- set :rbenv_ruby, '2.0.0-p247'
48
+ set :rbenv_ruby, '2.4.2'
49
49
 
50
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
51
 
@@ -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.1.1'
7
+ gem.version = '2.1.2'
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}
@@ -1,6 +1,6 @@
1
1
  namespace :rbenv do
2
2
  task :validate do
3
- on release_roles(fetch(:rbenv_roles)) do
3
+ on release_roles(fetch(:rbenv_roles)) do |host|
4
4
  rbenv_ruby = fetch(:rbenv_ruby)
5
5
  if rbenv_ruby.nil?
6
6
  info 'rbenv: rbenv_ruby is not set; ruby version will be defined by the remote hosts via rbenv'
@@ -8,7 +8,7 @@ namespace :rbenv do
8
8
 
9
9
  # don't check the rbenv_ruby_dir if :rbenv_ruby is not set (it will always fail)
10
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)}"
11
+ warn "rbenv: #{rbenv_ruby} is not installed or not found in #{fetch(:rbenv_ruby_dir)} on #{host}"
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.1.1
4
+ version: 2.1.2
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: 2017-04-14 00:00:00.000000000 Z
12
+ date: 2017-09-29 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: capistrano
@@ -92,7 +92,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
92
92
  version: '0'
93
93
  requirements: []
94
94
  rubyforge_project:
95
- rubygems_version: 2.6.11
95
+ rubygems_version: 2.6.13
96
96
  signing_key:
97
97
  specification_version: 4
98
98
  summary: rbenv integration for Capistrano