racecar 2.0.0.alpha1 → 2.0.0.alpha2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/ci.yml +20 -0
- data/lib/racecar/consumer.rb +2 -2
- data/lib/racecar/version.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 573f74b3f0d3abb27104d089bde5e582621b1b5327d571dd8eab7e97b9c477ed
|
4
|
+
data.tar.gz: 3c69e8d7aa3c41f6fa654a85200989d76c0648777aa3d6cef240357e2ed5ef6f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 699af7a2aa22fcd77cb5ae143905e4883779fa281d7870d56be3c3b828ac6cfafdf47a358a0443d72be7ec5794a728bdd59d236af0de4e221d9da5ac65ebf973
|
7
|
+
data.tar.gz: 4daec772b0d35f785f40fb118c84395f74f6cddc83481225d786546485a9beb4a8311c9a74eac7d172772b2c0a259b5a244033aeb97f89b43d52bf66d13aa84a
|
@@ -0,0 +1,20 @@
|
|
1
|
+
name: Execute Specs
|
2
|
+
|
3
|
+
on: [push]
|
4
|
+
|
5
|
+
jobs:
|
6
|
+
build:
|
7
|
+
|
8
|
+
runs-on: ubuntu-latest
|
9
|
+
|
10
|
+
steps:
|
11
|
+
- uses: actions/checkout@v1
|
12
|
+
- name: Set up Ruby 2.6
|
13
|
+
uses: actions/setup-ruby@v1
|
14
|
+
with:
|
15
|
+
ruby-version: 2.6.x
|
16
|
+
- name: Build and test with RSpec
|
17
|
+
run: |
|
18
|
+
gem install bundler --no-document
|
19
|
+
bundle install --jobs 4 --retry 3
|
20
|
+
bundle exec rspec --format documentation
|
data/lib/racecar/consumer.rb
CHANGED
@@ -30,7 +30,7 @@ module Racecar
|
|
30
30
|
end
|
31
31
|
end
|
32
32
|
|
33
|
-
def configure(producer:, consumer:, instrumenter:)
|
33
|
+
def configure(producer:, consumer:, instrumenter: NullInstrumenter)
|
34
34
|
@producer = producer
|
35
35
|
@consumer = consumer
|
36
36
|
@instrumenter = instrumenter
|
@@ -48,7 +48,7 @@ module Racecar
|
|
48
48
|
protected
|
49
49
|
|
50
50
|
# https://github.com/appsignal/rdkafka-ruby#producing-messages
|
51
|
-
def produce(topic:,
|
51
|
+
def produce(payload, topic:, key:, headers: nil)
|
52
52
|
@delivery_handles ||= []
|
53
53
|
|
54
54
|
extra_info = {
|
data/lib/racecar/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: racecar
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.0.
|
4
|
+
version: 2.0.0.alpha2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Daniel Schierbeck
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: exe
|
11
11
|
cert_chain: []
|
12
|
-
date: 2019-
|
12
|
+
date: 2019-09-03 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: king_konf
|
@@ -111,6 +111,7 @@ executables:
|
|
111
111
|
extensions: []
|
112
112
|
extra_rdoc_files: []
|
113
113
|
files:
|
114
|
+
- ".github/workflows/ci.yml"
|
114
115
|
- ".gitignore"
|
115
116
|
- ".rspec"
|
116
117
|
- CHANGELOG.md
|