capistrano-opscomplete 1.0.1 → 1.0.2

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: d1cf4271a72e12d2b60d9cbd229b58d64701e1b3958c7d795910f05165a2be98
4
- data.tar.gz: edec14befbf173cc3e5bcfa16c6ee54feabf28eba6b8f44cdd59b0f54bbbbbf5
3
+ metadata.gz: 39158f12f3935cff8bc3d2c39b6d252c7ac594de47bad9c35fa83463d8dbec03
4
+ data.tar.gz: aefdd1684fa67a31f19a1e9520edc82139ded5f5569b324cafaa5afa9c8a1e9e
5
5
  SHA512:
6
- metadata.gz: 5237d339e6abe4060590948891b34809abbbe13c6b24fad22f9bd7292a24d6c220c6f81931388d61c2cffdd3731afcd8197b611b87b5bb7227781782d633b9e7
7
- data.tar.gz: b368b6403f897168a4c1d257e6b0caebfad7fa87eae9cf7369c62584fa8e45e61b91a0bbbf8010e6c8db8214f05f4460084b36afb50ed2a0253d41b9506ada63
6
+ metadata.gz: 9639dc1c7d2a77fee4088ac466e428c5e60691ae82e802a7c32dc990008d6b7ef568daac73e0bfec16e489bc2038e91431f0bdd1600919ec3d30e57e8b6d354d
7
+ data.tar.gz: df97a9b57171097b35ce78222d0d073ecfcab37c42f3d362c52e96d5ae68cae23a610b33cfc80017828723ab479567881f0dd23c8183424211681387432a9f6f
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ## [1.0.2] - 2022-07-29
2
+ ### Changed
3
+ - Improve error message for missing Node.js version
4
+
1
5
  ## [1.0.1] - 2021-03-16
2
6
 
3
7
  ### Fixed
data/Gemfile.lock CHANGED
@@ -1,37 +1,37 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- capistrano-opscomplete (1.0.1)
4
+ capistrano-opscomplete (1.0.2)
5
5
  capistrano (>= 3.0, < 4.0.0)
6
6
  rake
7
7
 
8
8
  GEM
9
9
  remote: https://rubygems.org/
10
10
  specs:
11
- airbrussh (1.4.0)
11
+ airbrussh (1.4.1)
12
12
  sshkit (>= 1.6.1, != 1.7.0)
13
13
  ast (2.4.2)
14
- capistrano (3.16.0)
14
+ capistrano (3.17.0)
15
15
  airbrussh (>= 1.0.0)
16
16
  i18n
17
17
  rake (>= 10.0.0)
18
18
  sshkit (>= 1.9.0)
19
- concurrent-ruby (1.1.9)
20
- i18n (1.8.10)
19
+ concurrent-ruby (1.1.10)
20
+ i18n (1.12.0)
21
21
  concurrent-ruby (~> 1.0)
22
22
  jaro_winkler (1.5.4)
23
23
  makandra-rubocop (4.4.0)
24
24
  rubocop (~> 0.76.0)
25
25
  rubocop-rails (~> 2.3.2)
26
- net-scp (3.0.0)
27
- net-ssh (>= 2.6.5, < 7.0.0)
28
- net-ssh (6.1.0)
26
+ net-scp (1.2.1)
27
+ net-ssh (>= 2.6.5)
28
+ net-ssh (7.0.1)
29
29
  parallel (1.20.1)
30
30
  parser (3.0.1.1)
31
31
  ast (~> 2.4.1)
32
32
  rack (2.2.3)
33
33
  rainbow (3.0.0)
34
- rake (13.0.3)
34
+ rake (13.0.6)
35
35
  rubocop (0.76.0)
36
36
  jaro_winkler (~> 1.5.1)
37
37
  parallel (~> 1.10)
@@ -57,4 +57,4 @@ DEPENDENCIES
57
57
  makandra-rubocop (~> 4)
58
58
 
59
59
  BUNDLED WITH
60
- 2.1.4
60
+ 2.3.10
data/gem_graph.png ADDED
Binary file
@@ -42,9 +42,11 @@ namespace :opscomplete do
42
42
  execute(:nodejs_install_version, "'#{app_nodejs_version}'")
43
43
  end
44
44
  else
45
- info("#{host}: Check if the configured Node.js version is part of the installable versions")
46
- execute :nodejs_installable_versions
47
- validation_error!("#{host}: Configured Node.js version is neither installed nor installable.")
45
+ error("#{host}: Check if the configured Node.js version: #{app_nodejs_version} is not an installable version")
46
+ info("These are the ten latest versions:")
47
+ info(nodejs_installable_versions.slice(-10,10).join(', '))
48
+
49
+ validation_error!("#{host}: Configured Node.js version: #{app_nodejs_version} is not installable.")
48
50
  end
49
51
  execute(:nodejs_set_version, "'#{app_nodejs_version}'")
50
52
  end
@@ -1,5 +1,5 @@
1
1
  module Capistrano
2
2
  module Opscomplete
3
- VERSION = '1.0.1'.freeze
3
+ VERSION = '1.0.2'.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: 1.0.1
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Makandra Operations
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-06-22 00:00:00.000000000 Z
11
+ date: 2022-07-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: makandra-rubocop
@@ -89,6 +89,7 @@ files:
89
89
  - bin/console
90
90
  - bin/setup
91
91
  - capistrano-opscomplete.gemspec
92
+ - gem_graph.png
92
93
  - lib/capistrano-opscomplete.rb
93
94
  - lib/capistrano/dsl/opscomplete.rb
94
95
  - lib/capistrano/opscomplete.rb