k8s-ruby 0.14.0 → 0.15.1

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: 9578f60e7b7d2a2b420991a83fe76229b24b2ae979659489bc799da9b0d04ec9
4
- data.tar.gz: 85701ff904f50ede9395191e30df570fd2efbfb0006fb128c696bd23cada36e4
3
+ metadata.gz: ad7875d61420834647e84ae563ade83f3a0b5c81d8c105c5cf94a15452d3127b
4
+ data.tar.gz: 729cedef48bbb59522d178a9f6f189f9c4a7b20f5a4bfe9292e733f14a31ab7e
5
5
  SHA512:
6
- metadata.gz: f2d9d82630ecdd1b7a19d180d77d26290807ef0c7fa5b7c9e3e0356cabd75ac71df01c621e31699988fb0365dd764ed33a1273431ee443acc2d5ca844a6337d6
7
- data.tar.gz: 7eb209e837f19da46987014fe0b144999632052159ae8ca34ab0544a632fa040bb107951bc2d390f1aa57afcb2dfa99feeaa7aff70d5d5c31a126278c46ef27a
6
+ metadata.gz: d900ec75b985d43ebd8b48aff686564a21769b97d0ea63de7af4e9ec5696983bfce4770bc545b18e9c6dfc8e992e143871e54838f82211fc53f4df04d50118ce
7
+ data.tar.gz: de2f4f643bc5a8e631678fcbdcb02d2360c10c429c21e90e726ce76c92e5d3ce8d62c5bf92b9b6acd9e66336e33c0a8f2750d811fceae5fe5f74c19d5ea533d5
@@ -0,0 +1,33 @@
1
+ project:
2
+ alias: k8s-ruby
3
+
4
+ # Slack channel in Chef Software slack to send notifications about build failures, etc
5
+ slack:
6
+ notify_channel:
7
+ - inspec-notify
8
+
9
+ github:
10
+ delete_branch_on_merge: true
11
+ version_tag_format: v{{version}}
12
+
13
+ # pipelines:
14
+ # - verify:
15
+ # trigger: pull_request
16
+ # description: Pull Request validation tests
17
+
18
+ rubygems:
19
+ - k8s-ruby
20
+
21
+ release_branches:
22
+ - main:
23
+ version_constraint: "*"
24
+
25
+ subscriptions:
26
+ - workload: pull_request_merged:{{github_repo}}:{{release_branch}}:*
27
+ actions:
28
+ # we pull the latest tags from `k8s-ruby/k8s-ruby` hence we don't bump version here.
29
+ # But we build and publish gems from here
30
+ - built_in:build_gem
31
+ - workload: project_promoted:{{agent_id}}:*
32
+ actions:
33
+ - built_in:publish_rubygems
@@ -0,0 +1,8 @@
1
+ #!/bin/bash
2
+ #
3
+ # After a PR merge, Chef Expeditor will bump the PATCH version in the VERSION file.
4
+ # It then executes this file to update any other files/components with that new version.
5
+
6
+ set -evx
7
+
8
+ sed -i -r "s/VERSION = \".*\"/VERSION = \"$(cat VERSION)\"/" lib/k8s/ruby/version.rb
@@ -34,3 +34,10 @@ jobs:
34
34
  - uses: actions/checkout@v3
35
35
  - run: docker-compose build rspec-3.1
36
36
  - run: docker-compose run rspec-3.1
37
+
38
+ build-3-2:
39
+ runs-on: ubuntu-latest
40
+ steps:
41
+ - uses: actions/checkout@v3
42
+ - run: docker-compose build rspec-3.2
43
+ - run: docker-compose run rspec-3.2
data/VERSION ADDED
@@ -0,0 +1 @@
1
+ 0.15.1
data/docker-compose.yaml CHANGED
@@ -27,4 +27,11 @@ services:
27
27
  BASE_IMAGE: ruby:3.1
28
28
  volumes:
29
29
  - .:/app
30
+ rspec-3.2:
31
+ build:
32
+ context: .
33
+ args:
34
+ BASE_IMAGE: ruby:3.2
35
+ volumes:
36
+ - .:/app
30
37
  entrypoint: bundle exec rspec
data/k8s-ruby.gemspec CHANGED
@@ -21,12 +21,12 @@ Gem::Specification.new do |spec|
21
21
  spec.bindir = "bin"
22
22
  spec.executables = []
23
23
  spec.require_paths = ["lib"]
24
- spec.required_ruby_version = spec.required_ruby_version = [">= 2.4", "< 3.2"]
24
+ spec.required_ruby_version = spec.required_ruby_version = [">= 2.4", "<= 3.2.2"]
25
25
 
26
26
  spec.add_runtime_dependency "excon", "~> 0.71"
27
- spec.add_runtime_dependency "dry-struct", "<= 1.6.0"
28
- spec.add_runtime_dependency "dry-types", "<= 1.7.0"
29
- spec.add_runtime_dependency "dry-configurable", "~> 0.13.0"
27
+ spec.add_runtime_dependency "dry-struct"
28
+ spec.add_runtime_dependency "dry-types"
29
+ spec.add_runtime_dependency "dry-configurable"
30
30
  spec.add_runtime_dependency "recursive-open-struct", "~> 1.1.3"
31
31
  spec.add_runtime_dependency "hashdiff", "~> 1.0.0"
32
32
  spec.add_runtime_dependency "jsonpath", "~> 0.9.5"
@@ -3,6 +3,6 @@
3
3
  module K8s
4
4
  class Ruby
5
5
  # Updated on releases using semver.
6
- VERSION = "0.14.0"
6
+ VERSION = "0.15.1"
7
7
  end
8
8
  end
metadata CHANGED
@@ -1,15 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: k8s-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.14.0
4
+ version: 0.15.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - rdx.net
8
8
  - Kontena, Inc.
9
- autorequire:
9
+ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2023-04-12 00:00:00.000000000 Z
12
+ date: 2023-08-30 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: excon
@@ -29,44 +29,44 @@ dependencies:
29
29
  name: dry-struct
30
30
  requirement: !ruby/object:Gem::Requirement
31
31
  requirements:
32
- - - "<="
32
+ - - ">="
33
33
  - !ruby/object:Gem::Version
34
- version: 1.6.0
34
+ version: '0'
35
35
  type: :runtime
36
36
  prerelease: false
37
37
  version_requirements: !ruby/object:Gem::Requirement
38
38
  requirements:
39
- - - "<="
39
+ - - ">="
40
40
  - !ruby/object:Gem::Version
41
- version: 1.6.0
41
+ version: '0'
42
42
  - !ruby/object:Gem::Dependency
43
43
  name: dry-types
44
44
  requirement: !ruby/object:Gem::Requirement
45
45
  requirements:
46
- - - "<="
46
+ - - ">="
47
47
  - !ruby/object:Gem::Version
48
- version: 1.7.0
48
+ version: '0'
49
49
  type: :runtime
50
50
  prerelease: false
51
51
  version_requirements: !ruby/object:Gem::Requirement
52
52
  requirements:
53
- - - "<="
53
+ - - ">="
54
54
  - !ruby/object:Gem::Version
55
- version: 1.7.0
55
+ version: '0'
56
56
  - !ruby/object:Gem::Dependency
57
57
  name: dry-configurable
58
58
  requirement: !ruby/object:Gem::Requirement
59
59
  requirements:
60
- - - "~>"
60
+ - - ">="
61
61
  - !ruby/object:Gem::Version
62
- version: 0.13.0
62
+ version: '0'
63
63
  type: :runtime
64
64
  prerelease: false
65
65
  version_requirements: !ruby/object:Gem::Requirement
66
66
  requirements:
67
- - - "~>"
67
+ - - ">="
68
68
  - !ruby/object:Gem::Version
69
- version: 0.13.0
69
+ version: '0'
70
70
  - !ruby/object:Gem::Dependency
71
71
  name: recursive-open-struct
72
72
  requirement: !ruby/object:Gem::Requirement
@@ -227,13 +227,15 @@ dependencies:
227
227
  - - "~>"
228
228
  - !ruby/object:Gem::Version
229
229
  version: '11.1'
230
- description:
230
+ description:
231
231
  email:
232
232
  - firstname.lastname@rdx.net
233
233
  executables: []
234
234
  extensions: []
235
235
  extra_rdoc_files: []
236
236
  files:
237
+ - ".expeditor/config.yml"
238
+ - ".expeditor/update_version.sh"
237
239
  - ".github/workflows/tests.yml"
238
240
  - ".gitignore"
239
241
  - ".rspec"
@@ -244,6 +246,7 @@ files:
244
246
  - LICENSE
245
247
  - README.md
246
248
  - Rakefile
249
+ - VERSION
247
250
  - docker-compose.yaml
248
251
  - entrypoint.sh
249
252
  - k8s-ruby.gemspec
@@ -272,7 +275,7 @@ homepage: https://github.com/k8s-ruby/k8s-ruby
272
275
  licenses:
273
276
  - Apache-2.0
274
277
  metadata: {}
275
- post_install_message:
278
+ post_install_message:
276
279
  rdoc_options: []
277
280
  require_paths:
278
281
  - lib
@@ -281,17 +284,17 @@ required_ruby_version: !ruby/object:Gem::Requirement
281
284
  - - ">="
282
285
  - !ruby/object:Gem::Version
283
286
  version: '2.4'
284
- - - "<"
287
+ - - "<="
285
288
  - !ruby/object:Gem::Version
286
- version: '3.2'
289
+ version: 3.2.2
287
290
  required_rubygems_version: !ruby/object:Gem::Requirement
288
291
  requirements:
289
292
  - - ">="
290
293
  - !ruby/object:Gem::Version
291
294
  version: '0'
292
295
  requirements: []
293
- rubygems_version: 3.3.7
294
- signing_key:
296
+ rubygems_version: 3.1.4
297
+ signing_key:
295
298
  specification_version: 4
296
299
  summary: Kubernetes client library for Ruby
297
300
  test_files: []