capistrano-asdf 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/capistrano-asdf.gemspec +2 -1
- data/lib/capistrano/tasks/asdf.rake +6 -4
- metadata +4 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9f440e29b8fac1a4f924f55f81ae455ac84af13f9d71fbb7cd8102da67f6a9ed
|
4
|
+
data.tar.gz: 3212c41e926141e4cd3759c209e0d4d2d69ebb81a38e134c208bf4a949fce7db
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 50b48074621efdfa299cf3f3087d04b3b99f9aa9fc491d9713bcccc4487b7b6592f21cec9dbf72f6b3563752fa42e9683e52e23c4d62c3adc6cf36918cd1a766
|
7
|
+
data.tar.gz: e6f440d8d77b796d1c4722d72d4c1cfba2db4ef14d7f5d2a244db733f4b60760d9532c9c29312953aac6c491811f4ffe8ead2eb4095b90eb69ffb135494adf70
|
data/capistrano-asdf.gemspec
CHANGED
@@ -4,7 +4,8 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
4
4
|
|
5
5
|
Gem::Specification.new do |gem|
|
6
6
|
gem.name = "capistrano-asdf"
|
7
|
-
gem.version = '0.0.
|
7
|
+
gem.version = '0.0.2'
|
8
|
+
gem.licenses = ['MIT']
|
8
9
|
gem.authors = ["Jean-Baptiste Poix"]
|
9
10
|
gem.email = ["jbpoix@inosophia.com"]
|
10
11
|
gem.description = %q{ASDF integration for Capistrano}
|
@@ -3,21 +3,23 @@ ASDF_USER_PATH = "~/.asdf"
|
|
3
3
|
namespace :asdf do
|
4
4
|
desc "Prints the ASDF tools versions on the target host"
|
5
5
|
task :check do
|
6
|
-
|
6
|
+
on roles(fetch(:asdf_roles, :all)) do
|
7
|
+
execute("source #{fetch(:asdf_path)}/asdf.sh; asdf current")
|
8
|
+
end
|
7
9
|
end
|
8
10
|
|
9
11
|
task :map_ruby_bins do
|
10
12
|
fetch(:asdf_map_ruby_bins).each do |mapped_command|
|
11
|
-
SSHKit.config.command_map.prefix[mapped_command.to_sym].unshift("source
|
13
|
+
SSHKit.config.command_map.prefix[mapped_command.to_sym].unshift("source #{fetch(:asdf_path)}/asdf.sh;")
|
12
14
|
end
|
13
15
|
end
|
14
16
|
|
15
17
|
task :map_nodejs_bins do
|
16
18
|
fetch(:asdf_map_nodejs_bins).each do |mapped_command|
|
17
|
-
SSHKit.config.command_map.prefix[mapped_command.to_sym].unshift("source
|
19
|
+
SSHKit.config.command_map.prefix[mapped_command.to_sym].unshift("source #{fetch(:asdf_path)}/asdf.sh;")
|
18
20
|
end
|
19
21
|
fetch(:asdf_map_nodejs_npm_bins).each do |mapped_command|
|
20
|
-
SSHKit.config.command_map.prefix[mapped_command.to_sym].unshift("source
|
22
|
+
SSHKit.config.command_map.prefix[mapped_command.to_sym].unshift("source #{fetch(:asdf_path)}/asdf.sh;")
|
21
23
|
end
|
22
24
|
end
|
23
25
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: capistrano-asdf
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jean-Baptiste Poix
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-12-
|
11
|
+
date: 2018-12-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: capistrano
|
@@ -56,7 +56,8 @@ files:
|
|
56
56
|
- lib/capistrano/asdf.rb
|
57
57
|
- lib/capistrano/tasks/asdf.rake
|
58
58
|
homepage: https://github.com/cabesa-collective/capistrano-asdf
|
59
|
-
licenses:
|
59
|
+
licenses:
|
60
|
+
- MIT
|
60
61
|
metadata: {}
|
61
62
|
post_install_message:
|
62
63
|
rdoc_options: []
|