kontena-cli 0.12.1 → 0.12.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/lib/kontena/cli/common.rb +2 -0
- data/spec/kontena/cli/common_spec.rb +4 -0
- 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: 80051d1935bfe26b6329e55e0882bdfa258e8f0a
|
4
|
+
data.tar.gz: 6e8f530986b63ea42ae6cbea1d6e49fff58ae255
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 492795681335987f1d07c21cc030809ebcdd5730e50d8eebc53513080ef4a8897ca42a87f7d688c134d4d317e967d5db4d22329725056988aec07447ee40a956
|
7
|
+
data.tar.gz: d24cac271b35117bfc903c3ef06f783dc959aeb581fa33bef64df9e04c3f5966fcd17996218b2e517243a60dbb14144bfc3b82b864c976e25ea4c35cfe404398
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.12.
|
1
|
+
0.12.2
|
data/lib/kontena/cli/common.rb
CHANGED
@@ -46,6 +46,10 @@ describe Kontena::Cli::Common do
|
|
46
46
|
expect(subject.current_grid).to eq('foo_grid')
|
47
47
|
end
|
48
48
|
|
49
|
+
it 'returns nil if settings are not present' do
|
50
|
+
allow(subject).to receive(:current_master).and_raise(ArgumentError)
|
51
|
+
expect(subject.current_grid).to be_nil
|
52
|
+
end
|
49
53
|
end
|
50
54
|
|
51
55
|
describe '#api_url' do
|
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: 0.12.
|
4
|
+
version: 0.12.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kontena, Inc
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-04-
|
11
|
+
date: 2016-04-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|