kontena-mortar 0.2.0.rc1 → 0.2.0

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
  SHA256:
3
- metadata.gz: cff0530a854b482030dadc4223cac97233b85b1a4e15625a0ec5483c641446b2
4
- data.tar.gz: 5204676edc234f73e953068d2392ef8390898adcde8642c79579a182cd10efc2
3
+ metadata.gz: 2786924c507d367859fbff5c5dc4b6bd0dc47a5103b354781679ceade5b6932f
4
+ data.tar.gz: 7d0dd79e456d242d03c5ea8137f12134a55913e8b996fde32dd19600f5ebfb29
5
5
  SHA512:
6
- metadata.gz: 3ce686d74349ecdb2229e42d9effc248ceb72902ceaa71b3dbe570ae2789729e194c44336969a86429b34251b50bca07a617362b7eb730d89375b7364bcde3b6
7
- data.tar.gz: 0bba3e81223eca4342f5e601b4ae82229cf14e44b0b18fe7acba17ca7ac9887a0e469e73afb7d58d5eaaec9f866d130519067dac84eec0c99763692b17acf630
6
+ metadata.gz: 2ec78292f39b4f4a7d51efa28bb537b18de39964f046089e14da20a0c3e9e1df1bec7ea71e174e9965aa980c6e9538cb9a04f364d8a5ca366fb2fda288a1ac7c
7
+ data.tar.gz: c6d1ea68376fa45c7802fa8b3ae2825fbad1d47606c87bbc04c70b68e26a4fe8be82e05b1e867e6ec56d0b2eda307724812917bb513396416d76851ab63da903
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- kontena-mortar (0.2.0.rc1)
4
+ kontena-mortar (0.2.0)
5
5
  clamp (~> 1.3)
6
6
  deep_merge (~> 1.2)
7
7
  k8s-client (~> 0.4.2)
@@ -2,6 +2,7 @@ apiVersion: apps/v1
2
2
  kind: Deployment
3
3
  metadata:
4
4
  name: myapp
5
+ namespace: default
5
6
  spec:
6
7
  selector:
7
8
  matchLabels:
@@ -2,6 +2,7 @@ kind: Service
2
2
  apiVersion: v1
3
3
  metadata:
4
4
  name: myapp
5
+ namespace: default
5
6
  spec:
6
7
  selector:
7
8
  app: myapp
@@ -5,6 +5,7 @@ apiVersion: apps/v1
5
5
  kind: Deployment
6
6
  metadata:
7
7
  name: nginx
8
+ namespace: default
8
9
  labels:
9
10
  app: nginx
10
11
  spec:
@@ -70,7 +70,7 @@ module Mortar
70
70
  # @param resources [Array<K8s::Resource>]
71
71
  # @return [String]
72
72
  def resources_output(resources)
73
- yaml = ''
73
+ yaml = +''
74
74
  resources.each do |resource|
75
75
  yaml << ::YAML.dump(stringify_hash(resource.to_hash))
76
76
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Mortar
4
- VERSION = "0.2.0.rc1"
4
+ VERSION = "0.2.0"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kontena-mortar
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0.rc1
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kontena, Inc
@@ -203,9 +203,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
203
203
  version: '0'
204
204
  required_rubygems_version: !ruby/object:Gem::Requirement
205
205
  requirements:
206
- - - ">"
206
+ - - ">="
207
207
  - !ruby/object:Gem::Version
208
- version: 1.3.1
208
+ version: '0'
209
209
  requirements: []
210
210
  rubyforge_project:
211
211
  rubygems_version: 2.7.6