kruby 1.35.0.4 → 1.35.0.5
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 +4 -4
- data/README.md +5 -5
- data/lib/kubernetes/release/changelog.rb +3 -2
- data/lib/kubernetes/version.rb +1 -1
- data/lib/kubernetes/watch.rb +8 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 5b5b9ffb593f8a222ed2e0bf315fa9a0990f48bb2a25b46603b9d54a1d8503c3
|
|
4
|
+
data.tar.gz: 4536d9ae3ff969e420695507b422fbc3b262d97689c5600debe58a13b296ad8b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 62d63c61c1a837081bba43aeee8904fa6e2b8c737402d63fa30b839919c0eaeb60922f2522043d1ab2517b298c4b4e5a658c0ea7bbda559ab94f3e6f67f9e539
|
|
7
|
+
data.tar.gz: 68d10d1cdee2cb549fc9661e47d9ac73abbd498119ea544c04f3094017274c63a746a3d54914a46bf95a62a71867c1640b70a03ceea0eb18138da7bc19064a15
|
data/README.md
CHANGED
|
@@ -7,7 +7,7 @@ No description provided (generated by Openapi Generator https://github.com/opena
|
|
|
7
7
|
This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
|
|
8
8
|
|
|
9
9
|
- API version: release-1.35
|
|
10
|
-
- Package version: 1.35.0.
|
|
10
|
+
- Package version: 1.35.0.5
|
|
11
11
|
- Build package: org.openapitools.codegen.languages.RubyClientCodegen
|
|
12
12
|
|
|
13
13
|
## Project Origin
|
|
@@ -18,7 +18,7 @@ This SDK is automatically generated by the [OpenAPI Generator](https://openapi-g
|
|
|
18
18
|
## Release History
|
|
19
19
|
|
|
20
20
|
- User-visible release notes are tracked in the repository [CHANGELOG.md](https://github.com/doridoridoriand/kruby/blob/master/CHANGELOG.md).
|
|
21
|
-
- Release tags use the format `
|
|
21
|
+
- Release tags use the format `v<version>` (for example `v1.35.0.5`), and matching GitHub Releases are published at [github.com/doridoridoriand/kruby/releases](https://github.com/doridoridoriand/kruby/releases).
|
|
22
22
|
|
|
23
23
|
## Installation
|
|
24
24
|
|
|
@@ -33,17 +33,17 @@ gem build kubernetes.gemspec
|
|
|
33
33
|
Then either install the gem locally:
|
|
34
34
|
|
|
35
35
|
```shell
|
|
36
|
-
gem install ./kruby-1.35.0.
|
|
36
|
+
gem install ./kruby-1.35.0.5.gem
|
|
37
37
|
```
|
|
38
38
|
|
|
39
|
-
(for development, run `gem install --dev ./kruby-1.35.0.
|
|
39
|
+
(for development, run `gem install --dev ./kruby-1.35.0.5.gem` to install the development dependencies)
|
|
40
40
|
|
|
41
41
|
or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
|
|
42
42
|
|
|
43
43
|
Finally add this to the Gemfile:
|
|
44
44
|
|
|
45
45
|
```ruby
|
|
46
|
-
gem 'kruby', '~> 1.35.0.
|
|
46
|
+
gem 'kruby', '~> 1.35.0.5'
|
|
47
47
|
```
|
|
48
48
|
|
|
49
49
|
### Install from Git
|
|
@@ -31,8 +31,9 @@ module Kubernetes
|
|
|
31
31
|
|
|
32
32
|
def validate_release!(version:, tag: nil, require_empty_unreleased: false)
|
|
33
33
|
errors = []
|
|
34
|
+
has_unreleased = include?("Unreleased")
|
|
34
35
|
|
|
35
|
-
errors << "missing Unreleased section in #{path}" unless
|
|
36
|
+
errors << "missing Unreleased section in #{path}" unless has_unreleased
|
|
36
37
|
errors << "missing CHANGELOG entry for #{version} in #{path}" unless include?(version)
|
|
37
38
|
|
|
38
39
|
expected_tag = "v#{version}"
|
|
@@ -40,7 +41,7 @@ module Kubernetes
|
|
|
40
41
|
errors << "release tag #{tag} does not match version #{version} (expected #{expected_tag})"
|
|
41
42
|
end
|
|
42
43
|
|
|
43
|
-
if require_empty_unreleased && !unreleased_empty?
|
|
44
|
+
if require_empty_unreleased && has_unreleased && !unreleased_empty?
|
|
44
45
|
errors << "Unreleased section must be empty before cutting #{expected_tag}"
|
|
45
46
|
end
|
|
46
47
|
|
data/lib/kubernetes/version.rb
CHANGED
data/lib/kubernetes/watch.rb
CHANGED
|
@@ -37,7 +37,14 @@ module Kubernetes
|
|
|
37
37
|
request.on_body do |chunk|
|
|
38
38
|
last, pieces = split_lines(last, chunk)
|
|
39
39
|
pieces.each do |part|
|
|
40
|
-
|
|
40
|
+
begin
|
|
41
|
+
event = JSON.parse(part)
|
|
42
|
+
rescue JSON::ParserError => e
|
|
43
|
+
warn "Failed to parse watch event: #{e.message}. Raw event: #{part.inspect}"
|
|
44
|
+
next
|
|
45
|
+
end
|
|
46
|
+
|
|
47
|
+
yield event
|
|
41
48
|
end
|
|
42
49
|
end
|
|
43
50
|
request.run
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: kruby
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.35.0.
|
|
4
|
+
version: 1.35.0.5
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- doridoridoriand
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-03-
|
|
11
|
+
date: 2026-03-16 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: typhoeus
|