manageiq-messaging 1.1.0 → 1.1.1
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 +36 -0
- data/.rspec +2 -1
- data/CHANGELOG.md +78 -0
- data/README.md +1 -1
- data/lib/manageiq/messaging/version.rb +1 -1
- data/manageiq-messaging.gemspec +9 -5
- metadata +15 -26
- 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: f305d2c3c254dc42831ab6d12154fa65edeedc3461fbf88bfa77166e68613702
|
4
|
+
data.tar.gz: 939165f57c4671312398de35cec92781d5f97a82c08a584e7a0da727e2ed2eca
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 14e817bf9ee97c577b866a49989b8041c96c8ec2f9949aace412c3065e5143f6bac18ffae0569b8ff87506dc33604349b2a79e4ed62edbf44820e7ebcae9bcfe
|
7
|
+
data.tar.gz: a8d5a83c36de5a9290573e893fcbd97468ef47700e96ec499cce1649e4dc68090a6d3fdb43acdf1a4a7b4ce62f8daa49f469db1b2f7b7be721e46122fda04f9b
|
@@ -0,0 +1,36 @@
|
|
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
|
+
- name: Run tests
|
32
|
+
run: bundle exec rake
|
33
|
+
- name: Report code coverage
|
34
|
+
if: ${{ github.ref == 'refs/heads/master' && matrix.ruby-version == '3.0' && matrix.rails-version == '6.1' }}
|
35
|
+
continue-on-error: true
|
36
|
+
uses: paambaati/codeclimate-action@v3.0.0
|
data/.rspec
CHANGED
data/CHANGELOG.md
ADDED
@@ -0,0 +1,78 @@
|
|
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.1] - 6-May-2022
|
10
|
+
|
11
|
+
* Ruby 3.0 support [#71](https://github.com/ManageIQ/manageiq-messaging/pull/71)
|
12
|
+
|
13
|
+
## [1.1.0] - 09-Feb-2022
|
14
|
+
|
15
|
+
* Allow rails 6.1 [#66](https://github.com/ManageIQ/manageiq-messaging/pull/66)
|
16
|
+
|
17
|
+
## [1.0.3] - 12-May-2021
|
18
|
+
|
19
|
+
* Allow bulk publish of messages to a topic
|
20
|
+
|
21
|
+
## [1.0.2] - 4-Jan-2021
|
22
|
+
|
23
|
+
* Rails 6.0 Support
|
24
|
+
|
25
|
+
## [1.0.1] - 15-Dec-2020
|
26
|
+
|
27
|
+
* Allow all kafka options to be passed
|
28
|
+
* remove sudo:false from .travis.yml
|
29
|
+
* Use manageiq-style
|
30
|
+
|
31
|
+
## [1.0.0] - 28-Sep-2020
|
32
|
+
|
33
|
+
* Switch to use rdkafka client
|
34
|
+
|
35
|
+
## [0.1.7] - 14-May-2021
|
36
|
+
|
37
|
+
* Loosen ActiveSupport dependency to ~> 5.2
|
38
|
+
|
39
|
+
## [0.1.6] - 6-July-2020
|
40
|
+
|
41
|
+
* Rescue message body decoding errors. Re-raise errors raised by users code of processing received messages.
|
42
|
+
|
43
|
+
## [0.1.5] - 6-Jun-2019
|
44
|
+
|
45
|
+
* Allow caller to provide extra headers to the message
|
46
|
+
|
47
|
+
## [0.1.4] - 3-Apr-2019
|
48
|
+
|
49
|
+
* Add an #ack method to a ReceivedMessage to simplify manual acknowledgements
|
50
|
+
* Allow caller to provide a session_timeout to kafka consumers, default of 30sec
|
51
|
+
|
52
|
+
## [0.1.3] - 25-Feb-2019
|
53
|
+
|
54
|
+
## 0.1.2 - 11-Dec-2018
|
55
|
+
|
56
|
+
* Allow to set max_bytes to each_batch when subscribe to a Kafka topic.
|
57
|
+
|
58
|
+
## 0.1.1 - 20-Nov-2018
|
59
|
+
|
60
|
+
* By default upon receiving a message or an event, it is automatically acknowledged. But
|
61
|
+
the subscriber can decide to turn off the auto ack feature and ack it in the callback block.
|
62
|
+
|
63
|
+
## 0.1.0 - 4-Oct-2018
|
64
|
+
|
65
|
+
* Initial release
|
66
|
+
|
67
|
+
[Unreleased]: https://github.com/ManageIQ/manageiq-messaging/compare/v1.1.1...HEAD
|
68
|
+
[1.1.1]: https://github.com/ManageIQ/manageiq-messaging/compare/v1.1.0...v1.1.1
|
69
|
+
[1.1.0]: https://github.com/ManageIQ/manageiq-messaging/compare/v1.0.3...v1.1.0
|
70
|
+
[1.0.3]: https://github.com/ManageIQ/manageiq-messaging/compare/v1.0.2...v1.0.3
|
71
|
+
[1.0.2]: https://github.com/ManageIQ/manageiq-messaging/compare/v1.0.1...v1.0.2
|
72
|
+
[1.0.1]: https://github.com/ManageIQ/manageiq-messaging/compare/v1.0.0...v1.0.1
|
73
|
+
[1.0.0]: https://github.com/ManageIQ/manageiq-messaging/compare/v0.1.7...v1.0.0
|
74
|
+
[0.1.7]: https://github.com/ManageIQ/manageiq-messaging/compare/v0.1.6...v0.1.7
|
75
|
+
[0.1.6]: https://github.com/ManageIQ/manageiq-messaging/compare/v0.1.5...v0.1.6
|
76
|
+
[0.1.5]: https://github.com/ManageIQ/manageiq-messaging/compare/v0.1.4...v0.1.5
|
77
|
+
[0.1.4]: https://github.com/ManageIQ/manageiq-messaging/compare/v0.1.3...v0.1.4
|
78
|
+
|
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.1
|
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-05-05 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
|
@@ -209,7 +198,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
209
198
|
version: '0'
|
210
199
|
requirements: []
|
211
200
|
rubygems_version: 3.3.5
|
212
|
-
signing_key:
|
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
|