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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ed8a513cbd0320e4dcc3e13764c70c5dbb8752a489f3a26b1d0c8d1aa480d142
4
- data.tar.gz: fd3b323ce020ed6e69da74094ac4fe8feb8d88531ad7f03475c99054f7cf238c
3
+ metadata.gz: 342b22962198a630ea6f41463f0cd69cbb5e6edfdd0d66df3b2fe24c5ff81397
4
+ data.tar.gz: 9ded78666b373b6322e0981dc1fad8ad5c6012549bfab62b7740120f54f4972d
5
5
  SHA512:
6
- metadata.gz: a2504a842b191d5384183c14b90f74cb762eb530bd2ed36541486420d615c1ee2c347fc88c2896ffe981741a21d4c1e72c58bbecbc3fbd514bf0d280831d0340
7
- data.tar.gz: 5d3aa33cadda83cc57c45248b46c0b0e7f96856aa8c51d8f3dce79cc93b7a5c7efa5e290499482cdafabc6f8ae6e6cdddc4518d1a26f03230f27e1544282cc65
6
+ metadata.gz: 99e89af95cf85d01a9a2deb3d43e914c72f3725f1070b099c0b502d0417ba64663d5ec3c5cb740ea801ba7bc05ac96b1d02d2c3728985c370cd4c2698fdc35bf
7
+ data.tar.gz: 354a993896fb9b019b5be292dec3a3dbe9b76fbbba780e5a982b72474a9585829eab2f8feab03c3387a9dd74e84e74bb7466f9bc628677bd4ad9c6bb2a02496b
data/CHANGELOG.md CHANGED
@@ -1,3 +1,11 @@
1
+ ## [0.6.7] - 2021-02-05
2
+
3
+ ### Fixed
4
+ - Fix missing command in opscomplete:nodejs:check
5
+
6
+ ### Changed
7
+ - Improve error message for wrong Node.js version
8
+
1
9
  ## [0.6.6] - 2020-12-08
2
10
 
3
11
  ### Fixed
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- capistrano-opscomplete (0.6.6)
4
+ capistrano-opscomplete (0.6.7)
5
5
  capistrano (>= 3.0, < 4.0.0)
6
6
  rake
7
7
 
@@ -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(:nodejs_current_version) == app_nodejs_version
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
@@ -1,5 +1,5 @@
1
1
  module Capistrano
2
2
  module Opscomplete
3
- VERSION = '0.6.6'.freeze
3
+ VERSION = '0.6.7'.freeze
4
4
  end
5
5
  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.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: 2020-12-08 00:00:00.000000000 Z
11
+ date: 2021-02-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: makandra-rubocop