manageiq-messaging 1.5.0 → 2.0.0
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/CHANGELOG.md +6 -1
- data/lib/manageiq/messaging/client.rb +9 -3
- data/lib/manageiq/messaging/version.rb +1 -1
- data/renovate.json +2 -3
- metadata +3 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f0a8f1d1324334013597b2273df0fe0d39cfac9b993e000ffce27710c96a6c0a
|
4
|
+
data.tar.gz: d35e535c7f56c6d7f0863ffd712dc929ccfc5194275525bfe4acf782e5098b8b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 68fcff399af88cd6abc05b95cef1cb8876191ed8443aa323b1e8f4ad3235702b73f2b8a2c4fd9a6c0e162c6cf2e30d067443cad085c9441d656086576f0ebec2
|
7
|
+
data.tar.gz: 61a5af258e449572d64110e09dc620ec4fada30e1e6585443c689098ab12861897484344e867d16af12f0223b86209a78299ad46f754ce0ddfbec0cddc017ff0
|
data/CHANGELOG.md
CHANGED
@@ -6,6 +6,9 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
|
|
6
6
|
|
7
7
|
## [Unreleased]
|
8
8
|
|
9
|
+
## [2.0.0] - 17-Jul-2025
|
10
|
+
* BREAKING Don't default to Stomp protocol ([#97](https://github.com/ManageIQ/manageiq-messaging/pull/97))
|
11
|
+
|
9
12
|
## [1.5.0] - 30-Sep-2024
|
10
13
|
* Use ruby 3.1 and rails 7 for code coverage ([#92](https://github.com/ManageIQ/manageiq-messaging/pull/92))
|
11
14
|
* Drop end of life rubies and rails and add new versions ([#94](https://github.com/ManageIQ/manageiq-messaging/pull/94))
|
@@ -94,7 +97,9 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
|
|
94
97
|
|
95
98
|
* Initial release
|
96
99
|
|
97
|
-
[Unreleased]: https://github.com/ManageIQ/manageiq-messaging/compare/
|
100
|
+
[Unreleased]: https://github.com/ManageIQ/manageiq-messaging/compare/v2.0.0...HEAD
|
101
|
+
[2.0.0]: https://github.com/ManageIQ/manageiq-messaging/compare/v1.5.0...v2.0.0
|
102
|
+
[1.5.0]: https://github.com/ManageIQ/manageiq-messaging/compare/v1.4.3...v1.5.0
|
98
103
|
[1.4.3]: https://github.com/ManageIQ/manageiq-messaging/compare/v1.4.2...v1.4.3
|
99
104
|
[1.4.2]: https://github.com/ManageIQ/manageiq-messaging/compare/v1.4.1...v1.4.2
|
100
105
|
[1.4.1]: https://github.com/ManageIQ/manageiq-messaging/compare/v1.4.0...v1.4.1
|
@@ -32,7 +32,7 @@ module ManageIQ
|
|
32
32
|
class Client
|
33
33
|
# Open or create a connection to the message broker.
|
34
34
|
# Expected +options+ keys are:
|
35
|
-
# * :protocol (Implemented: 'Stomp', 'Kafka'
|
35
|
+
# * :protocol (Implemented: 'Stomp', 'Kafka')
|
36
36
|
# * :host (hostname or IP address of the messaging broker)
|
37
37
|
# * :port (host port number)
|
38
38
|
# * :username (optional)
|
@@ -44,8 +44,14 @@ module ManageIQ
|
|
44
44
|
#
|
45
45
|
# Returns a +Client+ instance if no block is given.
|
46
46
|
def self.open(options)
|
47
|
-
protocol = options[:protocol]
|
48
|
-
|
47
|
+
protocol = options[:protocol]
|
48
|
+
raise ArgumentError, "Missing protocol" if protocol.nil?
|
49
|
+
|
50
|
+
client = begin
|
51
|
+
Object.const_get("ManageIQ::Messaging::#{protocol}::Client").new(options)
|
52
|
+
rescue NameError
|
53
|
+
raise ArgumentError, "Invalid protocol: #{protocol}"
|
54
|
+
end
|
49
55
|
|
50
56
|
return client unless block_given?
|
51
57
|
|
data/renovate.json
CHANGED
metadata
CHANGED
@@ -1,14 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: manageiq-messaging
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 2.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- ManageIQ Authors
|
8
|
-
autorequire:
|
9
8
|
bindir: exe
|
10
9
|
cert_chain: []
|
11
|
-
date:
|
10
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
12
11
|
dependencies:
|
13
12
|
- !ruby/object:Gem::Dependency
|
14
13
|
name: activesupport
|
@@ -130,7 +129,6 @@ dependencies:
|
|
130
129
|
version: 0.21.2
|
131
130
|
description: Client library for ManageIQ components to exchange messages through its
|
132
131
|
internal message bus.
|
133
|
-
email:
|
134
132
|
executables: []
|
135
133
|
extensions: []
|
136
134
|
extra_rdoc_files: []
|
@@ -183,7 +181,6 @@ metadata:
|
|
183
181
|
changelog_uri: https://github.com/ManageIQ/manageiq-messaging/blob/master/CHANGELOG.md
|
184
182
|
source_code_uri: https://github.com/ManageIQ/manageiq-messaging/
|
185
183
|
bug_tracker_uri: https://github.com/ManageIQ/manageiq-messaging/issues
|
186
|
-
post_install_message:
|
187
184
|
rdoc_options: []
|
188
185
|
require_paths:
|
189
186
|
- lib
|
@@ -198,8 +195,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
198
195
|
- !ruby/object:Gem::Version
|
199
196
|
version: '0'
|
200
197
|
requirements: []
|
201
|
-
rubygems_version: 3.
|
202
|
-
signing_key:
|
198
|
+
rubygems_version: 3.6.7
|
203
199
|
specification_version: 4
|
204
200
|
summary: Client library for ManageIQ components to exchange messages through its internal
|
205
201
|
message bus.
|