eventhub-processor2 1.24.0 → 1.24.1
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/.github/workflows/cd.yml +11 -12
- data/.github/workflows/ci.yml +2 -13
- data/.tool-versions +1 -1
- data/CHANGELOG.md +4 -0
- data/README.md +13 -7
- data/example/publisher.rb +1 -0
- data/lib/eventhub/actor_heartbeat.rb +1 -0
- data/lib/eventhub/actor_listener_amqp.rb +1 -0
- data/lib/eventhub/actor_listener_http.rb +1 -0
- data/lib/eventhub/actor_publisher.rb +1 -0
- data/lib/eventhub/actor_watchdog.rb +1 -0
- data/lib/eventhub/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 7a9c03f6720ab3b41421ae137e80736d1c63e732eb2fb8a633b8500269048d30
|
|
4
|
+
data.tar.gz: cf8a8af9693621f3fbf800c331af75a28a0705ed4310b47b0c2a93c5335c5bb2
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: dbfc6d4d04b81aa95f9478226b337021b7c079ec9edf28ca0a960f02dca124642ca0e092ecd06f70ab70dc43d5584d50271690592ecc8477b8aba7349507ffe1
|
|
7
|
+
data.tar.gz: d7629e80f7cec78d30a1629e35264e9c419f3ebdbbebdba73b3636d201ea407576c43a271c9d6e709f9e9af9b1aa2447de9407733eb34bb777de5ba512a50044
|
data/.github/workflows/cd.yml
CHANGED
|
@@ -1,16 +1,21 @@
|
|
|
1
1
|
name: cd
|
|
2
2
|
|
|
3
3
|
on:
|
|
4
|
-
|
|
4
|
+
push:
|
|
5
|
+
tags:
|
|
6
|
+
- 'v*'
|
|
5
7
|
|
|
6
8
|
jobs:
|
|
7
9
|
|
|
8
10
|
build:
|
|
9
11
|
runs-on: ubuntu-latest
|
|
12
|
+
permissions:
|
|
13
|
+
id-token: write # Required for OIDC
|
|
14
|
+
contents: write # Required for pushing tags
|
|
10
15
|
|
|
11
16
|
steps:
|
|
12
17
|
- name: Checkout current code
|
|
13
|
-
uses: actions/checkout@
|
|
18
|
+
uses: actions/checkout@v5
|
|
14
19
|
|
|
15
20
|
- name: Set up Ruby
|
|
16
21
|
uses: ruby/setup-ruby@v1
|
|
@@ -19,14 +24,8 @@ jobs:
|
|
|
19
24
|
bundler-cache: true
|
|
20
25
|
cache-version: 1
|
|
21
26
|
|
|
27
|
+
- name: Build gem
|
|
28
|
+
run: gem build *.gemspec
|
|
29
|
+
|
|
22
30
|
- name: Push to Rubygems
|
|
23
|
-
|
|
24
|
-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
25
|
-
run: |
|
|
26
|
-
git config --global user.email "thomas.steiner@ikey.ch"
|
|
27
|
-
git config --global user.name "thomis"
|
|
28
|
-
mkdir ~/.gem
|
|
29
|
-
echo -e "---\n:rubygems_api_key: ${{ secrets.RUBYGEMS_API_KEY }}" > ~/.gem/credentials
|
|
30
|
-
chmod 600 ~/.gem/credentials
|
|
31
|
-
bundle exec rake release
|
|
32
|
-
rm ~/.gem/credentials
|
|
31
|
+
uses: rubygems/release-gem@v1
|
data/.github/workflows/ci.yml
CHANGED
|
@@ -23,11 +23,11 @@ jobs:
|
|
|
23
23
|
strategy:
|
|
24
24
|
fail-fast: false
|
|
25
25
|
matrix:
|
|
26
|
-
ruby: [ '3.4', '3.3', '3.2'
|
|
26
|
+
ruby: [ '3.4', '3.3', '3.2']
|
|
27
27
|
|
|
28
28
|
name: Ruby ${{ matrix.ruby }}
|
|
29
29
|
steps:
|
|
30
|
-
- uses: actions/checkout@
|
|
30
|
+
- uses: actions/checkout@v5
|
|
31
31
|
|
|
32
32
|
- name: Set up Ruby
|
|
33
33
|
uses: ruby/setup-ruby@v1
|
|
@@ -42,17 +42,6 @@ jobs:
|
|
|
42
42
|
cd docker && docker build -t processor-rabbitmq .
|
|
43
43
|
docker run -d -p 5672:5672 -p 15672:15672 --name processor-rabbitmq processor-rabbitmq
|
|
44
44
|
|
|
45
|
-
- name: Code Climate setup test reporter
|
|
46
|
-
run: |
|
|
47
|
-
curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
|
|
48
|
-
chmod +x ./cc-test-reporter
|
|
49
|
-
./cc-test-reporter before-build
|
|
50
|
-
|
|
51
45
|
- name: Run default task
|
|
52
46
|
run: |
|
|
53
47
|
bundle exec rake
|
|
54
|
-
|
|
55
|
-
- name: Code Climate publish test coverage
|
|
56
|
-
run: |
|
|
57
|
-
./cc-test-reporter after-build
|
|
58
|
-
if: github.event_name != 'pull_request'
|
data/.tool-versions
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
ruby 3.4.
|
|
1
|
+
ruby 3.4.7
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
|
@@ -1,6 +1,4 @@
|
|
|
1
1
|
[](https://badge.fury.io/rb/eventhub-processor2)
|
|
2
|
-
[](https://codeclimate.com/github/thomis/eventhub-processor2/maintainability)
|
|
3
|
-
[](https://codeclimate.com/github/thomis/eventhub-processor2/test_coverage)
|
|
4
2
|
[](https://github.com/thomis/eventhub-processor2/actions/workflows/ci.yml)
|
|
5
3
|
|
|
6
4
|
# EventHub::Processor2
|
|
@@ -20,11 +18,13 @@ Processor2 is using Bunny http://rubybunny.info a feature complete RabbitMQ Clie
|
|
|
20
18
|
|
|
21
19
|
Currently supported and tested ruby versions are:
|
|
22
20
|
|
|
23
|
-
- 3.4
|
|
24
|
-
- 3.3
|
|
25
|
-
- 3.2
|
|
26
|
-
|
|
27
|
-
|
|
21
|
+
- 3.4 (EOL 2028-03-31)
|
|
22
|
+
- 3.3 (EOL 2027-03-31)
|
|
23
|
+
- 3.2 (EOL 2026-03-31)
|
|
24
|
+
|
|
25
|
+
Ruby versions not tested anymore:
|
|
26
|
+
- 3.1 (EOL 2025-03-31)
|
|
27
|
+
- 3.0 (EOL 2024-04-23)
|
|
28
28
|
|
|
29
29
|
## Installation
|
|
30
30
|
|
|
@@ -246,6 +246,12 @@ Final configuration result
|
|
|
246
246
|
|
|
247
247
|
To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
|
|
248
248
|
|
|
249
|
+
## Publishing
|
|
250
|
+
|
|
251
|
+
This project uses [Trusted Publishing](https://guides.rubygems.org/trusted-publishing/) to securely publish gems to RubyGems.org. Trusted Publishing eliminates the need for long-lived API tokens by using OpenID Connect (OIDC) to establish a trusted relationship between GitHub Actions and RubyGems.org.
|
|
252
|
+
|
|
253
|
+
With Trusted Publishing configured, gem releases are automatically published to RubyGems when the release workflow runs, providing a more secure and streamlined publishing process.
|
|
254
|
+
|
|
249
255
|
## Contributing
|
|
250
256
|
|
|
251
257
|
Bug reports and pull requests are welcome on GitHub at https://github.com/thomis/eventhub-processor2.
|
data/example/publisher.rb
CHANGED
data/lib/eventhub/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: eventhub-processor2
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.24.
|
|
4
|
+
version: 1.24.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Steiner, Thomas
|
|
@@ -248,7 +248,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
248
248
|
- !ruby/object:Gem::Version
|
|
249
249
|
version: '0'
|
|
250
250
|
requirements: []
|
|
251
|
-
rubygems_version: 3.6.
|
|
251
|
+
rubygems_version: 3.6.9
|
|
252
252
|
specification_version: 4
|
|
253
253
|
summary: Next generation gem to build ruby based eventhub processor
|
|
254
254
|
test_files: []
|