manageiq-messaging 1.4.2 → 1.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/ci.yaml +9 -5
- data/CHANGELOG.md +9 -1
- data/Gemfile +5 -5
- data/lib/manageiq/messaging/kafka/client.rb +4 -1
- data/lib/manageiq/messaging/kafka/common.rb +4 -0
- data/lib/manageiq/messaging/version.rb +1 -1
- data/manageiq-messaging.gemspec +2 -2
- metadata +7 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a9f69f7fa1427fdd346d8f038e972c9b62e0fcbe2ce2aef1a727fbcd1b1b1814
|
4
|
+
data.tar.gz: 2f05fd2ce9e9b3711bd5961841227532dcdbb8401d6dd35951bdbaaf5ed39528
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a28c1e6ac47e336b1d907f4bdbd7d7595c3a5afc0295e82a25865fbdd582905996747da0e20948935b0520ef9a0fca3fc8d470d5b38ccd25c4447fdacda4d02d
|
7
|
+
data.tar.gz: b27a12b1ab3c93cb2329ebd8eabcf5036a5d9a36f3bb24f7d9e59cc3ae350e2c815bb0c112756ae30604ad96a15800cf69d8450c866cb7e4ebd0ec3852461b62
|
data/.github/workflows/ci.yaml
CHANGED
@@ -12,13 +12,17 @@ jobs:
|
|
12
12
|
strategy:
|
13
13
|
matrix:
|
14
14
|
ruby-version:
|
15
|
-
- '2.7'
|
16
15
|
- '3.0'
|
17
16
|
- '3.1'
|
17
|
+
- '3.2'
|
18
|
+
- '3.3'
|
18
19
|
rails-version:
|
19
|
-
- '6.0'
|
20
|
-
- '6.1'
|
21
20
|
- '7.0'
|
21
|
+
- '7.1'
|
22
|
+
- '7.2'
|
23
|
+
exclude:
|
24
|
+
- ruby-version: '3.0'
|
25
|
+
rails-version: '7.2'
|
22
26
|
env:
|
23
27
|
TEST_RAILS_VERSION: ${{ matrix.rails-version }}
|
24
28
|
CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }}
|
@@ -33,6 +37,6 @@ jobs:
|
|
33
37
|
- name: Run tests
|
34
38
|
run: bundle exec rake
|
35
39
|
- name: Report code coverage
|
36
|
-
if: ${{ github.ref == 'refs/heads/master' && matrix.ruby-version == '3.
|
40
|
+
if: ${{ github.ref == 'refs/heads/master' && matrix.ruby-version == '3.1' && matrix.rails-version == '7.0' }}
|
37
41
|
continue-on-error: true
|
38
|
-
uses: paambaati/codeclimate-action@
|
42
|
+
uses: paambaati/codeclimate-action@v9
|
data/CHANGELOG.md
CHANGED
@@ -6,6 +6,13 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
|
|
6
6
|
|
7
7
|
## [Unreleased]
|
8
8
|
|
9
|
+
## [1.5.0] - 30-Sep-2024
|
10
|
+
* Use ruby 3.1 and rails 7 for code coverage ([#92](https://github.com/ManageIQ/manageiq-messaging/pull/92))
|
11
|
+
* Drop end of life rubies and rails and add new versions ([#94](https://github.com/ManageIQ/manageiq-messaging/pull/94))
|
12
|
+
|
13
|
+
## [1.4.3] - 03-May-2024
|
14
|
+
* Close the Kafka admin connection ([#89](https://github.com/ManageIQ/manageiq-messaging/pull/89))
|
15
|
+
|
9
16
|
## [1.4.2] - 03-May-2024
|
10
17
|
* Fix Kafka List Topics Method ([#88](https://github.com/ManageIQ/manageiq-messaging/pull/88))
|
11
18
|
* Add ruby 3.1 to the test matrix ([#84](https://github.com/ManageIQ/manageiq-messaging/pull/84))
|
@@ -87,7 +94,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
|
|
87
94
|
|
88
95
|
* Initial release
|
89
96
|
|
90
|
-
[Unreleased]: https://github.com/ManageIQ/manageiq-messaging/compare/v1.4.
|
97
|
+
[Unreleased]: https://github.com/ManageIQ/manageiq-messaging/compare/v1.4.3...HEAD
|
98
|
+
[1.4.3]: https://github.com/ManageIQ/manageiq-messaging/compare/v1.4.2...v1.4.3
|
91
99
|
[1.4.2]: https://github.com/ManageIQ/manageiq-messaging/compare/v1.4.1...v1.4.2
|
92
100
|
[1.4.1]: https://github.com/ManageIQ/manageiq-messaging/compare/v1.4.0...v1.4.1
|
93
101
|
[1.4.0]: https://github.com/ManageIQ/manageiq-messaging/compare/v1.3.0...v1.4.0
|
data/Gemfile
CHANGED
@@ -5,12 +5,12 @@ gemspec
|
|
5
5
|
|
6
6
|
minimum_version =
|
7
7
|
case ENV['TEST_RAILS_VERSION']
|
8
|
-
when "
|
9
|
-
"~>
|
10
|
-
when "7.
|
11
|
-
"~>7.
|
8
|
+
when "7.2"
|
9
|
+
"~>7.2.1"
|
10
|
+
when "7.1"
|
11
|
+
"~>7.1.4"
|
12
12
|
else
|
13
|
-
"~>
|
13
|
+
"~>7.0.8"
|
14
14
|
end
|
15
15
|
|
16
16
|
gem "activesupport", minimum_version
|
@@ -56,6 +56,9 @@ module ManageIQ
|
|
56
56
|
end
|
57
57
|
|
58
58
|
def close
|
59
|
+
@admin&.close
|
60
|
+
@admin = nil
|
61
|
+
|
59
62
|
@producer&.close
|
60
63
|
@producer = nil
|
61
64
|
|
@@ -65,7 +68,7 @@ module ManageIQ
|
|
65
68
|
|
66
69
|
# list all topics
|
67
70
|
def topics
|
68
|
-
|
71
|
+
admin.metadata.topics.map { |topic| topic[:topic_name] }
|
69
72
|
end
|
70
73
|
|
71
74
|
private
|
data/manageiq-messaging.gemspec
CHANGED
@@ -6,7 +6,7 @@ require 'manageiq/messaging/version'
|
|
6
6
|
Gem::Specification.new do |spec|
|
7
7
|
spec.name = "manageiq-messaging"
|
8
8
|
spec.version = ManageIQ::Messaging::VERSION
|
9
|
-
spec.required_ruby_version = '>=
|
9
|
+
spec.required_ruby_version = '>= 3.0'
|
10
10
|
spec.authors = ["ManageIQ Authors"]
|
11
11
|
|
12
12
|
spec.summary = 'Client library for ManageIQ components to exchange messages through its internal message bus.'
|
@@ -26,7 +26,7 @@ Gem::Specification.new do |spec|
|
|
26
26
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
27
27
|
spec.require_paths = ["lib"]
|
28
28
|
|
29
|
-
spec.add_dependency 'activesupport', '>=
|
29
|
+
spec.add_dependency 'activesupport', '>= 7.0.8', "<8.0"
|
30
30
|
spec.add_dependency 'rdkafka', '~> 0.8'
|
31
31
|
spec.add_dependency 'stomp', '~> 1.4.4'
|
32
32
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: manageiq-messaging
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.5.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- ManageIQ Authors
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-09-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|
@@ -16,20 +16,20 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version:
|
19
|
+
version: 7.0.8
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: '
|
22
|
+
version: '8.0'
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
26
26
|
requirements:
|
27
27
|
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version:
|
29
|
+
version: 7.0.8
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: '
|
32
|
+
version: '8.0'
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: rdkafka
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
@@ -191,7 +191,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
191
191
|
requirements:
|
192
192
|
- - ">="
|
193
193
|
- !ruby/object:Gem::Version
|
194
|
-
version: '
|
194
|
+
version: '3.0'
|
195
195
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
196
196
|
requirements:
|
197
197
|
- - ">="
|