metatron 0.8.2 → 0.8.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ef4bf936a9316f23439a920e4a6923362640b185ccc1ee529ce4b164cf6acd08
4
- data.tar.gz: 6a8b1ce24431f8bf991d0a2c9cf9ab85c82c601e80c001e3ef8c40e5d9fda009
3
+ metadata.gz: e29f9f35ab8098f2b1f411456d09d6f33e5e359c9a90bb91bf4aa38264023abe
4
+ data.tar.gz: 7882cd3e1f10716e11d3eaf9eb701653319bfd2fad378e7ba77d9825051fa8a2
5
5
  SHA512:
6
- metadata.gz: bbd66de712a0770d70f907157d7165e3d3c05e3c0c273e29786ac826022f1564be6019e22c0539c6d8a36e91047e851e019f7ad01521060e1603644f45dd5d11
7
- data.tar.gz: d168cebe1c6aa51f36975313b731e9f07a09402f446a6fe891f51b01d0106fc7c4a28ca87c4641239dc1165cad9aa157ec2e4fed111518c5034d18327efd5891
6
+ metadata.gz: 540cbb3dd3bf956acb1354fabf384cd1c2924d739b7215c9d12d4d9e53f23a9b709f7a81fe122ebd6be62340937f9f0f29f147561f40e8bfb6f766f3076ab928
7
+ data.tar.gz: 80a84181d35819dbfa6a5fab4416657f226a8462f39a66a56aee0fa70380a73ad1d2be2362212ce048c2074b289974795808956f794e31767809a21bad9e3c7c
data/.roxanne.yml CHANGED
@@ -1,14 +1,14 @@
1
1
  version: 1.0
2
2
  stages:
3
3
  build:
4
- image: ruby:3.2
4
+ image: ruby:3.3
5
5
  scripts:
6
6
  - ./scripts/build.sh
7
7
  test:
8
- image: ruby:3.2
8
+ image: ruby:3.3
9
9
  scripts:
10
10
  - ./scripts/test.sh
11
11
  release:
12
- image: ruby:3.2
12
+ image: ruby:3.3
13
13
  only:
14
14
  - main
data/.ruby-version CHANGED
@@ -1 +1 @@
1
- 3.3.5
1
+ 3.3.6
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.4)
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.4.0)
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,12 +107,15 @@ 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
114
116
  arm64-darwin-22
115
117
  arm64-darwin-23
118
+ arm64-darwin-24
116
119
  x86_64-linux
117
120
 
118
121
  DEPENDENCIES
@@ -131,4 +134,4 @@ DEPENDENCIES
131
134
  yard (~> 0.9)
132
135
 
133
136
  BUNDLED WITH
134
- 2.4.13
137
+ 2.5.22
@@ -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.4"
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.4
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-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: json
@@ -288,7 +288,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
288
288
  - !ruby/object:Gem::Version
289
289
  version: '0'
290
290
  requirements: []
291
- rubygems_version: 3.5.16
291
+ rubygems_version: 3.5.22
292
292
  signing_key:
293
293
  specification_version: 4
294
294
  summary: So meta