manageiq-messaging 1.4.1 → 1.4.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.codeclimate.yml +1 -1
- data/.github/workflows/ci.yaml +3 -2
- data/CHANGELOG.md +11 -1
- data/Gemfile +11 -6
- data/lib/manageiq/messaging/kafka/client.rb +4 -2
- data/lib/manageiq/messaging/kafka/common.rb +4 -0
- data/lib/manageiq/messaging/version.rb +1 -1
- data/manageiq-messaging.gemspec +1 -1
- data/renovate.json +6 -0
- metadata +5 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 17ceec47e0dedb5b03d1a49fb023e70f36eb64cab1ebe4e1e32d2491c9f67720
|
4
|
+
data.tar.gz: 6d312e66479dea87133dd6caa4290dafbbf5ef77b922daf4d1a1e843fea14eb7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bc42d48a195a4fa013e6a4fa964be220a8be4102f6c30e202b07521bed213f6450cc27981151fb37e9e82d2042daf665bec53c179d07ca54daffcd700153293e
|
7
|
+
data.tar.gz: 7d5159c5aaaf2fd68ef1214711bfd982875e7718205a6232ea6c84522926c8bef74df190a23ba946b90a0d057e981d89f891b9dff930ea9de90bcb682deebe8a
|
data/.codeclimate.yml
CHANGED
data/.github/workflows/ci.yaml
CHANGED
@@ -12,12 +12,13 @@ jobs:
|
|
12
12
|
strategy:
|
13
13
|
matrix:
|
14
14
|
ruby-version:
|
15
|
-
- '2.6'
|
16
15
|
- '2.7'
|
17
16
|
- '3.0'
|
17
|
+
- '3.1'
|
18
18
|
rails-version:
|
19
19
|
- '6.0'
|
20
20
|
- '6.1'
|
21
|
+
- '7.0'
|
21
22
|
env:
|
22
23
|
TEST_RAILS_VERSION: ${{ matrix.rails-version }}
|
23
24
|
CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }}
|
@@ -34,4 +35,4 @@ jobs:
|
|
34
35
|
- name: Report code coverage
|
35
36
|
if: ${{ github.ref == 'refs/heads/master' && matrix.ruby-version == '3.0' && matrix.rails-version == '6.1' }}
|
36
37
|
continue-on-error: true
|
37
|
-
uses: paambaati/codeclimate-action@
|
38
|
+
uses: paambaati/codeclimate-action@v6
|
data/CHANGELOG.md
CHANGED
@@ -6,6 +6,14 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
|
|
6
6
|
|
7
7
|
## [Unreleased]
|
8
8
|
|
9
|
+
## [1.4.3] - 03-May-2024
|
10
|
+
* Close the Kafka admin connection ([#89](https://github.com/ManageIQ/manageiq-messaging/pull/89))
|
11
|
+
|
12
|
+
## [1.4.2] - 03-May-2024
|
13
|
+
* Fix Kafka List Topics Method ([#88](https://github.com/ManageIQ/manageiq-messaging/pull/88))
|
14
|
+
* Add ruby 3.1 to the test matrix ([#84](https://github.com/ManageIQ/manageiq-messaging/pull/84))
|
15
|
+
* Allow rails 7 gems in gemspec ([#83](https://github.com/ManageIQ/manageiq-messaging/pull/83))
|
16
|
+
|
9
17
|
## [1.4.1] - 29-Nov-2023
|
10
18
|
* Fix headers with string keys ([#82](https://github.com/ManageIQ/manageiq-messaging/pull/82))
|
11
19
|
|
@@ -82,7 +90,9 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
|
|
82
90
|
|
83
91
|
* Initial release
|
84
92
|
|
85
|
-
[Unreleased]: https://github.com/ManageIQ/manageiq-messaging/compare/v1.4.
|
93
|
+
[Unreleased]: https://github.com/ManageIQ/manageiq-messaging/compare/v1.4.3...HEAD
|
94
|
+
[1.4.3]: https://github.com/ManageIQ/manageiq-messaging/compare/v1.4.2...v1.4.3
|
95
|
+
[1.4.2]: https://github.com/ManageIQ/manageiq-messaging/compare/v1.4.1...v1.4.2
|
86
96
|
[1.4.1]: https://github.com/ManageIQ/manageiq-messaging/compare/v1.4.0...v1.4.1
|
87
97
|
[1.4.0]: https://github.com/ManageIQ/manageiq-messaging/compare/v1.3.0...v1.4.0
|
88
98
|
[1.3.0]: https://github.com/ManageIQ/manageiq-messaging/compare/v1.2.0...v1.3.0
|
data/Gemfile
CHANGED
@@ -3,9 +3,14 @@ source 'https://rubygems.org'
|
|
3
3
|
# Specify your gem's dependencies in manageiq-messaging.gemspec
|
4
4
|
gemspec
|
5
5
|
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
6
|
+
minimum_version =
|
7
|
+
case ENV['TEST_RAILS_VERSION']
|
8
|
+
when "6.0"
|
9
|
+
"~>6.0.4"
|
10
|
+
when "7.0"
|
11
|
+
"~>7.0.8"
|
12
|
+
else
|
13
|
+
"~>6.1.4"
|
14
|
+
end
|
15
|
+
|
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,8 +68,7 @@ module ManageIQ
|
|
65
68
|
|
66
69
|
# list all topics
|
67
70
|
def topics
|
68
|
-
|
69
|
-
Rdkafka::Metadata.new(native_kafka).topics.collect { |topic| topic[:topic_name] }
|
71
|
+
admin.metadata.topics.map { |topic| topic[:topic_name] }
|
70
72
|
end
|
71
73
|
|
72
74
|
private
|
data/manageiq-messaging.gemspec
CHANGED
@@ -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', '>= 5.2.4.3', "<
|
29
|
+
spec.add_dependency 'activesupport', '>= 5.2.4.3', "<7.1"
|
30
30
|
spec.add_dependency 'rdkafka', '~> 0.8'
|
31
31
|
spec.add_dependency 'stomp', '~> 1.4.4'
|
32
32
|
|
data/renovate.json
ADDED
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.
|
4
|
+
version: 1.4.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- ManageIQ Authors
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2024-05-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: 5.2.4.3
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: '7.
|
22
|
+
version: '7.1'
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,7 +29,7 @@ dependencies:
|
|
29
29
|
version: 5.2.4.3
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: '7.
|
32
|
+
version: '7.1'
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: rdkafka
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
@@ -175,6 +175,7 @@ files:
|
|
175
175
|
- lib/manageiq/messaging/stomp/topic.rb
|
176
176
|
- lib/manageiq/messaging/version.rb
|
177
177
|
- manageiq-messaging.gemspec
|
178
|
+
- renovate.json
|
178
179
|
homepage: https://github.com/ManageIQ/manageiq-messaging
|
179
180
|
licenses:
|
180
181
|
- MIT
|