kontena-cli 1.2.0.rc2 → 1.2.0.rc3
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/LOGO +1 -2
- data/VERSION +1 -1
- data/lib/kontena/plugin_manager.rb +3 -3
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 275e980674a2ede2275a9174f4ecf26b8e1f758c
|
|
4
|
+
data.tar.gz: 13211f91abe692ca430e945788295d20dec4a65d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 9aacc4e52361e78ca2e3fad493600fea03c05a4ddfcb963db341474bb69d50c161fe569221e46e300d46931a85bd635134be075a6d0fee458e13abaa1eeb2247
|
|
7
|
+
data.tar.gz: fa637d37be4ea80011b05c94d248a9415e0c973e1a0b45fda94eadaab155df174ad2369ac6e55bc86e2037c0ab7723357a42442968ce1288d0a9c26bbd2e6b89
|
data/LOGO
CHANGED
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.2.0.
|
|
1
|
+
1.2.0.rc3
|
|
@@ -167,6 +167,7 @@ module Kontena
|
|
|
167
167
|
if File.exist?(plugin) && !plugins.find{ |p| p.name == spec.name }
|
|
168
168
|
begin
|
|
169
169
|
if spec_has_valid_dependency?(spec)
|
|
170
|
+
ENV["DEBUG"] && $stderr.puts("Loading plugin #{spec.name}")
|
|
170
171
|
load(plugin)
|
|
171
172
|
plugins << spec
|
|
172
173
|
else
|
|
@@ -174,10 +175,9 @@ module Kontena
|
|
|
174
175
|
$stderr.puts " [#{Kontena.pastel.red('error')}] Plugin #{Kontena.pastel.cyan(plugin_name)} (#{spec.version}) is not compatible with the current cli version."
|
|
175
176
|
$stderr.puts " To update the plugin, run 'kontena plugin install #{plugin_name}'"
|
|
176
177
|
end
|
|
177
|
-
rescue
|
|
178
|
-
|
|
178
|
+
rescue ScriptError, StandardError => ex
|
|
179
|
+
warn " [#{Kontena.pastel.red('error')}] Failed to load plugin: #{spec.name}\n\tRerun the command with environment DEBUG=true set to get the full exception."
|
|
179
180
|
ENV['DEBUG'] && $stderr.puts("#{ex.class.name} : #{ex.message}\n#{ex.backtrace.join("\n ")}")
|
|
180
|
-
exit 1
|
|
181
181
|
end
|
|
182
182
|
end
|
|
183
183
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: kontena-cli
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.2.0.
|
|
4
|
+
version: 1.2.0.rc3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Kontena, Inc
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2017-04-
|
|
11
|
+
date: 2017-04-20 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|