capistrano-rbenv 2.0.3 → 2.0.4

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
2
  SHA1:
3
- metadata.gz: 4fd7ab693ce4d7ccf95149b5c8d9f901223dd2c9
4
- data.tar.gz: 862d9666f81cb82f3f07a1cee72dac0b530dc6c1
3
+ metadata.gz: ba89199aa4b724bbbc2fa4032bdf85a35cd9cd61
4
+ data.tar.gz: 662e5d6efe7fab2ffbd9619a6e1ca1fe0bc56f14
5
5
  SHA512:
6
- metadata.gz: fcc0b941bcb349add5ed4a25ae31cd7773aed42f98eaaaf1f9381bfcf795f2b44670acbec126de0f6cfa8e37111eb1efb8d5ad97be4d2b850b76d478af934841
7
- data.tar.gz: cc1467c855f244afde9f357ca5f5ec751b2c87ec264f453cbb389f81f6756d1aff7f071d8ffa5abb8b054ad7d6ef7c9853fb70ffbe389d0bc3b02f870754add6
6
+ metadata.gz: a768fde31a2df1402b84e6385cb5d6a903909db8043c46a508aae5954d3b9314f308b739d19e8a48984fd72e506ca4c194d7402ec3c9715394a284eae0bbc069
7
+ data.tar.gz: 6b74e788c7887d7d671490f9d14d9f7184ddf8dbbf3c907e84f7cfa6e0111e4b320c603ec3d8d5cc0a642553d31ac1f9d385597f6df2cbbab580c63816a4ef21
@@ -1,3 +1,8 @@
1
+ # 2.0.4 (3 Jan 2016)
2
+
3
+ * Change default `rbenv_path` to use `$HOME` instead of `~`. This allows
4
+ capistrano-rbenv to work with the new quoting behavior of sshkit 1.8.0.
5
+
1
6
  # 2.0.3 (27 Jan 2015)
2
7
 
3
8
  * rbenv:validate is a 'success' if version exists #36
data/README.md CHANGED
@@ -30,6 +30,10 @@ And then execute:
30
30
  # config/deploy.rb
31
31
  set :rbenv_type, :user # or :system, depends on your rbenv setup
32
32
  set :rbenv_ruby, '2.0.0-p247'
33
+
34
+ # in case you want to set ruby version from the file:
35
+ # set :rbenv_ruby, File.read('.ruby-version').strip
36
+
33
37
  set :rbenv_prefix, "RBENV_ROOT=#{fetch(:rbenv_path)} RBENV_VERSION=#{fetch(:rbenv_ruby)} #{fetch(:rbenv_path)}/bin/rbenv exec"
34
38
  set :rbenv_map_bins, %w{rake gem bundle ruby rails}
35
39
  set :rbenv_roles, :all # default value
@@ -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.0.3'
7
+ gem.version = '2.0.4'
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}
@@ -37,7 +37,7 @@ namespace :load do
37
37
  rbenv_path ||= if fetch(:rbenv_type, :user) == :system
38
38
  "/usr/local/rbenv"
39
39
  else
40
- "~/.rbenv"
40
+ "$HOME/.rbenv"
41
41
  end
42
42
  }
43
43
 
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.0.3
4
+ version: 2.0.4
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: 2015-01-27 00:00:00.000000000 Z
12
+ date: 2016-01-03 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: capistrano
@@ -76,7 +76,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
76
76
  version: '0'
77
77
  requirements: []
78
78
  rubyforge_project:
79
- rubygems_version: 2.2.2
79
+ rubygems_version: 2.5.1
80
80
  signing_key:
81
81
  specification_version: 4
82
82
  summary: rbenv integration for Capistrano