kontena-cli 1.1.2 → 1.1.3
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/stacks/yaml/reader.rb +2 -2
- data/spec/kontena/cli/stacks/yaml/reader_spec.rb +2 -2
- 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: 1e8d0c2d88d2fd7aa9e5ec3f6b4268204e9c6c87
|
4
|
+
data.tar.gz: 96fb2b49eabcf77ed1939aa15d359953b1a8ce11
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c847726bc7f7c5a5b6a5ffe2a583236981fc1a140fda3e1c7bccafee2d39a07ad7a00727233cc6602fa5de708f25b6142a6f6ce876afe2cb414851e729ec2318
|
7
|
+
data.tar.gz: dd3a9e44acb0656c13e8da459f5a3f36ead4df21c83d77c4ac9b1467b4bab4a27214d0702eeb7db4e9bd5f8bd1a5ea3896e689529e9cf61569c7e221a4030d0b
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.1.
|
1
|
+
1.1.3
|
@@ -28,10 +28,10 @@ module Kontena::Cli::Stacks
|
|
28
28
|
@registry = current_account.stacks_url
|
29
29
|
elsif from_url?
|
30
30
|
@raw_content = load_from_url(file)
|
31
|
-
@registry =
|
31
|
+
@registry = 'file://'
|
32
32
|
else
|
33
33
|
@raw_content = File.read(File.expand_path(file))
|
34
|
-
@registry =
|
34
|
+
@registry = 'file://'
|
35
35
|
end
|
36
36
|
|
37
37
|
@errors = []
|
@@ -398,7 +398,7 @@ describe Kontena::Cli::Stacks::YAML::Reader do
|
|
398
398
|
.with(absolute_yaml_path('kontena_v3.yml'))
|
399
399
|
.and_return(fixture('stack-with-liquid.yml'))
|
400
400
|
expect(subject.from_file?).to be_truthy
|
401
|
-
expect(subject.execute[:registry]).to
|
401
|
+
expect(subject.execute[:registry]).to eq 'file://'
|
402
402
|
end
|
403
403
|
|
404
404
|
it 'can read from the registry' do
|
@@ -416,7 +416,7 @@ describe Kontena::Cli::Stacks::YAML::Reader do
|
|
416
416
|
allow_any_instance_of(described_class).to receive(:load_from_url).and_return(fixture('stack-with-liquid.yml'))
|
417
417
|
instance = described_class.new('http://foo.example.com/foo')
|
418
418
|
expect(instance.from_url?).to be_truthy
|
419
|
-
expect(instance.execute[:registry]).to
|
419
|
+
expect(instance.execute[:registry]).to eq 'file://'
|
420
420
|
end
|
421
421
|
end
|
422
422
|
|
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.1.
|
4
|
+
version: 1.1.3
|
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-
|
11
|
+
date: 2017-03-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|