eventhub-processor2 1.21.1 → 1.22.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d710f5c1be16b00186cdea6a07087583ac41315454da81e707812be328fd4bd5
4
- data.tar.gz: edc2b06c90031d9caddefaa6f13ac90724c9065a6229f169221ebb362d289b4e
3
+ metadata.gz: eb331621f66414cb8a7b126bc7899a4ee055d86a0e230fbfa9ec8ac748ee833a
4
+ data.tar.gz: 5392527d4f338481c2d733388b0977bdca8121fbefd36d4df5f619c0586b8cad
5
5
  SHA512:
6
- metadata.gz: 2db6c73d157b0b54e4a94257f13e444e392c10f36fdd65b76004fe5293da686d35fe93cb71bc2d8873b7bea1c0ae572a6d6e4aa5e443cdac92add6edc83b4b5e
7
- data.tar.gz: 96e0f041c7076c9f712bfc15c4ccc818785012ea57818bc10116134579b44577a8df17c9c975c6b7a7443be04870fb3f4457d14b2e896528797e7f656f015a31
6
+ metadata.gz: 97afe3429d42f191a3ae784deba8e0f7a98425c12cf29722fb8163deef23a463c99d50a1cef565161ea33eadcbf31ba4bb7fc280b1a8ad8d78ea5a41457814da
7
+ data.tar.gz: 781df8ffd2f4ffa7a5cb4ce6b5622d1ace3718a4a23f42b2db2268b9bf5ab0b6d2dc7647718049d6c27ce4c6d044ff62d996fcaceecb2013860b718878256a1e
@@ -23,7 +23,7 @@ jobs:
23
23
  strategy:
24
24
  fail-fast: false
25
25
  matrix:
26
- ruby: [ '3.3', '3.2', '3.1', '3.0', '2.7', '2.6']
26
+ ruby: [ '3.3', '3.2', '3.1', '3.0']
27
27
 
28
28
  name: Ruby ${{ matrix.ruby }}
29
29
  steps:
data/.tool-versions CHANGED
@@ -1 +1 @@
1
- ruby 3.3.1
1
+ ruby 3.3.5
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Changelog of EventHub::Processor2
2
2
 
3
+ # 1.22.1 / 2024-09-03
4
+
5
+ * Add logger as dependency for future ruby versions
6
+
7
+ ## 1.22.0 / 2024-07-24
8
+
9
+ * Structured (json) console log only
10
+ * Update of dependencies (bunny, eventhub-components, rake, rspec, standard)
11
+
3
12
  ## 1.21.1 / 2024-05-28
4
13
 
5
14
  * Update dependencies
data/README.md CHANGED
@@ -23,9 +23,7 @@ Currently supported and tested ruby versions are:
23
23
  - 3.3
24
24
  - 3.2
25
25
  - 3.1
26
- - 3.0
27
- - 2.7
28
- - 2.6
26
+ - 3.0 (EOL: 2024-04-23)
29
27
 
30
28
  ## Installation
31
29
 
data/docker/Dockerfile CHANGED
@@ -5,4 +5,3 @@ LABEL maintainer="thomas.steiner@ikey.ch"
5
5
  ADD definitions.json /etc/rabbitmq/
6
6
  ADD rabbitmq.config /etc/rabbitmq/
7
7
  RUN chown rabbitmq:rabbitmq /etc/rabbitmq/rabbitmq.config /etc/rabbitmq/definitions.json
8
- RUN rabbitmq-plugins enable rabbitmq_web_stomp
@@ -1,5 +1,3 @@
1
- version: '3.3'
2
-
3
1
  services:
4
2
  rabbitmq:
5
3
  build: .
data/docker/reset CHANGED
@@ -1,5 +1,5 @@
1
1
  # stopping, deleting an rebuilding rabbitmq docker container
2
- docker-compose stop
2
+ docker compose stop
3
3
  docker rm eventhub.rabbitmq
4
4
  docker rmi $(docker images 'eventhub.rabbitmq' -q)
5
- docker-compose up -d
5
+ docker compose up -d
@@ -24,14 +24,15 @@ Gem::Specification.new do |spec|
24
24
 
25
25
  spec.add_dependency "celluloid", "~> 0.18"
26
26
  spec.add_dependency "webrick", "~> 1.8"
27
- spec.add_dependency "bunny", "~> 2.20"
28
- spec.add_dependency "eventhub-components", "~> 0.2"
27
+ spec.add_dependency "bunny", "~> 2.23"
28
+ spec.add_dependency "eventhub-components", "~> 0.4"
29
29
  spec.add_dependency "uuidtools", "~> 2.1"
30
30
  spec.add_dependency "base64", "~> 0.2.0"
31
+ spec.add_dependency "logger", "~> 1.6"
31
32
 
32
33
  spec.add_development_dependency "bundler", "~> 2.3"
33
- spec.add_development_dependency "rake", "~> 13.0"
34
- spec.add_development_dependency "rspec", "~> 3.12"
34
+ spec.add_development_dependency "rake", "~> 13.2"
35
+ spec.add_development_dependency "rspec", "~> 3.13"
35
36
  spec.add_development_dependency "simplecov", "~> 0.21"
36
- spec.add_development_dependency "standard", "~> 1.28"
37
+ spec.add_development_dependency "standard", "~> 1.39"
37
38
  end
@@ -3,9 +3,14 @@ module EventHub
3
3
  def self.logger
4
4
  unless defined?(@logger)
5
5
  @logger = ::EventHub::Components::MultiLogger.new
6
- @logger.add_device(Logger.new($stdout))
7
6
 
8
- unless Configuration.console_log_only
7
+ if Configuration.console_log_only
8
+ @logger.add_device(
9
+ EventHub::Components::Logger.logstash_cloud(Configuration.name,
10
+ Configuration.environment)
11
+ )
12
+ else
13
+ @logger.add_device(Logger.new($stdout))
9
14
  @logger.add_device(
10
15
  EventHub::Components::Logger.logstash(Configuration.name,
11
16
  Configuration.environment)
@@ -1,3 +1,3 @@
1
1
  module EventHub
2
- VERSION = "1.21.1".freeze
2
+ VERSION = "1.22.1".freeze
3
3
  end
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.21.1
4
+ version: 1.22.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Steiner, Thomas
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-05-28 00:00:00.000000000 Z
11
+ date: 2024-09-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: celluloid
@@ -44,28 +44,28 @@ dependencies:
44
44
  requirements:
45
45
  - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: '2.20'
47
+ version: '2.23'
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
- version: '2.20'
54
+ version: '2.23'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: eventhub-components
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
59
  - - "~>"
60
60
  - !ruby/object:Gem::Version
61
- version: '0.2'
61
+ version: '0.4'
62
62
  type: :runtime
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
66
  - - "~>"
67
67
  - !ruby/object:Gem::Version
68
- version: '0.2'
68
+ version: '0.4'
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: uuidtools
71
71
  requirement: !ruby/object:Gem::Requirement
@@ -94,6 +94,20 @@ dependencies:
94
94
  - - "~>"
95
95
  - !ruby/object:Gem::Version
96
96
  version: 0.2.0
97
+ - !ruby/object:Gem::Dependency
98
+ name: logger
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - "~>"
102
+ - !ruby/object:Gem::Version
103
+ version: '1.6'
104
+ type: :runtime
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - "~>"
109
+ - !ruby/object:Gem::Version
110
+ version: '1.6'
97
111
  - !ruby/object:Gem::Dependency
98
112
  name: bundler
99
113
  requirement: !ruby/object:Gem::Requirement
@@ -114,28 +128,28 @@ dependencies:
114
128
  requirements:
115
129
  - - "~>"
116
130
  - !ruby/object:Gem::Version
117
- version: '13.0'
131
+ version: '13.2'
118
132
  type: :development
119
133
  prerelease: false
120
134
  version_requirements: !ruby/object:Gem::Requirement
121
135
  requirements:
122
136
  - - "~>"
123
137
  - !ruby/object:Gem::Version
124
- version: '13.0'
138
+ version: '13.2'
125
139
  - !ruby/object:Gem::Dependency
126
140
  name: rspec
127
141
  requirement: !ruby/object:Gem::Requirement
128
142
  requirements:
129
143
  - - "~>"
130
144
  - !ruby/object:Gem::Version
131
- version: '3.12'
145
+ version: '3.13'
132
146
  type: :development
133
147
  prerelease: false
134
148
  version_requirements: !ruby/object:Gem::Requirement
135
149
  requirements:
136
150
  - - "~>"
137
151
  - !ruby/object:Gem::Version
138
- version: '3.12'
152
+ version: '3.13'
139
153
  - !ruby/object:Gem::Dependency
140
154
  name: simplecov
141
155
  requirement: !ruby/object:Gem::Requirement
@@ -156,14 +170,14 @@ dependencies:
156
170
  requirements:
157
171
  - - "~>"
158
172
  - !ruby/object:Gem::Version
159
- version: '1.28'
173
+ version: '1.39'
160
174
  type: :development
161
175
  prerelease: false
162
176
  version_requirements: !ruby/object:Gem::Requirement
163
177
  requirements:
164
178
  - - "~>"
165
179
  - !ruby/object:Gem::Version
166
- version: '1.28'
180
+ version: '1.39'
167
181
  description: Next generation gem to build ruby based eventhub processor
168
182
  email:
169
183
  - thomas.steiner@ikey.ch
@@ -236,7 +250,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
236
250
  - !ruby/object:Gem::Version
237
251
  version: '0'
238
252
  requirements: []
239
- rubygems_version: 3.5.9
253
+ rubygems_version: 3.5.11
240
254
  signing_key:
241
255
  specification_version: 4
242
256
  summary: Next generation gem to build ruby based eventhub processor