metatron 0.8.2 → 0.8.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
  SHA256:
3
- metadata.gz: ef4bf936a9316f23439a920e4a6923362640b185ccc1ee529ce4b164cf6acd08
4
- data.tar.gz: 6a8b1ce24431f8bf991d0a2c9cf9ab85c82c601e80c001e3ef8c40e5d9fda009
3
+ metadata.gz: ab8b6e01568e5bca15099a98463b818ff61bfded886be916822be4b01730900f
4
+ data.tar.gz: 25a3058b16e8978ab1300f6d8a88bb54efd6240dcec7c5bdd5fe8d18db21710a
5
5
  SHA512:
6
- metadata.gz: bbd66de712a0770d70f907157d7165e3d3c05e3c0c273e29786ac826022f1564be6019e22c0539c6d8a36e91047e851e019f7ad01521060e1603644f45dd5d11
7
- data.tar.gz: d168cebe1c6aa51f36975313b731e9f07a09402f446a6fe891f51b01d0106fc7c4a28ca87c4641239dc1165cad9aa157ec2e4fed111518c5034d18327efd5891
6
+ metadata.gz: ff00fade4a9ce16cf88d9edc146c4d65ae624f190fe1cafc90601e80483be195c067cb7bfcac49f3022ec5265d01b0e96c222d7a221ae3f5f717a9f48be8db28
7
+ data.tar.gz: b53644bed5c397ce9d7949f0cd7e356125e93c0d2d52fcd938dba36cd078fca7ee51aff66c9729c54d3d714ff9dbfed6f3138e1d5501744c60715f9af61958ec
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- metatron (0.8.2)
4
+ metatron (0.8.3)
5
5
  json (~> 2.6)
6
6
  rack (>= 2.2.8, < 4)
7
7
 
@@ -10,24 +10,24 @@ GEM
10
10
  specs:
11
11
  ast (2.4.2)
12
12
  backport (1.2.0)
13
- benchmark (0.3.0)
13
+ benchmark (0.4.0)
14
14
  byebug (11.1.3)
15
15
  diff-lcs (1.5.1)
16
16
  docile (1.4.1)
17
17
  e2mmap (0.1.0)
18
18
  jaro_winkler (1.6.0)
19
- json (2.7.2)
20
- kramdown (2.4.0)
21
- rexml
19
+ json (2.9.0)
20
+ kramdown (2.5.1)
21
+ rexml (>= 3.3.9)
22
22
  kramdown-parser-gfm (1.1.0)
23
23
  kramdown (~> 2.0)
24
24
  language_server-protocol (3.17.0.3)
25
- nokogiri (1.16.7-arm64-darwin)
25
+ nokogiri (1.17.2-arm64-darwin)
26
26
  racc (~> 1.4)
27
- nokogiri (1.16.7-x86_64-linux)
27
+ nokogiri (1.17.2-x86_64-linux)
28
28
  racc (~> 1.4)
29
29
  parallel (1.26.3)
30
- parser (3.3.5.0)
30
+ parser (3.3.6.0)
31
31
  ast (~> 2.4.1)
32
32
  racc
33
33
  racc (1.8.1)
@@ -37,10 +37,10 @@ GEM
37
37
  rainbow (3.1.1)
38
38
  rake (12.3.3)
39
39
  rbs (2.8.4)
40
- regexp_parser (2.9.2)
40
+ regexp_parser (2.9.3)
41
41
  reverse_markdown (2.1.1)
42
42
  nokogiri
43
- rexml (3.3.8)
43
+ rexml (3.3.9)
44
44
  rspec (3.13.0)
45
45
  rspec-core (~> 3.13.0)
46
46
  rspec-expectations (~> 3.13.0)
@@ -53,18 +53,18 @@ GEM
53
53
  rspec-mocks (3.13.2)
54
54
  diff-lcs (>= 1.2.0, < 2.0)
55
55
  rspec-support (~> 3.13.0)
56
- rspec-support (3.13.1)
57
- rubocop (1.67.0)
56
+ rspec-support (3.13.2)
57
+ rubocop (1.69.2)
58
58
  json (~> 2.3)
59
59
  language_server-protocol (>= 3.17.0)
60
60
  parallel (~> 1.10)
61
61
  parser (>= 3.3.0.2)
62
62
  rainbow (>= 2.2.2, < 4.0)
63
- regexp_parser (>= 2.4, < 3.0)
64
- rubocop-ast (>= 1.32.2, < 2.0)
63
+ regexp_parser (>= 2.9.3, < 3.0)
64
+ rubocop-ast (>= 1.36.2, < 2.0)
65
65
  ruby-progressbar (~> 1.7)
66
- unicode-display_width (>= 2.4.0, < 3.0)
67
- rubocop-ast (1.32.3)
66
+ unicode-display_width (>= 2.4.0, < 4.0)
67
+ rubocop-ast (1.37.0)
68
68
  parser (>= 3.3.1.0)
69
69
  rubocop-capybara (2.21.0)
70
70
  rubocop (~> 1.41)
@@ -107,7 +107,9 @@ GEM
107
107
  yard (~> 0.9, >= 0.9.24)
108
108
  thor (1.3.2)
109
109
  tilt (2.4.0)
110
- unicode-display_width (2.6.0)
110
+ unicode-display_width (3.1.2)
111
+ unicode-emoji (~> 4.0, >= 4.0.4)
112
+ unicode-emoji (4.0.4)
111
113
  yard (0.9.37)
112
114
 
113
115
  PLATFORMS
@@ -8,11 +8,13 @@ module Metatron
8
8
  include Concerns::Namespaced
9
9
 
10
10
  attr_accessor :type, :selector, :additional_labels, :ports,
11
- :additional_selector_labels, :publish_not_ready_addresses
11
+ :additional_selector_labels, :publish_not_ready_addresses,
12
+ :cluster_ip
12
13
 
13
14
  def initialize(name, port = nil)
14
15
  super(name)
15
16
  @type = "ClusterIP"
17
+ @cluster_ip = nil
16
18
  @selector = base_labels
17
19
  @additional_labels = {}
18
20
  @additional_selector_labels = {}
@@ -30,6 +32,7 @@ module Metatron
30
32
  end
31
33
 
32
34
  alias publishNotReadyAddresses publish_not_ready_addresses
35
+ alias clusterIP cluster_ip
33
36
 
34
37
  def formatted_ports
35
38
  ports&.any? ? { ports: } : {}
@@ -46,8 +49,9 @@ module Metatron
46
49
  spec: {
47
50
  type:,
48
51
  selector: selector.merge(additional_selector_labels),
49
- publishNotReadyAddresses:
50
- }.merge(formatted_ports)
52
+ publishNotReadyAddresses:,
53
+ clusterIP:
54
+ }.compact.merge(formatted_ports)
51
55
  }
52
56
  end
53
57
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Metatron
4
- VERSION = "0.8.2"
4
+ VERSION = "0.8.3"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: metatron
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.2
4
+ version: 0.8.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jonathan Gnagy
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-10-23 00:00:00.000000000 Z
11
+ date: 2024-12-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: json