capistrano-asdf 1.1.0 → 1.1.1
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 +4 -4
- data/CHANGELOG.md +4 -0
- data/capistrano-asdf.gemspec +1 -1
- data/lib/capistrano/tasks/asdf.rake +4 -4
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 36eaf3c3a8eb6d55f57f2b388d47ac459c995d2e55f3b761bf9e8768d181f607
|
|
4
|
+
data.tar.gz: f427f1ad1ef23abca7d7f5ee5ea3ce3fb4c06db5a7937f536531ab292b1ab521
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ec2a4e72e16b30a34cdb255ce460d85b445a49d67da9fbf802a889cfeb9d4e16106040bfa91f96c1334703f86cde6331734d9ebda0872f77b8f9a95f8f7eef02
|
|
7
|
+
data.tar.gz: dbbde4809aad014580841cc666d43469cbe5846ab8bd37b618f6a6ba07f1a42bbd9e96044f7fe406d38cc3f46b48c9329d7ab608e18d233553d0da0c1878dded
|
data/CHANGELOG.md
CHANGED
data/capistrano-asdf.gemspec
CHANGED
|
@@ -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-asdf"
|
|
7
|
-
gem.version = '1.1.
|
|
7
|
+
gem.version = '1.1.1'
|
|
8
8
|
gem.licenses = ['MIT']
|
|
9
9
|
gem.authors = ["Jean-Baptiste Poix"]
|
|
10
10
|
gem.email = ["jbpoix@inosophia.com"]
|
|
@@ -5,18 +5,18 @@ ASDF_DEFAULT_RUBY_BINS = %w{rake gem bundle ruby rails}
|
|
|
5
5
|
# Nodejs related bin
|
|
6
6
|
ASDF_DEFAULT_NODEJS_BINS = %w{node npm yarn}
|
|
7
7
|
|
|
8
|
-
|
|
8
|
+
ASDF_DEFAULT_WRAPPER_TEMPLATES = <<~WRAPPER
|
|
9
9
|
#!/usr/bin/env bash
|
|
10
10
|
|
|
11
11
|
. @@ASDF_USER_PATH@@/asdf.sh
|
|
12
12
|
exec "$@"
|
|
13
|
-
|
|
13
|
+
WRAPPER
|
|
14
14
|
|
|
15
15
|
namespace :asdf do
|
|
16
16
|
desc "Upload ASDF wrapper to the target host"
|
|
17
17
|
task :upload_wrapper do
|
|
18
18
|
on roles(fetch(:asdf_roles, :all)) do
|
|
19
|
-
wrapper_content =
|
|
19
|
+
wrapper_content = ASDF_DEFAULT_WRAPPER_TEMPLATES.gsub('@@ASDF_USER_PATH@@', fetch(:asdf_path))
|
|
20
20
|
need_to_upload_wrapper = true
|
|
21
21
|
# Check if the wrapper already exists
|
|
22
22
|
if test("[ -f #{fetch(:asdf_wrapper_path)} ]")
|
|
@@ -85,7 +85,7 @@ namespace :asdf do
|
|
|
85
85
|
end
|
|
86
86
|
end
|
|
87
87
|
end
|
|
88
|
-
|
|
88
|
+
|
|
89
89
|
end
|
|
90
90
|
|
|
91
91
|
before 'asdf:install', 'asdf:add_plugins'
|
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: 1.1.
|
|
4
|
+
version: 1.1.1
|
|
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:
|
|
11
|
+
date: 2024-01-12 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: capistrano
|