eventhub-processor2 1.9.0 → 1.12.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: c2802cc49773eefcd1c4ac043ad25c07a59576eae96f1a657556741e20da1815
4
- data.tar.gz: 84f36939159674c30169766b44e427fdee7a03cbdba0f3d4f356040bb5c2ed41
3
+ metadata.gz: 7b6bce45652e7273f4bc413483ddba906814f202379b177086eb616f6e87d7a3
4
+ data.tar.gz: c74a66fa83f7f674f191dc92b1d4992790b407097b40a5d18182f18e26aef6c3
5
5
  SHA512:
6
- metadata.gz: 71c2532c9d70ea9d913778f12435f36d8d4aa1185b7586e6ad41803aa2f5f4182c720edaa17e32e77889c9e46ab4b4147fbaae78ec7ecfab31729208e4f182ed
7
- data.tar.gz: 57e0722d7267a3dd6356422ac7f069390dcfce6fe06f7d40eac1debba3efb44418d1c3a5291806db7d4bf0272e98a54a5dc5a479ab1c621ee8afdf33e3f09241
6
+ metadata.gz: aadaf38e8eccf0723ccb51bdd5233f7f5d57ad1e536c9d63714028f769a5da4322e64631480d6bf5d546d8e9b7d2641179054e34af39744e5435bd117f89b15b
7
+ data.tar.gz: 90b0052940a20f671e9fe8e1c83f15033a1f8cabb969ac59f02633fe245ad8033b83a2aad855c07dc0b2cea6c88180d20f17e6e8dee5d45a1e00fba5eb18d121
@@ -0,0 +1,6 @@
1
+ version: 2
2
+ updates:
3
+ - package-ecosystem: 'bundler'
4
+ directory: '/'
5
+ schedule:
6
+ interval: 'weekly'
@@ -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,44 @@
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
+ strategy:
22
+ fail-fast: false
23
+ matrix:
24
+ ruby: [ '3.1', '3.0', '2.7', '2.6']
25
+
26
+ name: Ruby ${{ matrix.ruby }}
27
+ steps:
28
+ - uses: actions/checkout@v1
29
+
30
+ - name: Set up Ruby
31
+ uses: ruby/setup-ruby@v1
32
+ with:
33
+ ruby-version: ${{ matrix.ruby }}
34
+ bundler-cache: true
35
+ cache-version: 1
36
+
37
+ - name: Setup RabbitMQ
38
+ run: |
39
+ cd docker && docker build -t processor-rabbitmq .
40
+ docker run -d -p 5672:5672 -p 15672:15672 --name processor-rabbitmq processor-rabbitmq
41
+
42
+ - name: Run default task
43
+ run: |
44
+ bundle exec rake
data/.gitignore CHANGED
@@ -4,3 +4,5 @@ coverage
4
4
  logs
5
5
  example/data
6
6
  pkg
7
+ tmp
8
+ checksums
data/CHANGELOG.md CHANGED
@@ -1,5 +1,21 @@
1
1
  # Changelog of EventHub::Processor2
2
2
 
3
+ ## 1.12.0 / 2021-07-26
4
+
5
+ * Updated gem dependencies
6
+ * Move to GitHub actions
7
+ * Add Dependabot to keep dependencies up-to-date
8
+ * Format corrections
9
+
10
+ ## 1.11.0 / 2021-05-01
11
+
12
+ * Updated gem dependencies
13
+
14
+ ## 1.10.0 / 2021-03-11
15
+
16
+ * Updated to have less log noise
17
+ * Updated to stable tests
18
+
3
19
  ## 1.9.0 / 2021-02-26
4
20
 
5
21
  * Updated gem dependencies
data/Gemfile.lock CHANGED
@@ -1,8 +1,8 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- eventhub-processor2 (1.9.0)
5
- bunny (~> 2.15)
4
+ eventhub-processor2 (1.12.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.17.0)
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.4.4)
20
- docile (1.3.5)
20
+ diff-lcs (1.5.0)
21
+ docile (1.4.0)
21
22
  eventhub-components (0.2.2)
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.20.1)
27
- parser (3.0.0.0)
28
+ parallel (1.22.1)
29
+ parser (3.1.2.0)
28
30
  ast (~> 2.4.1)
29
- rainbow (3.0.0)
30
- rake (13.0.3)
31
- regexp_parser (2.0.3)
32
- rexml (3.2.4)
33
- rspec (3.10.0)
34
- rspec-core (~> 3.10.0)
35
- rspec-expectations (~> 3.10.0)
36
- rspec-mocks (~> 3.10.0)
37
- rspec-core (3.10.1)
38
- rspec-support (~> 3.10.0)
39
- rspec-expectations (3.10.1)
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.10.0)
42
- rspec-mocks (3.10.2)
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.10.0)
45
- rspec-support (3.10.2)
46
- rubocop (1.10.0)
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.0.0.0)
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.2.0, < 2.0)
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.4.1)
56
- parser (>= 2.7.1.5)
57
- rubocop-performance (1.9.2)
58
- rubocop (>= 0.90.0, < 2.0)
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.2)
67
- standard (0.13.0)
68
- rubocop (= 1.10.0)
69
- rubocop-performance (= 1.9.2)
70
- standardrb (1.0.0)
71
- standard
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.0.0)
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.1)
88
+ bundler (~> 2.3)
81
89
  eventhub-processor2!
82
90
  rake (~> 13.0)
83
- rspec (~> 3.9)
91
+ rspec (~> 3.11)
84
92
  simplecov (~> 0.21)
85
- standardrb (~> 1.0)
93
+ standard (~> 1.14)
86
94
 
87
95
  BUNDLED WITH
88
- 2.1.4
96
+ 2.3.18
data/README.md CHANGED
@@ -1,7 +1,5 @@
1
1
  [![Gem Version](https://badge.fury.io/rb/eventhub-processor2.svg)](https://badge.fury.io/rb/eventhub-processor2)
2
- [![Maintainability](https://api.codeclimate.com/v1/badges/9112358562f0614e0e02/maintainability)](https://codeclimate.com/github/thomis/eventhub-processor2/maintainability)
3
- [![Test Coverage](https://api.codeclimate.com/v1/badges/9112358562f0614e0e02/test_coverage)](https://codeclimate.com/github/thomis/eventhub-processor2/test_coverage)
4
- [![Build Status](https://travis-ci.org/thomis/eventhub-processor2.svg?branch=master)](https://travis-ci.org/thomis/eventhub-processor2)
2
+ [![ci](https://github.com/thomis/eventhub-processor2/actions/workflows/ci.yml/badge.svg)](https://github.com/thomis/eventhub-processor2/actions/workflows/ci.yml)
5
3
 
6
4
  # EventHub::Processor2
7
5
 
@@ -173,7 +171,19 @@ Processor2 symbolizes keys and sub-keys from configuration files automatically.
173
171
 
174
172
  ## Development
175
173
 
176
- After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
174
+ ```
175
+ # Get the source code
176
+ git clone https://github.com/thomis/eventhub-processor2.git
177
+
178
+ # Install dependencies
179
+ bundle
180
+
181
+ # Setup rabbitmq docker container with initial definitions. This can be run multiple times to get your container back into an initial state
182
+ bundle exec rake init
183
+
184
+ # Run all rspec tests
185
+ bundle exec rake
186
+ ```
177
187
 
178
188
  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).
179
189
 
data/Rakefile CHANGED
@@ -6,4 +6,10 @@ RSpec::Core::RakeTask.new(:spec) do |t|
6
6
  t.verbose = false
7
7
  end
8
8
 
9
+ desc "Initialize or reset rabbitmq docker container (run before rspec)"
10
+ task :init do
11
+ sh "cd docker && ./reset"
12
+ puts "You may need to give rabbitmq container a bit time to startup properly..."
13
+ end
14
+
9
15
  task default: [:spec, :standard]
data/docker/Dockerfile CHANGED
@@ -1,4 +1,4 @@
1
- FROM rabbitmq:3.8.12-management
1
+ FROM rabbitmq:management-alpine
2
2
 
3
3
  LABEL maintainer="thomas.steiner@ikey.ch"
4
4
 
@@ -1,5 +1,7 @@
1
1
  {
2
- "rabbit_version": "3.6.14",
2
+ "rabbitmq_version": "3.10",
3
+ "product_name": "RabbitMQ",
4
+ "product_version": "3.10",
3
5
  "users": [
4
6
  {
5
7
  "name": "guest",
@@ -51,6 +53,13 @@
51
53
  "durable": true,
52
54
  "auto_delete": false,
53
55
  "arguments": {}
56
+ },
57
+ {
58
+ "name": "processor2",
59
+ "vhost": "event_hub",
60
+ "durable": true,
61
+ "auto_delete": false,
62
+ "arguments": {}
54
63
  }
55
64
  ],
56
65
  "exchanges": [
@@ -89,6 +98,15 @@
89
98
  "auto_delete": false,
90
99
  "internal": false,
91
100
  "arguments": {}
101
+ },
102
+ {
103
+ "name": "processor2",
104
+ "vhost": "event_hub",
105
+ "type": "direct",
106
+ "durable": true,
107
+ "auto_delete": false,
108
+ "internal": false,
109
+ "arguments": {}
92
110
  }
93
111
  ],
94
112
  "bindings": [
@@ -123,6 +141,14 @@
123
141
  "destination_type": "queue",
124
142
  "routing_key": "",
125
143
  "arguments": {}
144
+ },
145
+ {
146
+ "source": "processor2",
147
+ "vhost": "event_hub",
148
+ "destination": "processor2",
149
+ "destination_type": "queue",
150
+ "routing_key": "",
151
+ "arguments": {}
126
152
  }
127
153
  ]
128
154
  }
@@ -4,7 +4,7 @@ services:
4
4
  rabbitmq:
5
5
  build: .
6
6
  container_name: eventhub.rabbitmq
7
- image: eventhub.rabbitmq:3.8.12
7
+ image: eventhub.rabbitmq
8
8
  ports:
9
9
  - "5672:5672"
10
10
  - "15672:15672"
data/docker/reset ADDED
@@ -0,0 +1,5 @@
1
+ # stopping, deleting an rebuilding rabbitmq docker container
2
+ docker-compose stop
3
+ docker rm eventhub.rabbitmq
4
+ docker rmi $(docker images 'eventhub.rabbitmq' -q)
5
+ docker-compose up -d
@@ -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.15"
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.1"
30
+ spec.add_development_dependency "bundler", "~> 2.3"
34
31
  spec.add_development_dependency "rake", "~> 13.0"
35
- spec.add_development_dependency "rspec", "~> 3.9"
32
+ spec.add_development_dependency "rspec", "~> 3.11"
36
33
  spec.add_development_dependency "simplecov", "~> 0.21"
37
- spec.add_development_dependency "standardrb", "~> 1.0"
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
- automatic_recovery: false,
118
- logger: Logger.new("/dev/null"))
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
@@ -21,7 +21,6 @@ module EventHub
21
21
  loop do
22
22
  sleep Configuration.processor[:heartbeat_cycle_in_s]
23
23
  publish(heartbeat)
24
- EventHub.logger.info("Heartbeat has sent a beat")
25
24
  end
26
25
  end
27
26
 
@@ -43,7 +42,7 @@ module EventHub
43
42
  success = channel.wait_for_confirms
44
43
 
45
44
  unless success
46
- raise "Published heartbeat message has "\
45
+ raise "Published heartbeat message has " \
47
46
  "not been confirmed by the server"
48
47
  end
49
48
  ensure
@@ -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
- connection: connection,
38
- queue_name: queue_name,
39
- content_type: metadata[:content_type],
40
- priority: metadata[:priority],
41
- delivery_tag: delivery_info.delivery_tag)
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)
@@ -31,7 +31,7 @@ module EventHub
31
31
  success = channel.wait_for_confirms
32
32
 
33
33
  unless success
34
- raise "Published message from Listener actor "\
34
+ raise "Published message from Listener actor " \
35
35
  "has not been confirmed by the server"
36
36
  end
37
37
  ensure
@@ -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
@@ -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
 
@@ -1,3 +1,3 @@
1
1
  module EventHub
2
- VERSION = "1.9.0".freeze
2
+ VERSION = "1.12.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.9.0
4
+ version: 1.12.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: 2021-02-26 00:00:00.000000000 Z
11
+ date: 2022-07-27 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.15'
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.15'
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.1'
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.1'
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.9'
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.9'
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: standardrb
126
+ name: standard
127
127
  requirement: !ruby/object:Gem::Requirement
128
128
  requirements:
129
129
  - - "~>"
130
130
  - !ruby/object:Gem::Version
131
- version: '1.0'
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.0'
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
@@ -160,6 +161,7 @@ files:
160
161
  - docker/definitions.json
161
162
  - docker/docker-compose.yml
162
163
  - docker/rabbitmq.config
164
+ - docker/reset
163
165
  - eventhub-processor2.gemspec
164
166
  - example/README.md
165
167
  - example/config/receiver.json
@@ -189,7 +191,7 @@ homepage: https://github.com/thomis/eventhub-processor2
189
191
  licenses:
190
192
  - MIT
191
193
  metadata: {}
192
- post_install_message:
194
+ post_install_message:
193
195
  rdoc_options: []
194
196
  require_paths:
195
197
  - lib
@@ -204,8 +206,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
204
206
  - !ruby/object:Gem::Version
205
207
  version: '0'
206
208
  requirements: []
207
- rubygems_version: 3.0.3
208
- signing_key:
209
+ rubygems_version: 3.3.7
210
+ signing_key:
209
211
  specification_version: 4
210
212
  summary: Next generation gem to build ruby based eventhub processor
211
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"