eventhub-processor2 1.10.0 → 1.13.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/dependabot.yml +6 -0
- data/.github/workflows/cd.yml +32 -0
- data/.github/workflows/ci.yml +58 -0
- data/.gitignore +2 -0
- data/CHANGELOG.md +21 -0
- data/Gemfile.lock +50 -42
- data/README.md +10 -1
- data/docker/Dockerfile +1 -1
- data/docker/definitions.json +2 -2
- data/docker/docker-compose.yml +1 -1
- data/eventhub-processor2.gemspec +4 -7
- data/example/publisher.rb +2 -2
- data/lib/eventhub/actor_heartbeat.rb +1 -1
- data/lib/eventhub/actor_listener.rb +7 -7
- data/lib/eventhub/actor_publisher.rb +1 -1
- data/lib/eventhub/configuration.rb +2 -2
- data/lib/eventhub/message.rb +2 -2
- data/lib/eventhub/version.rb +1 -1
- metadata +18 -17
- data/.ruby-version +0 -1
- data/.travis.yml +0 -36
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 59fa22757dfa048d6f813dc8f91af801656ca3aea9c3a48d676d456c344cab72
|
4
|
+
data.tar.gz: 8f5758e729ed2af3fd7c2d05be0b030e607dd1498ac39f60f62d6ffe82e720e5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3506d6c2fb6a520f160b416cc44786dd85108256e7a426fc8f6d8b167bcd222eeb76c8576bc92c63b11c5001907e3dd09720dbe8dc0fb7995fa1048b037c31ab
|
7
|
+
data.tar.gz: 755339a3b10ec81c84abf9482f60e30a16b302712b69d7d56ebd59ed797b1f037991606270c9ed0f7964593e0b2e484b7226a51fe4cf9d5556a9369afc9f540f
|
@@ -0,0 +1,32 @@
|
|
1
|
+
name: cd
|
2
|
+
|
3
|
+
on:
|
4
|
+
workflow_dispatch:
|
5
|
+
|
6
|
+
jobs:
|
7
|
+
|
8
|
+
build:
|
9
|
+
runs-on: ubuntu-latest
|
10
|
+
|
11
|
+
steps:
|
12
|
+
- name: Checkout current code
|
13
|
+
uses: actions/checkout@v2
|
14
|
+
|
15
|
+
- name: Set up Ruby
|
16
|
+
uses: ruby/setup-ruby@v1
|
17
|
+
with:
|
18
|
+
ruby-version: '3.1'
|
19
|
+
bundler-cache: true
|
20
|
+
cache-version: 1
|
21
|
+
|
22
|
+
- name: Push to Rubygems
|
23
|
+
env:
|
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
|
@@ -0,0 +1,58 @@
|
|
1
|
+
name: ci
|
2
|
+
|
3
|
+
on:
|
4
|
+
push:
|
5
|
+
branches:
|
6
|
+
- "*"
|
7
|
+
|
8
|
+
pull_request:
|
9
|
+
branches:
|
10
|
+
- "*"
|
11
|
+
|
12
|
+
schedule:
|
13
|
+
- cron: 0 2 * * *
|
14
|
+
|
15
|
+
# Allows you to run this workflow manually from the Actions tab
|
16
|
+
workflow_dispatch:
|
17
|
+
|
18
|
+
jobs:
|
19
|
+
build:
|
20
|
+
runs-on: ubuntu-latest
|
21
|
+
env:
|
22
|
+
CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }}
|
23
|
+
strategy:
|
24
|
+
fail-fast: false
|
25
|
+
matrix:
|
26
|
+
ruby: [ '3.1', '3.0', '2.7', '2.6']
|
27
|
+
|
28
|
+
name: Ruby ${{ matrix.ruby }}
|
29
|
+
steps:
|
30
|
+
- uses: actions/checkout@v1
|
31
|
+
|
32
|
+
- name: Set up Ruby
|
33
|
+
uses: ruby/setup-ruby@v1
|
34
|
+
with:
|
35
|
+
ruby-version: ${{ matrix.ruby }}
|
36
|
+
bundler: latest
|
37
|
+
bundler-cache: true
|
38
|
+
cache-version: 1
|
39
|
+
|
40
|
+
- name: Setup RabbitMQ
|
41
|
+
run: |
|
42
|
+
cd docker && docker build -t processor-rabbitmq .
|
43
|
+
docker run -d -p 5672:5672 -p 15672:15672 --name processor-rabbitmq processor-rabbitmq
|
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
|
+
- name: Run default task
|
52
|
+
run: |
|
53
|
+
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/.gitignore
CHANGED
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,26 @@
|
|
1
1
|
# Changelog of EventHub::Processor2
|
2
2
|
|
3
|
+
## 1.13.0 / 2022-08-01
|
4
|
+
|
5
|
+
* Updated gem dependencies
|
6
|
+
|
7
|
+
## 1.12.0 / 2022-07-26
|
8
|
+
|
9
|
+
* Updated gem dependencies
|
10
|
+
* Move to GitHub actions
|
11
|
+
* Add Dependabot to keep dependencies up-to-date
|
12
|
+
* Format corrections
|
13
|
+
* Remove support for ruby 2.5
|
14
|
+
|
15
|
+
## 1.11.0 / 2021-05-01
|
16
|
+
|
17
|
+
* Updated gem dependencies
|
18
|
+
|
19
|
+
## 1.10.0 / 2021-03-11
|
20
|
+
|
21
|
+
* Updated to have less log noise
|
22
|
+
* Updated to stable tests
|
23
|
+
|
3
24
|
## 1.9.0 / 2021-02-26
|
4
25
|
|
5
26
|
* Updated gem dependencies
|
data/Gemfile.lock
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
eventhub-processor2 (1.
|
5
|
-
bunny (~> 2.
|
4
|
+
eventhub-processor2 (1.13.0)
|
5
|
+
bunny (~> 2.19)
|
6
6
|
celluloid (~> 0.18)
|
7
7
|
eventhub-components (~> 0.2)
|
8
8
|
uuidtools (~> 2.1)
|
@@ -12,77 +12,85 @@ GEM
|
|
12
12
|
specs:
|
13
13
|
amq-protocol (2.3.2)
|
14
14
|
ast (2.4.2)
|
15
|
-
bunny (2.
|
15
|
+
bunny (2.19.0)
|
16
16
|
amq-protocol (~> 2.3, >= 2.3.1)
|
17
|
+
sorted_set (~> 1, >= 1.0.2)
|
17
18
|
celluloid (0.18.0)
|
18
19
|
timers (~> 4)
|
19
|
-
diff-lcs (1.
|
20
|
-
docile (1.
|
21
|
-
eventhub-components (0.
|
20
|
+
diff-lcs (1.5.0)
|
21
|
+
docile (1.4.0)
|
22
|
+
eventhub-components (0.3.1)
|
22
23
|
logstash-logger (~> 0.26)
|
24
|
+
json (2.6.2)
|
23
25
|
logstash-event (1.2.02)
|
24
26
|
logstash-logger (0.26.1)
|
25
27
|
logstash-event (~> 1.2)
|
26
|
-
parallel (1.
|
27
|
-
parser (3.
|
28
|
+
parallel (1.22.1)
|
29
|
+
parser (3.1.2.0)
|
28
30
|
ast (~> 2.4.1)
|
29
|
-
rainbow (3.
|
30
|
-
rake (13.0.
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
rspec-
|
36
|
-
rspec-
|
37
|
-
|
38
|
-
|
39
|
-
|
31
|
+
rainbow (3.1.1)
|
32
|
+
rake (13.0.6)
|
33
|
+
rbtree (0.4.5)
|
34
|
+
regexp_parser (2.5.0)
|
35
|
+
rexml (3.2.5)
|
36
|
+
rspec (3.11.0)
|
37
|
+
rspec-core (~> 3.11.0)
|
38
|
+
rspec-expectations (~> 3.11.0)
|
39
|
+
rspec-mocks (~> 3.11.0)
|
40
|
+
rspec-core (3.11.0)
|
41
|
+
rspec-support (~> 3.11.0)
|
42
|
+
rspec-expectations (3.11.0)
|
40
43
|
diff-lcs (>= 1.2.0, < 2.0)
|
41
|
-
rspec-support (~> 3.
|
42
|
-
rspec-mocks (3.
|
44
|
+
rspec-support (~> 3.11.0)
|
45
|
+
rspec-mocks (3.11.1)
|
43
46
|
diff-lcs (>= 1.2.0, < 2.0)
|
44
|
-
rspec-support (~> 3.
|
45
|
-
rspec-support (3.
|
46
|
-
rubocop (1.
|
47
|
+
rspec-support (~> 3.11.0)
|
48
|
+
rspec-support (3.11.0)
|
49
|
+
rubocop (1.32.0)
|
50
|
+
json (~> 2.3)
|
47
51
|
parallel (~> 1.10)
|
48
|
-
parser (>= 3.
|
52
|
+
parser (>= 3.1.0.0)
|
49
53
|
rainbow (>= 2.2.2, < 4.0)
|
50
54
|
regexp_parser (>= 1.8, < 3.0)
|
51
|
-
rexml
|
52
|
-
rubocop-ast (>= 1.
|
55
|
+
rexml (>= 3.2.5, < 4.0)
|
56
|
+
rubocop-ast (>= 1.19.1, < 2.0)
|
53
57
|
ruby-progressbar (~> 1.7)
|
54
58
|
unicode-display_width (>= 1.4.0, < 3.0)
|
55
|
-
rubocop-ast (1.
|
56
|
-
parser (>=
|
57
|
-
rubocop-performance (1.
|
58
|
-
rubocop (>=
|
59
|
+
rubocop-ast (1.19.1)
|
60
|
+
parser (>= 3.1.1.0)
|
61
|
+
rubocop-performance (1.14.3)
|
62
|
+
rubocop (>= 1.7.0, < 2.0)
|
59
63
|
rubocop-ast (>= 0.4.0)
|
60
64
|
ruby-progressbar (1.11.0)
|
65
|
+
set (1.0.2)
|
61
66
|
simplecov (0.21.2)
|
62
67
|
docile (~> 1.1)
|
63
68
|
simplecov-html (~> 0.11)
|
64
69
|
simplecov_json_formatter (~> 0.1)
|
65
70
|
simplecov-html (0.12.3)
|
66
|
-
simplecov_json_formatter (0.1.
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
71
|
+
simplecov_json_formatter (0.1.4)
|
72
|
+
sorted_set (1.0.3)
|
73
|
+
rbtree
|
74
|
+
set (~> 1.0)
|
75
|
+
standard (1.14.0)
|
76
|
+
rubocop (= 1.32.0)
|
77
|
+
rubocop-performance (= 1.14.3)
|
72
78
|
timers (4.3.3)
|
73
|
-
unicode-display_width (2.
|
79
|
+
unicode-display_width (2.2.0)
|
74
80
|
uuidtools (2.2.0)
|
75
81
|
|
76
82
|
PLATFORMS
|
83
|
+
arm64-darwin-21
|
77
84
|
ruby
|
85
|
+
x86_64-darwin-18
|
78
86
|
|
79
87
|
DEPENDENCIES
|
80
|
-
bundler (~> 2.
|
88
|
+
bundler (~> 2.3)
|
81
89
|
eventhub-processor2!
|
82
90
|
rake (~> 13.0)
|
83
|
-
rspec (~> 3.
|
91
|
+
rspec (~> 3.11)
|
84
92
|
simplecov (~> 0.21)
|
85
|
-
|
93
|
+
standard (~> 1.14)
|
86
94
|
|
87
95
|
BUNDLED WITH
|
88
|
-
2.
|
96
|
+
2.3.18
|
data/README.md
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
[![Gem Version](https://badge.fury.io/rb/eventhub-processor2.svg)](https://badge.fury.io/rb/eventhub-processor2)
|
2
2
|
[![Maintainability](https://api.codeclimate.com/v1/badges/9112358562f0614e0e02/maintainability)](https://codeclimate.com/github/thomis/eventhub-processor2/maintainability)
|
3
3
|
[![Test Coverage](https://api.codeclimate.com/v1/badges/9112358562f0614e0e02/test_coverage)](https://codeclimate.com/github/thomis/eventhub-processor2/test_coverage)
|
4
|
-
[![
|
4
|
+
[![ci](https://github.com/thomis/eventhub-processor2/actions/workflows/ci.yml/badge.svg)](https://github.com/thomis/eventhub-processor2/actions/workflows/ci.yml)
|
5
5
|
|
6
6
|
# EventHub::Processor2
|
7
7
|
|
@@ -15,6 +15,15 @@ Processor2 has currently the following sub-components implemented
|
|
15
15
|
|
16
16
|
Processor2 is using Bunny http://rubybunny.info a feature complete RabbitMQ Client to interact with message broker. Processor2 can deal with long running message processing.
|
17
17
|
|
18
|
+
## Supported Ruby Versions
|
19
|
+
|
20
|
+
Currently supported and tested ruby versions are:
|
21
|
+
|
22
|
+
- 3.1
|
23
|
+
- 3.0
|
24
|
+
- 2.7
|
25
|
+
- 2.6
|
26
|
+
|
18
27
|
## Installation
|
19
28
|
|
20
29
|
Add this line to your application's Gemfile:
|
data/docker/Dockerfile
CHANGED
data/docker/definitions.json
CHANGED
data/docker/docker-compose.yml
CHANGED
data/eventhub-processor2.gemspec
CHANGED
@@ -22,17 +22,14 @@ Gem::Specification.new do |spec|
|
|
22
22
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
23
23
|
spec.require_paths = ["lib"]
|
24
24
|
|
25
|
-
# required by celluloid and bunny (-> amq-protocol)
|
26
|
-
# spec.required_ruby_version = '~> 2.2.6'
|
27
|
-
|
28
25
|
spec.add_dependency "celluloid", "~> 0.18"
|
29
|
-
spec.add_dependency "bunny", "~> 2.
|
26
|
+
spec.add_dependency "bunny", "~> 2.19"
|
30
27
|
spec.add_dependency "eventhub-components", "~> 0.2"
|
31
28
|
spec.add_dependency "uuidtools", "~> 2.1"
|
32
29
|
|
33
|
-
spec.add_development_dependency "bundler", "~> 2.
|
30
|
+
spec.add_development_dependency "bundler", "~> 2.3"
|
34
31
|
spec.add_development_dependency "rake", "~> 13.0"
|
35
|
-
spec.add_development_dependency "rspec", "~> 3.
|
32
|
+
spec.add_development_dependency "rspec", "~> 3.11"
|
36
33
|
spec.add_development_dependency "simplecov", "~> 0.21"
|
37
|
-
spec.add_development_dependency "
|
34
|
+
spec.add_development_dependency "standard", "~> 1.14"
|
38
35
|
end
|
data/example/publisher.rb
CHANGED
@@ -114,8 +114,8 @@ module Publisher
|
|
114
114
|
|
115
115
|
def connect
|
116
116
|
@connection = Bunny.new(vhost: "event_hub",
|
117
|
-
|
118
|
-
|
117
|
+
automatic_recovery: false,
|
118
|
+
logger: Logger.new("/dev/null"))
|
119
119
|
@connection.start
|
120
120
|
@channel = @connection.create_channel
|
121
121
|
@channel.confirm_select
|
@@ -29,20 +29,20 @@ module EventHub
|
|
29
29
|
with_listen(args) do |connection, channel, consumer, queue, queue_name|
|
30
30
|
EventHub.logger.info("Listening to queue [#{queue_name}]")
|
31
31
|
consumer.on_delivery do |delivery_info, metadata, payload|
|
32
|
-
EventHub.logger.info("#{queue_name}: [#{delivery_info.delivery_tag}]"\
|
32
|
+
EventHub.logger.info("#{queue_name}: [#{delivery_info.delivery_tag}]" \
|
33
33
|
" delivery")
|
34
34
|
|
35
35
|
@processor_instance.statistics.measure(payload.size) do
|
36
36
|
handle_payload(payload: payload,
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
37
|
+
connection: connection,
|
38
|
+
queue_name: queue_name,
|
39
|
+
content_type: metadata[:content_type],
|
40
|
+
priority: metadata[:priority],
|
41
|
+
delivery_tag: delivery_info.delivery_tag)
|
42
42
|
channel.acknowledge(delivery_info.delivery_tag, false)
|
43
43
|
end
|
44
44
|
|
45
|
-
EventHub.logger.info("#{queue_name}: [#{delivery_info.delivery_tag}]"\
|
45
|
+
EventHub.logger.info("#{queue_name}: [#{delivery_info.delivery_tag}]" \
|
46
46
|
" acknowledged")
|
47
47
|
end
|
48
48
|
queue.subscribe_with(consumer, block: false)
|
@@ -124,13 +124,13 @@ module EventHub
|
|
124
124
|
end
|
125
125
|
|
126
126
|
def instance
|
127
|
-
warn "[DEPRECATION] `instance` is deprecated. Please use new"\
|
127
|
+
warn "[DEPRECATION] `instance` is deprecated. Please use new" \
|
128
128
|
" configuration access method."
|
129
129
|
self
|
130
130
|
end
|
131
131
|
|
132
132
|
def data
|
133
|
-
warn "[DEPRECATION] `data` is deprecated. Please use new configuration"\
|
133
|
+
warn "[DEPRECATION] `data` is deprecated. Please use new configuration" \
|
134
134
|
" access method."
|
135
135
|
stringify_keys(@config_data)
|
136
136
|
end
|
data/lib/eventhub/message.rb
CHANGED
@@ -125,8 +125,8 @@ module EventHub
|
|
125
125
|
end
|
126
126
|
|
127
127
|
def to_s
|
128
|
-
"Msg: process "\
|
129
|
-
"[#{process_name}, #{process_step_position}, #{process_execution_id}]"\
|
128
|
+
"Msg: process " \
|
129
|
+
"[#{process_name}, #{process_step_position}, #{process_execution_id}]" \
|
130
130
|
", status [#{status_code},#{status_message},#{status_retried_count}]"
|
131
131
|
end
|
132
132
|
|
data/lib/eventhub/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: eventhub-processor2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.13.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Steiner, Thomas
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-08-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: celluloid
|
@@ -30,14 +30,14 @@ dependencies:
|
|
30
30
|
requirements:
|
31
31
|
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: '2.
|
33
|
+
version: '2.19'
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: '2.
|
40
|
+
version: '2.19'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: eventhub-components
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -72,14 +72,14 @@ dependencies:
|
|
72
72
|
requirements:
|
73
73
|
- - "~>"
|
74
74
|
- !ruby/object:Gem::Version
|
75
|
-
version: '2.
|
75
|
+
version: '2.3'
|
76
76
|
type: :development
|
77
77
|
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
80
|
- - "~>"
|
81
81
|
- !ruby/object:Gem::Version
|
82
|
-
version: '2.
|
82
|
+
version: '2.3'
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
84
|
name: rake
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
@@ -100,14 +100,14 @@ dependencies:
|
|
100
100
|
requirements:
|
101
101
|
- - "~>"
|
102
102
|
- !ruby/object:Gem::Version
|
103
|
-
version: '3.
|
103
|
+
version: '3.11'
|
104
104
|
type: :development
|
105
105
|
prerelease: false
|
106
106
|
version_requirements: !ruby/object:Gem::Requirement
|
107
107
|
requirements:
|
108
108
|
- - "~>"
|
109
109
|
- !ruby/object:Gem::Version
|
110
|
-
version: '3.
|
110
|
+
version: '3.11'
|
111
111
|
- !ruby/object:Gem::Dependency
|
112
112
|
name: simplecov
|
113
113
|
requirement: !ruby/object:Gem::Requirement
|
@@ -123,19 +123,19 @@ dependencies:
|
|
123
123
|
- !ruby/object:Gem::Version
|
124
124
|
version: '0.21'
|
125
125
|
- !ruby/object:Gem::Dependency
|
126
|
-
name:
|
126
|
+
name: standard
|
127
127
|
requirement: !ruby/object:Gem::Requirement
|
128
128
|
requirements:
|
129
129
|
- - "~>"
|
130
130
|
- !ruby/object:Gem::Version
|
131
|
-
version: '1.
|
131
|
+
version: '1.14'
|
132
132
|
type: :development
|
133
133
|
prerelease: false
|
134
134
|
version_requirements: !ruby/object:Gem::Requirement
|
135
135
|
requirements:
|
136
136
|
- - "~>"
|
137
137
|
- !ruby/object:Gem::Version
|
138
|
-
version: '1.
|
138
|
+
version: '1.14'
|
139
139
|
description: Next generation gem to build ruby based eventhub processor
|
140
140
|
email:
|
141
141
|
- thomas.steiner@ikey.ch
|
@@ -143,10 +143,11 @@ executables: []
|
|
143
143
|
extensions: []
|
144
144
|
extra_rdoc_files: []
|
145
145
|
files:
|
146
|
+
- ".github/dependabot.yml"
|
147
|
+
- ".github/workflows/cd.yml"
|
148
|
+
- ".github/workflows/ci.yml"
|
146
149
|
- ".gitignore"
|
147
150
|
- ".rspec"
|
148
|
-
- ".ruby-version"
|
149
|
-
- ".travis.yml"
|
150
151
|
- CHANGELOG.md
|
151
152
|
- Gemfile
|
152
153
|
- Gemfile.lock
|
@@ -190,7 +191,7 @@ homepage: https://github.com/thomis/eventhub-processor2
|
|
190
191
|
licenses:
|
191
192
|
- MIT
|
192
193
|
metadata: {}
|
193
|
-
post_install_message:
|
194
|
+
post_install_message:
|
194
195
|
rdoc_options: []
|
195
196
|
require_paths:
|
196
197
|
- lib
|
@@ -205,8 +206,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
205
206
|
- !ruby/object:Gem::Version
|
206
207
|
version: '0'
|
207
208
|
requirements: []
|
208
|
-
rubygems_version: 3.
|
209
|
-
signing_key:
|
209
|
+
rubygems_version: 3.3.7
|
210
|
+
signing_key:
|
210
211
|
specification_version: 4
|
211
212
|
summary: Next generation gem to build ruby based eventhub processor
|
212
213
|
test_files: []
|
data/.ruby-version
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
2.6.6
|
data/.travis.yml
DELETED
@@ -1,36 +0,0 @@
|
|
1
|
-
sudo: required
|
2
|
-
|
3
|
-
language: ruby
|
4
|
-
|
5
|
-
services:
|
6
|
-
- docker
|
7
|
-
|
8
|
-
os:
|
9
|
-
- linux
|
10
|
-
|
11
|
-
rvm:
|
12
|
-
- 3.0.0
|
13
|
-
- 2.7.2
|
14
|
-
- 2.6.6
|
15
|
-
- 2.5.8
|
16
|
-
|
17
|
-
env:
|
18
|
-
- secure: R0rBtWClmnJKO+zyAncF6+1qDpZ6JQR+Z6VXzUmWw8MuxUXv732XTNYulY/tTeDW876GofAsOF9QfX/jhF+2ubV8SzM6rKTZS09feATuOWRPtECEaBOPcb0JGYouBNg/Lv4onuXb8KS/9U093sRqiJMfib82iY7QK9bnDPsYoQXtMnI7KBeQNrTV0H4nby3lvbjcpMDhmyg+anOmCP5yepZeS53Qq+C5GHguYivisvhSPmCfONrT303XxFLDo/aOkMDlceeZBDhtcpm5Px3GIwybSI9xRtAnpT73oL1Piazda6mRN7VHoT7YAHKqcJNZDB48HYuTj3Pt3oVVw0v78Cf25caBqXttXflXfB8U3qfVt+94uF0icH34NAnpW9l1B8GXHi6CTr27Hg2ZatWkQCN1rCpcCaW0eM/NoAG6snwTIwr1VvjLWpSW5wwhQgHPyMl+MRlTmCn/UM+eQSwPVhflKpMS1+ah6cbhDrQQF1jDt3dRaLqSnVE4APrafdT90SA3SCG2MGOE+pp+DX528gEsRB34UdX2V67dlwXeRu1eU5vZBR7jZrqwuwTAgSvxEF0eJWC0kgvEfouzuVHhVmmSAcNNHlg2kd0/oyQELyXTsklJghwAupcy4X/GEAyfLW9GAxItjATyV7XyfjmaBmdzHl/5JWeXicoyZ/4+8iE=
|
19
|
-
|
20
|
-
before_install:
|
21
|
-
- cd docker && docker build -t processor-rabbitmq .
|
22
|
-
- docker run -d -p 5672:5672 -p 15672:15672 --name processor-rabbitmq processor-rabbitmq
|
23
|
-
- cd ..
|
24
|
-
- curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64
|
25
|
-
> ./cc-test-reporter
|
26
|
-
- chmod +x ./cc-test-reporter
|
27
|
-
- gem install bundler --version '~> 2.1.2'
|
28
|
-
|
29
|
-
before_script:
|
30
|
-
- "./cc-test-reporter before-build"
|
31
|
-
|
32
|
-
script:
|
33
|
-
- bundle exec rspec
|
34
|
-
|
35
|
-
after_script:
|
36
|
-
- "./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT"
|