capistrano-opscomplete 0.6.6 → 0.6.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -0
- data/Gemfile.lock +1 -1
- data/lib/capistrano/opscomplete/nodejs.rake +3 -1
- data/lib/capistrano/opscomplete/version.rb +1 -1
- 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: 342b22962198a630ea6f41463f0cd69cbb5e6edfdd0d66df3b2fe24c5ff81397
|
4
|
+
data.tar.gz: 9ded78666b373b6322e0981dc1fad8ad5c6012549bfab62b7740120f54f4972d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 99e89af95cf85d01a9a2deb3d43e914c72f3725f1070b099c0b502d0417ba64663d5ec3c5cb740ea801ba7bc05ac96b1d02d2c3728985c370cd4c2698fdc35bf
|
7
|
+
data.tar.gz: 354a993896fb9b019b5be292dec3a3dbe9b76fbbba780e5a982b72474a9585829eab2f8feab03c3387a9dd74e84e74bb7466f9bc628677bd4ad9c6bb2a02496b
|
data/CHANGELOG.md
CHANGED
data/Gemfile.lock
CHANGED
@@ -13,7 +13,7 @@ namespace :opscomplete do
|
|
13
13
|
task :check do
|
14
14
|
on roles fetch(:nodejs_roles, :all) do |host|
|
15
15
|
warn("#{host}: Managed Node.js environment! Won't do any changes to nodejs version.") if managed_nodejs?
|
16
|
-
unless capture(:
|
16
|
+
unless capture(:nodejs_get_version, release_path) == app_nodejs_version
|
17
17
|
raise Capistrano::ValidationError,
|
18
18
|
"#{host}: Node.js version is not set according to application\'s .node-version or .nvmrc file. Use cap opscomplete:nodejs:ensure."
|
19
19
|
end
|
@@ -43,6 +43,8 @@ namespace :opscomplete do
|
|
43
43
|
execute(:nodejs_install_version, "'#{app_nodejs_version}'")
|
44
44
|
end
|
45
45
|
else
|
46
|
+
info("#{host}: Check if the configured Node.js version is part of the installable versions")
|
47
|
+
execute :nodejs_installable_versions
|
46
48
|
raise Capistrano::ValidationError,
|
47
49
|
"#{host}: Configured Node.js version is neither installed nor installable."
|
48
50
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: capistrano-opscomplete
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.6.
|
4
|
+
version: 0.6.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Makandra Operations
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-02-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: makandra-rubocop
|