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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 04efd132f52e54b1ccb6a74ea48c905d712fdc6b
4
- data.tar.gz: 5ab8a65e56b80dffab3b3d4589e0b17f8ac8c18e
3
+ metadata.gz: 1e8d0c2d88d2fd7aa9e5ec3f6b4268204e9c6c87
4
+ data.tar.gz: 96fb2b49eabcf77ed1939aa15d359953b1a8ce11
5
5
  SHA512:
6
- metadata.gz: 1e71c2a4bcaa3fdc365da25e2a3c3ff70941d761915e3824e722fe7bda0d12b46dec5ec3ea8e23a1fd6b02aacc6e9145c53fcd515e9bb8944785ffcc6751df07
7
- data.tar.gz: 8a07349198bae0d46db5668ef2395b86081855879980b4ac8be74ac85ba140211244b701fcfdd647bd034212b6b56044119c2a8a23c808bf2e87b3cccca3ec8d
6
+ metadata.gz: c847726bc7f7c5a5b6a5ffe2a583236981fc1a140fda3e1c7bccafee2d39a07ad7a00727233cc6602fa5de708f25b6142a6f6ce876afe2cb414851e729ec2318
7
+ data.tar.gz: dd3a9e44acb0656c13e8da459f5a3f36ead4df21c83d77c4ac9b1467b4bab4a27214d0702eeb7db4e9bd5f8bd1a5ea3896e689529e9cf61569c7e221a4030d0b
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.1.2
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 = nil
31
+ @registry = 'file://'
32
32
  else
33
33
  @raw_content = File.read(File.expand_path(file))
34
- @registry = nil
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 be_nil
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 be_nil
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.2
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-02-24 00:00:00.000000000 Z
11
+ date: 2017-03-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler