kustomizer 0.1.11 → 0.1.12

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: 60295db655aa832bb933831f4dbd1854ad7705c3908423cc9e8a4e1d25faef69
4
- data.tar.gz: a575e73284ea5bd0877543ff888767ff224b26e3ddde9509c591631492340f60
3
+ metadata.gz: 9d4194dfeac67756db2018524a29771521143059e7c6b01783e50ef454f5c710
4
+ data.tar.gz: cf815fc480191d91626c273f925eac81fff5487b859d3b261dddaab6b9b2c594
5
5
  SHA512:
6
- metadata.gz: d0c24c3dcfb4ee551be1b85a5c84dd52038015aa6ef4fdd439d80eccf9e4cd1046c04c56076c92a428bbccdb4cacee47dfbc3531077da9906c22c888b4faa939
7
- data.tar.gz: 9a5b1b6641c3a9e208dcae6310891462f3cbfc3b609266d0bda66f9e4131fef3a8866b364271ee36170ed8c1cc08c7462e959672fa8284b9e63d17e799c3729e
6
+ metadata.gz: 0edca955dacb8cc04b4d3643008aa4fa9f7a884ff8aa9c3534d15bf8f38ba9a879cc0dceddca03d9c95a743971da98f9342c730f17b5882eaf63e37f6814aecc
7
+ data.tar.gz: 645696be6aa341742d34fd8f7099fe68d3ea55f0f5548c42641a3452cfb4dc41325fd5b3b59681e1631af4d98dcd8e399091d88e6b71dc53cebc3c58a2d63350
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- kustomizer (0.1.11)
4
+ kustomizer (0.1.12)
5
5
  accessory (~> 0.1.11)
6
6
  base32-multi
7
7
 
@@ -18,6 +18,8 @@ class Kustomize::Json6902Patch::GsubOp < Kustomize::Json6902Patch::Op
18
18
  def apply(rc)
19
19
  @lenses.inject(rc) do |doc, lens|
20
20
  lens.update_in(doc) do |orig_value|
21
+ next(:keep) unless orig_value.kind_of?(String)
22
+
21
23
  new_value = orig_value.gsub(@pattern, @replacement)
22
24
 
23
25
  if new_value != orig_value
@@ -1,3 +1,3 @@
1
1
  module Kustomize
2
- VERSION = "0.1.11"
2
+ VERSION = "0.1.12"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kustomizer
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.11
4
+ version: 0.1.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - Levi Aul
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-02-13 00:00:00.000000000 Z
11
+ date: 2021-03-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: accessory