kontena-cli 1.2.0.rc2 → 1.2.0.rc3

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
  SHA1:
3
- metadata.gz: 916851395849968592a3880129bc0a0b0bbfc364
4
- data.tar.gz: 0f69d57751a082bd8749a81c71a035725ab88287
3
+ metadata.gz: 275e980674a2ede2275a9174f4ecf26b8e1f758c
4
+ data.tar.gz: 13211f91abe692ca430e945788295d20dec4a65d
5
5
  SHA512:
6
- metadata.gz: d880cca2f0f153718ec34096d9c4586753b90bf25c78b3b4e72cb07637234aee9afdb318d978585bebeefe86af6478f6dd5c900530b433ebce3aa4c9065d743e
7
- data.tar.gz: fe3b778aa2fc733953c6b6e43bd5050e6aa2512bc11233df5be747af261e4d55ea55653b8b5f9150491cf9a0320c220d4da156eed3db5e6b00a7168b6ef3b63e
6
+ metadata.gz: 9aacc4e52361e78ca2e3fad493600fea03c05a4ddfcb963db341474bb69d50c161fe569221e46e300d46931a85bd635134be075a6d0fee458e13abaa1eeb2247
7
+ data.tar.gz: fa637d37be4ea80011b05c94d248a9415e0c973e1a0b45fda94eadaab155df174ad2369ac6e55bc86e2037c0ab7723357a42442968ce1288d0a9c26bbd2e6b89
data/LOGO CHANGED
@@ -4,5 +4,4 @@
4
4
  | < (_) | | | | || __/ | | | (_| |
5
5
  |_|\_\___/|_| |_|\__\___|_| |_|\__,_|
6
6
  -------------------------------------
7
- Copyright (c)2017 Kontena, Inc.
8
-
7
+ Kontena CLI (c) 2017 Kontena, Inc.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.2.0.rc2
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 LoadError => ex
178
- $stderr.puts " [#{Kontena.pastel.red('error')}] Failed to load plugin: #{spec.name}"
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.rc2
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-13 00:00:00.000000000 Z
11
+ date: 2017-04-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler