eventhub-processor2 1.21.0 → 1.22.0

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: ff9077a8af2791cd681fb21b96a3d60d06ba79e6721e721b814dcc1f3d344eb8
4
- data.tar.gz: d05e33dfff330eb2523b2050c8d5fa2d299d6f14b320bce4eaa100b53a6a03e2
3
+ metadata.gz: 9ec9362bc148b73813994fbd23e00de0a167d83c0d9071a86c77bc618ab90097
4
+ data.tar.gz: 9ef2f6d333d1cef2f4f4ad7d9a658c119b5721c8f80bb286d3a0aa9d06132b13
5
5
  SHA512:
6
- metadata.gz: 67729c0fa807676e90fb029ac97b08c2144f77b5fa22820736975b67a871dd63dd7a7fbeba2895f239312cb2a39527c25b8c8c501fcca97ba4de71a33d9a756d
7
- data.tar.gz: '09cf7cfb606c0b36c5b2e5552ee33fce244d719a4f3b979159a0fceab157e6bc3b3c77dc4c5e89d202835bdc81476c9ebb71d07b904c79e1586941431a879a22'
6
+ metadata.gz: 8de56230bfe1d1aa6eb01528ef33f9b121cbd15632dbbb5ef9d48b28c02cd2346e9d50e3ff6925d46a2fe46363a71e139cf3c4d2b276ec184156871bcec56831
7
+ data.tar.gz: 86080d69ec4f6ef0a24c4ed6d139e88845b88424b381c89a8370e2c9ac71a315024b01cc07f2e150a2fca55741f585e7835e564394f42b8f680ac2d9929baea7
@@ -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.4
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  # Changelog of EventHub::Processor2
2
2
 
3
- ## 1.21.0 / 2024-05-28
3
+ ## 1.22.0 / 2024-07-24
4
+
5
+ * Structured (json) console log only
6
+ * Update of dependencies (bunny, eventhub-components, rake, rspec, standard)
7
+
8
+ ## 1.21.1 / 2024-05-28
4
9
 
5
10
  * Update dependencies
6
11
  * Support Ruby 3.3.1
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/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,14 @@ 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
31
 
32
32
  spec.add_development_dependency "bundler", "~> 2.3"
33
- spec.add_development_dependency "rake", "~> 13.0"
34
- spec.add_development_dependency "rspec", "~> 3.12"
33
+ spec.add_development_dependency "rake", "~> 13.2"
34
+ spec.add_development_dependency "rspec", "~> 3.13"
35
35
  spec.add_development_dependency "simplecov", "~> 0.21"
36
- spec.add_development_dependency "standard", "~> 1.28"
36
+ spec.add_development_dependency "standard", "~> 1.39"
37
37
  end
@@ -15,7 +15,7 @@ module EventHub
15
15
  end
16
16
 
17
17
  def start
18
- EventHub.logger.info("Listener http is starting [#{@host}, #{@port}], #{@path}...")
18
+ EventHub.logger.info("Listener http is starting [#{@host}, #{@port}, #{@path}]...")
19
19
  @async_server = Thread.new do
20
20
  @server = WEBrick::HTTPServer.new(
21
21
  BindAddress: @host,
@@ -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.0".freeze
2
+ VERSION = "1.22.0".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.0
4
+ version: 1.22.0
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-07-24 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
@@ -114,28 +114,28 @@ dependencies:
114
114
  requirements:
115
115
  - - "~>"
116
116
  - !ruby/object:Gem::Version
117
- version: '13.0'
117
+ version: '13.2'
118
118
  type: :development
119
119
  prerelease: false
120
120
  version_requirements: !ruby/object:Gem::Requirement
121
121
  requirements:
122
122
  - - "~>"
123
123
  - !ruby/object:Gem::Version
124
- version: '13.0'
124
+ version: '13.2'
125
125
  - !ruby/object:Gem::Dependency
126
126
  name: rspec
127
127
  requirement: !ruby/object:Gem::Requirement
128
128
  requirements:
129
129
  - - "~>"
130
130
  - !ruby/object:Gem::Version
131
- version: '3.12'
131
+ version: '3.13'
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: '3.12'
138
+ version: '3.13'
139
139
  - !ruby/object:Gem::Dependency
140
140
  name: simplecov
141
141
  requirement: !ruby/object:Gem::Requirement
@@ -156,14 +156,14 @@ dependencies:
156
156
  requirements:
157
157
  - - "~>"
158
158
  - !ruby/object:Gem::Version
159
- version: '1.28'
159
+ version: '1.39'
160
160
  type: :development
161
161
  prerelease: false
162
162
  version_requirements: !ruby/object:Gem::Requirement
163
163
  requirements:
164
164
  - - "~>"
165
165
  - !ruby/object:Gem::Version
166
- version: '1.28'
166
+ version: '1.39'
167
167
  description: Next generation gem to build ruby based eventhub processor
168
168
  email:
169
169
  - thomas.steiner@ikey.ch
@@ -236,7 +236,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
236
236
  - !ruby/object:Gem::Version
237
237
  version: '0'
238
238
  requirements: []
239
- rubygems_version: 3.5.9
239
+ rubygems_version: 3.5.11
240
240
  signing_key:
241
241
  specification_version: 4
242
242
  summary: Next generation gem to build ruby based eventhub processor