manageiq-messaging 1.1.0 → 1.1.2
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 +37 -0
- data/.rspec +2 -1
- data/CHANGELOG.md +82 -0
- data/README.md +1 -1
- data/lib/manageiq/messaging/kafka/common.rb +1 -1
- data/lib/manageiq/messaging/version.rb +1 -1
- data/manageiq-messaging.gemspec +9 -5
- metadata +16 -27
- data/.travis.yml +0 -11
- data/CHANGES +0 -36
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 191fa67428995db65820476da103a6e5aec0d9dd9c39197f4f66acea13503d2e
|
4
|
+
data.tar.gz: 07fd94d6722e61ea6518d52fd2352b6f2e7b432313af30a30715805af4800a1e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d3be8c5b3346bed57d236b2e5ce56524fc0f5777e650c2dbe5efe428832b29e028e27037d484c47dddb0598b15c6b1aedaae7bff02841ca51880eb03a4dd8346
|
7
|
+
data.tar.gz: 6520395f34a358aff5aa447345ad8f9ea335fdf961bb9a929cebaa25c0daa9e97e1a8e23dabaea056929ae8543beac62de59de0cb63104ad2831284009f86ddd
|
@@ -0,0 +1,37 @@
|
|
1
|
+
name: CI
|
2
|
+
|
3
|
+
on:
|
4
|
+
push:
|
5
|
+
pull_request:
|
6
|
+
schedule:
|
7
|
+
- cron: '0 0 * * 0'
|
8
|
+
|
9
|
+
jobs:
|
10
|
+
ci:
|
11
|
+
runs-on: ubuntu-latest
|
12
|
+
strategy:
|
13
|
+
matrix:
|
14
|
+
ruby-version:
|
15
|
+
- '2.6'
|
16
|
+
- '2.7'
|
17
|
+
- '3.0'
|
18
|
+
rails-version:
|
19
|
+
- '6.0'
|
20
|
+
- '6.1'
|
21
|
+
env:
|
22
|
+
TEST_RAILS_VERSION: ${{ matrix.rails-version }}
|
23
|
+
CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }}
|
24
|
+
steps:
|
25
|
+
- uses: actions/checkout@v2
|
26
|
+
- name: Set up Ruby
|
27
|
+
uses: ruby/setup-ruby@v1
|
28
|
+
with:
|
29
|
+
ruby-version: ${{ matrix.ruby-version }}
|
30
|
+
bundler-cache: true
|
31
|
+
timeout-minutes: 30
|
32
|
+
- name: Run tests
|
33
|
+
run: bundle exec rake
|
34
|
+
- name: Report code coverage
|
35
|
+
if: ${{ github.ref == 'refs/heads/master' && matrix.ruby-version == '3.0' && matrix.rails-version == '6.1' }}
|
36
|
+
continue-on-error: true
|
37
|
+
uses: paambaati/codeclimate-action@v3.0.0
|
data/.rspec
CHANGED
data/CHANGELOG.md
ADDED
@@ -0,0 +1,82 @@
|
|
1
|
+
# Change Log
|
2
|
+
All notable changes to this project will be documented in this file.
|
3
|
+
|
4
|
+
The format is based on [Keep a Changelog](http://keepachangelog.com/)
|
5
|
+
and this project adheres to [Semantic Versioning](http://semver.org/).
|
6
|
+
|
7
|
+
## [Unreleased]
|
8
|
+
|
9
|
+
## [1.1.2] - 6-Oct-2022
|
10
|
+
|
11
|
+
* Fix kafka publish_topic on ruby3 [#74](https://github.com/ManageIQ/manageiq-messaging/pull/74)
|
12
|
+
|
13
|
+
## [1.1.1] - 6-May-2022
|
14
|
+
|
15
|
+
* Ruby 3.0 support [#71](https://github.com/ManageIQ/manageiq-messaging/pull/71)
|
16
|
+
|
17
|
+
## [1.1.0] - 09-Feb-2022
|
18
|
+
|
19
|
+
* Allow rails 6.1 [#66](https://github.com/ManageIQ/manageiq-messaging/pull/66)
|
20
|
+
|
21
|
+
## [1.0.3] - 12-May-2021
|
22
|
+
|
23
|
+
* Allow bulk publish of messages to a topic
|
24
|
+
|
25
|
+
## [1.0.2] - 4-Jan-2021
|
26
|
+
|
27
|
+
* Rails 6.0 Support
|
28
|
+
|
29
|
+
## [1.0.1] - 15-Dec-2020
|
30
|
+
|
31
|
+
* Allow all kafka options to be passed
|
32
|
+
* remove sudo:false from .travis.yml
|
33
|
+
* Use manageiq-style
|
34
|
+
|
35
|
+
## [1.0.0] - 28-Sep-2020
|
36
|
+
|
37
|
+
* Switch to use rdkafka client
|
38
|
+
|
39
|
+
## [0.1.7] - 14-May-2021
|
40
|
+
|
41
|
+
* Loosen ActiveSupport dependency to ~> 5.2
|
42
|
+
|
43
|
+
## [0.1.6] - 6-July-2020
|
44
|
+
|
45
|
+
* Rescue message body decoding errors. Re-raise errors raised by users code of processing received messages.
|
46
|
+
|
47
|
+
## [0.1.5] - 6-Jun-2019
|
48
|
+
|
49
|
+
* Allow caller to provide extra headers to the message
|
50
|
+
|
51
|
+
## [0.1.4] - 3-Apr-2019
|
52
|
+
|
53
|
+
* Add an #ack method to a ReceivedMessage to simplify manual acknowledgements
|
54
|
+
* Allow caller to provide a session_timeout to kafka consumers, default of 30sec
|
55
|
+
|
56
|
+
## [0.1.3] - 25-Feb-2019
|
57
|
+
|
58
|
+
## 0.1.2 - 11-Dec-2018
|
59
|
+
|
60
|
+
* Allow to set max_bytes to each_batch when subscribe to a Kafka topic.
|
61
|
+
|
62
|
+
## 0.1.1 - 20-Nov-2018
|
63
|
+
|
64
|
+
* By default upon receiving a message or an event, it is automatically acknowledged. But
|
65
|
+
the subscriber can decide to turn off the auto ack feature and ack it in the callback block.
|
66
|
+
|
67
|
+
## 0.1.0 - 4-Oct-2018
|
68
|
+
|
69
|
+
* Initial release
|
70
|
+
|
71
|
+
[Unreleased]: https://github.com/ManageIQ/manageiq-messaging/compare/v1.1.1...HEAD
|
72
|
+
[1.1.1]: https://github.com/ManageIQ/manageiq-messaging/compare/v1.1.0...v1.1.1
|
73
|
+
[1.1.0]: https://github.com/ManageIQ/manageiq-messaging/compare/v1.0.3...v1.1.0
|
74
|
+
[1.0.3]: https://github.com/ManageIQ/manageiq-messaging/compare/v1.0.2...v1.0.3
|
75
|
+
[1.0.2]: https://github.com/ManageIQ/manageiq-messaging/compare/v1.0.1...v1.0.2
|
76
|
+
[1.0.1]: https://github.com/ManageIQ/manageiq-messaging/compare/v1.0.0...v1.0.1
|
77
|
+
[1.0.0]: https://github.com/ManageIQ/manageiq-messaging/compare/v0.1.7...v1.0.0
|
78
|
+
[0.1.7]: https://github.com/ManageIQ/manageiq-messaging/compare/v0.1.6...v0.1.7
|
79
|
+
[0.1.6]: https://github.com/ManageIQ/manageiq-messaging/compare/v0.1.5...v0.1.6
|
80
|
+
[0.1.5]: https://github.com/ManageIQ/manageiq-messaging/compare/v0.1.4...v0.1.5
|
81
|
+
[0.1.4]: https://github.com/ManageIQ/manageiq-messaging/compare/v0.1.3...v0.1.4
|
82
|
+
|
data/README.md
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
# ManageIQ Messaging Client
|
2
2
|
|
3
3
|
[![Gem Version](https://badge.fury.io/rb/manageiq-messaging.svg)](http://badge.fury.io/rb/manageiq-messaging)
|
4
|
-
[![
|
4
|
+
[![CI](https://github.com/ManageIQ/manageiq-messaging/actions/workflows/ci.yaml/badge.svg)](https://github.com/ManageIQ/manageiq-messaging/actions/workflows/ci.yaml)
|
5
5
|
[![Code Climate](https://codeclimate.com/github/ManageIQ/manageiq-messaging.svg)](https://codeclimate.com/github/ManageIQ/manageiq-messaging)
|
6
6
|
[![Test Coverage](https://codeclimate.com/github/ManageIQ/manageiq-messaging/badges/coverage.svg)](https://codeclimate.com/github/ManageIQ/manageiq-messaging/coverage)
|
7
7
|
|
data/manageiq-messaging.gemspec
CHANGED
@@ -11,12 +11,17 @@ Gem::Specification.new do |spec|
|
|
11
11
|
|
12
12
|
spec.summary = 'Client library for ManageIQ components to exchange messages through its internal message bus.'
|
13
13
|
spec.description = 'Client library for ManageIQ components to exchange messages through its internal message bus.'
|
14
|
-
spec.homepage = '
|
14
|
+
spec.homepage = 'https://github.com/ManageIQ/manageiq-messaging'
|
15
15
|
spec.license = 'MIT'
|
16
16
|
|
17
17
|
spec.files = `git ls-files -z`.split("\x0").reject do |f|
|
18
18
|
f.match(%r{^(test|spec|features)/})
|
19
19
|
end
|
20
|
+
spec.metadata = {
|
21
|
+
"changelog_uri" => "https://github.com/ManageIQ/manageiq-messaging/blob/master/CHANGELOG.md",
|
22
|
+
"source_code_uri" => "https://github.com/ManageIQ/manageiq-messaging/",
|
23
|
+
"bug_tracker_uri" => "https://github.com/ManageIQ/manageiq-messaging/issues"
|
24
|
+
}
|
20
25
|
spec.bindir = "exe"
|
21
26
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
22
27
|
spec.require_paths = ["lib"]
|
@@ -26,9 +31,8 @@ Gem::Specification.new do |spec|
|
|
26
31
|
spec.add_dependency 'stomp', '~> 1.4.4'
|
27
32
|
|
28
33
|
spec.add_development_dependency "bundler"
|
29
|
-
spec.add_development_dependency "codeclimate-test-reporter", "~> 1.0.0"
|
30
34
|
spec.add_development_dependency "manageiq-style"
|
31
|
-
spec.add_development_dependency "rake",
|
32
|
-
spec.add_development_dependency "rspec",
|
33
|
-
spec.add_development_dependency "simplecov"
|
35
|
+
spec.add_development_dependency "rake", ">= 12.3.3"
|
36
|
+
spec.add_development_dependency "rspec", "~> 3.0"
|
37
|
+
spec.add_development_dependency "simplecov", ">= 0.21.2"
|
34
38
|
end
|
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.1.
|
4
|
+
version: 1.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- ManageIQ Authors
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-10-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|
@@ -72,20 +72,6 @@ dependencies:
|
|
72
72
|
- - ">="
|
73
73
|
- !ruby/object:Gem::Version
|
74
74
|
version: '0'
|
75
|
-
- !ruby/object:Gem::Dependency
|
76
|
-
name: codeclimate-test-reporter
|
77
|
-
requirement: !ruby/object:Gem::Requirement
|
78
|
-
requirements:
|
79
|
-
- - "~>"
|
80
|
-
- !ruby/object:Gem::Version
|
81
|
-
version: 1.0.0
|
82
|
-
type: :development
|
83
|
-
prerelease: false
|
84
|
-
version_requirements: !ruby/object:Gem::Requirement
|
85
|
-
requirements:
|
86
|
-
- - "~>"
|
87
|
-
- !ruby/object:Gem::Version
|
88
|
-
version: 1.0.0
|
89
75
|
- !ruby/object:Gem::Dependency
|
90
76
|
name: manageiq-style
|
91
77
|
requirement: !ruby/object:Gem::Requirement
|
@@ -134,30 +120,30 @@ dependencies:
|
|
134
120
|
requirements:
|
135
121
|
- - ">="
|
136
122
|
- !ruby/object:Gem::Version
|
137
|
-
version:
|
123
|
+
version: 0.21.2
|
138
124
|
type: :development
|
139
125
|
prerelease: false
|
140
126
|
version_requirements: !ruby/object:Gem::Requirement
|
141
127
|
requirements:
|
142
128
|
- - ">="
|
143
129
|
- !ruby/object:Gem::Version
|
144
|
-
version:
|
130
|
+
version: 0.21.2
|
145
131
|
description: Client library for ManageIQ components to exchange messages through its
|
146
132
|
internal message bus.
|
147
|
-
email:
|
133
|
+
email:
|
148
134
|
executables: []
|
149
135
|
extensions: []
|
150
136
|
extra_rdoc_files: []
|
151
137
|
files:
|
152
138
|
- ".codeclimate.yml"
|
139
|
+
- ".github/workflows/ci.yaml"
|
153
140
|
- ".gitignore"
|
154
141
|
- ".rspec"
|
155
142
|
- ".rubocop.yml"
|
156
143
|
- ".rubocop_cc.yml"
|
157
144
|
- ".rubocop_local.yml"
|
158
|
-
- ".travis.yml"
|
159
145
|
- ".whitesource"
|
160
|
-
-
|
146
|
+
- CHANGELOG.md
|
161
147
|
- CODE_OF_CONDUCT.md
|
162
148
|
- Gemfile
|
163
149
|
- LICENSE.txt
|
@@ -189,11 +175,14 @@ files:
|
|
189
175
|
- lib/manageiq/messaging/stomp/topic.rb
|
190
176
|
- lib/manageiq/messaging/version.rb
|
191
177
|
- manageiq-messaging.gemspec
|
192
|
-
homepage:
|
178
|
+
homepage: https://github.com/ManageIQ/manageiq-messaging
|
193
179
|
licenses:
|
194
180
|
- MIT
|
195
|
-
metadata:
|
196
|
-
|
181
|
+
metadata:
|
182
|
+
changelog_uri: https://github.com/ManageIQ/manageiq-messaging/blob/master/CHANGELOG.md
|
183
|
+
source_code_uri: https://github.com/ManageIQ/manageiq-messaging/
|
184
|
+
bug_tracker_uri: https://github.com/ManageIQ/manageiq-messaging/issues
|
185
|
+
post_install_message:
|
197
186
|
rdoc_options: []
|
198
187
|
require_paths:
|
199
188
|
- lib
|
@@ -208,8 +197,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
208
197
|
- !ruby/object:Gem::Version
|
209
198
|
version: '0'
|
210
199
|
requirements: []
|
211
|
-
rubygems_version: 3.3.
|
212
|
-
signing_key:
|
200
|
+
rubygems_version: 3.3.15
|
201
|
+
signing_key:
|
213
202
|
specification_version: 4
|
214
203
|
summary: Client library for ManageIQ components to exchange messages through its internal
|
215
204
|
message bus.
|
data/.travis.yml
DELETED
data/CHANGES
DELETED
@@ -1,36 +0,0 @@
|
|
1
|
-
= 0.1.0 - 4-Oct-2018
|
2
|
-
* Initial release
|
3
|
-
|
4
|
-
= 0.1.1 - 20-Nov-2018
|
5
|
-
* By default upon receiving a message or an event, it is automatically acknowledged. But
|
6
|
-
the subscriber can decide to turn off the auto ack feature and ack it in the callback block.
|
7
|
-
|
8
|
-
= 0.1.2 - 11-Dec-2018
|
9
|
-
* Allow to set max_bytes to each_batch when subscribe to a Kafka topic.
|
10
|
-
|
11
|
-
= 0.1.4 - 3-Apr-2019
|
12
|
-
* Add an #ack method to a ReceivedMessage to simplify manual acknowledgements
|
13
|
-
* Allow caller to provide a session_timeout to kafka consumers, default of 30sec
|
14
|
-
|
15
|
-
= 0.1.5 - 6-Jun-2019
|
16
|
-
* Allow caller to provide extra headers to the message
|
17
|
-
|
18
|
-
= 0.1.6 - 6-July-2020
|
19
|
-
* Rescue message body decoding errors. Re-raise errors raised by users code of processing received messages.
|
20
|
-
|
21
|
-
= 1.0.0 - 28-Sep-2020
|
22
|
-
* Switch to use rdkafka client
|
23
|
-
|
24
|
-
= 1.0.1 - 15-Dec-2020
|
25
|
-
* Allow all kafka options to be passed
|
26
|
-
* remove sudo:false from .travis.yml
|
27
|
-
* Use manageiq-style
|
28
|
-
|
29
|
-
= 1.0.2 - 4-Jan-2021
|
30
|
-
* Rails 6.0 Support
|
31
|
-
|
32
|
-
= 1.0.3 - 12-May-2021
|
33
|
-
* Allow bulk publish of messages to a topic
|
34
|
-
|
35
|
-
= 1.1.0 - 09-Feb-2022
|
36
|
-
* Allow rails 6.1
|