capistrano-rbenv 2.0.2 → 2.0.3

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: 5d96e052911bbe24a3f1e41478dc3500f46e6199
4
- data.tar.gz: 4d5ff845e0624f5abf8857edc2ea81f786fbd052
3
+ metadata.gz: 4fd7ab693ce4d7ccf95149b5c8d9f901223dd2c9
4
+ data.tar.gz: 862d9666f81cb82f3f07a1cee72dac0b530dc6c1
5
5
  SHA512:
6
- metadata.gz: 1abca1f1597b01a19e3bf85021cab79e5bfb685bc90de146122b184e87fbd08d7ba8848dc39ba909c1b13cf53519a2b388c32dd1cee30c0a683a12b4cde68329
7
- data.tar.gz: 3f600cbd9b3146193cb45a1fa6fc453eecc360e3756732563cdc4ce025f765738f00fe374597498216636f1a9e5f448a990dff9206c2f454cc30fb12bef23253
6
+ metadata.gz: fcc0b941bcb349add5ed4a25ae31cd7773aed42f98eaaaf1f9381bfcf795f2b44670acbec126de0f6cfa8e37111eb1efb8d5ad97be4d2b850b76d478af934841
7
+ data.tar.gz: cc1467c855f244afde9f357ca5f5ec751b2c87ec264f453cbb389f81f6756d1aff7f071d8ffa5abb8b054ad7d6ef7c9853fb70ffbe389d0bc3b02f870754add6
@@ -1,3 +1,9 @@
1
+ # 2.0.3 (27 Jan 2015)
2
+
3
+ * rbenv:validate is a 'success' if version exists #36
4
+ * MIT license included
5
+ * rbenv command runs only on release_roles #44
6
+
1
7
  # 2.0.2 (29 Jan 2014)
2
8
 
3
9
  * Environment variables are set with native SSHKit API
@@ -0,0 +1,21 @@
1
+ MIT License (MIT)
2
+
3
+ Copyright (c) 2013-2014 Kir Shatrov
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
@@ -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.2'
7
+ gem.version = '2.0.3'
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,13 +1,13 @@
1
1
  namespace :rbenv do
2
2
  task :validate do
3
- on roles(fetch(:rbenv_roles)) do
3
+ on release_roles(fetch(:rbenv_roles)) do
4
4
  rbenv_ruby = fetch(:rbenv_ruby)
5
5
  if rbenv_ruby.nil?
6
6
  error "rbenv: rbenv_ruby is not set"
7
7
  exit 1
8
8
  end
9
9
 
10
- if test "[ ! -d #{fetch(:rbenv_ruby_dir)} ]"
10
+ unless test "[ -d #{fetch(:rbenv_ruby_dir)} ]"
11
11
  error "rbenv: #{rbenv_ruby} is not installed or not found in #{fetch(:rbenv_ruby_dir)}"
12
12
  exit 1
13
13
  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.0.2
4
+ version: 2.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kir Shatrov
@@ -9,34 +9,34 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2014-01-29 00:00:00.000000000 Z
12
+ date: 2015-01-27 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: capistrano
16
16
  requirement: !ruby/object:Gem::Requirement
17
17
  requirements:
18
- - - ~>
18
+ - - "~>"
19
19
  - !ruby/object:Gem::Version
20
20
  version: '3.1'
21
21
  type: :runtime
22
22
  prerelease: false
23
23
  version_requirements: !ruby/object:Gem::Requirement
24
24
  requirements:
25
- - - ~>
25
+ - - "~>"
26
26
  - !ruby/object:Gem::Version
27
27
  version: '3.1'
28
28
  - !ruby/object:Gem::Dependency
29
29
  name: sshkit
30
30
  requirement: !ruby/object:Gem::Requirement
31
31
  requirements:
32
- - - ~>
32
+ - - "~>"
33
33
  - !ruby/object:Gem::Version
34
34
  version: '1.3'
35
35
  type: :runtime
36
36
  prerelease: false
37
37
  version_requirements: !ruby/object:Gem::Requirement
38
38
  requirements:
39
- - - ~>
39
+ - - "~>"
40
40
  - !ruby/object:Gem::Version
41
41
  version: '1.3'
42
42
  description: rbenv integration for Capistrano
@@ -47,9 +47,10 @@ executables: []
47
47
  extensions: []
48
48
  extra_rdoc_files: []
49
49
  files:
50
- - .gitignore
50
+ - ".gitignore"
51
51
  - CHANGELOG.md
52
52
  - Gemfile
53
+ - LICENSE.txt
53
54
  - README.md
54
55
  - Rakefile
55
56
  - capistrano-rbenv.gemspec
@@ -65,19 +66,18 @@ require_paths:
65
66
  - lib
66
67
  required_ruby_version: !ruby/object:Gem::Requirement
67
68
  requirements:
68
- - - '>='
69
+ - - ">="
69
70
  - !ruby/object:Gem::Version
70
71
  version: '0'
71
72
  required_rubygems_version: !ruby/object:Gem::Requirement
72
73
  requirements:
73
- - - '>='
74
+ - - ">="
74
75
  - !ruby/object:Gem::Version
75
76
  version: '0'
76
77
  requirements: []
77
78
  rubyforge_project:
78
- rubygems_version: 2.2.1
79
+ rubygems_version: 2.2.2
79
80
  signing_key:
80
81
  specification_version: 4
81
82
  summary: rbenv integration for Capistrano
82
83
  test_files: []
83
- has_rdoc: