capistrano-nvm 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +2 -2
- data/capistrano-nvm.gemspec +1 -1
- data/lib/capistrano/tasks/nvm.cap +3 -2
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 352c70c0b3310814f2991d19e6daf5a2224cea1c
|
4
|
+
data.tar.gz: 3704c101b96191d60574cc51c01931f3198e7613
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4cc3ee2e8f19db0ea307652d617f8e564d3afca7434111ab7049aeb6e5f65436889cc1a9b2dd091b184b4ac86b979b6d07a54e6346063b93ee43273189f5d72e
|
7
|
+
data.tar.gz: 276b2d2fa1ce3e5f41503331e96abc1c7d3bc75beac678b97ff7c5d5b9420c2de85ca3683e5dd8fa98a4eda7061b24b36ecf6c87eae7eb7f8dcfb5a689b69ded
|
data/README.md
CHANGED
data/capistrano-nvm.gemspec
CHANGED
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
4
4
|
|
5
5
|
Gem::Specification.new do |spec|
|
6
6
|
spec.name = 'capistrano-nvm'
|
7
|
-
spec.version = '0.0.
|
7
|
+
spec.version = '0.0.4'
|
8
8
|
spec.authors = ['Koen Punt']
|
9
9
|
spec.email = ['me@koen.pt']
|
10
10
|
spec.description = %q{nvm support for Capistrano 3.x}
|
@@ -15,7 +15,8 @@ namespace :nvm do
|
|
15
15
|
end
|
16
16
|
|
17
17
|
task :map_bins do
|
18
|
-
|
18
|
+
SSHKit.config.default_env.merge!({ node_version: "#{fetch(:nvm_node)}" })
|
19
|
+
nvm_prefix = fetch(:nvm_prefix, -> { "#{fetch(:tmp_dir)}/#{fetch(:application)}/nvm-exec.sh" } )
|
19
20
|
fetch(:nvm_map_bins).each do |command|
|
20
21
|
SSHKit.config.command_map.prefix[command.to_sym].unshift(nvm_prefix)
|
21
22
|
end
|
@@ -43,7 +44,7 @@ namespace :load do
|
|
43
44
|
nvm_path ||= if fetch(:nvm_type, :user) == :system
|
44
45
|
"/usr/local/nvm"
|
45
46
|
else
|
46
|
-
"
|
47
|
+
"$HOME/.nvm"
|
47
48
|
end
|
48
49
|
}
|
49
50
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: capistrano-nvm
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Koen Punt
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-04-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: capistrano
|
@@ -86,7 +86,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
86
86
|
version: '0'
|
87
87
|
requirements: []
|
88
88
|
rubyforge_project:
|
89
|
-
rubygems_version: 2.
|
89
|
+
rubygems_version: 2.2.2
|
90
90
|
signing_key:
|
91
91
|
specification_version: 4
|
92
92
|
summary: nvm support for Capistrano 3.x
|