rimless 1.2.0 → 1.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/documentation.yml +3 -2
- data/.github/workflows/test.yml +6 -9
- data/.rspec +2 -2
- data/.rubocop.yml +16 -2
- data/.simplecov +12 -0
- data/Appraisals +2 -22
- data/CHANGELOG.md +8 -0
- data/Dockerfile +2 -3
- data/Envfile +0 -3
- data/Guardfile +44 -0
- data/LICENSE +1 -1
- data/Makefile +18 -7
- data/Rakefile +13 -68
- data/doc/kafka-playground/.gitignore +2 -0
- data/doc/kafka-playground/Dockerfile +41 -0
- data/doc/kafka-playground/Gemfile +8 -0
- data/doc/kafka-playground/Gemfile.lock +155 -0
- data/doc/kafka-playground/Makefile +209 -0
- data/doc/kafka-playground/README.md +185 -0
- data/doc/kafka-playground/bin/consume-topic +7 -0
- data/doc/kafka-playground/bin/create-topic +42 -0
- data/doc/kafka-playground/bin/delete-topic +22 -0
- data/doc/kafka-playground/bin/list-topics +3 -0
- data/doc/kafka-playground/bin/produce-event +64 -0
- data/doc/kafka-playground/config/avro_schemas/.gitignore +1 -0
- data/doc/kafka-playground/config/avro_schemas/playground_app/item_v1.avsc.erb +36 -0
- data/doc/kafka-playground/config/avro_schemas/playground_app/payment_v1.avsc.erb +59 -0
- data/doc/kafka-playground/config/avro_schemas/playground_app/payment_v1_event.avsc.erb +18 -0
- data/doc/kafka-playground/config/docker/shell/.bash_profile +3 -0
- data/doc/kafka-playground/config/docker/shell/.bashrc +231 -0
- data/doc/kafka-playground/config/docker/shell/.config/kcat.conf +3 -0
- data/doc/kafka-playground/config/docker/shell/.gemrc +2 -0
- data/doc/kafka-playground/config/docker/shell/.inputrc +17 -0
- data/doc/kafka-playground/config/environment.rb +69 -0
- data/doc/kafka-playground/doc/assets/project.svg +68 -0
- data/doc/kafka-playground/docker-compose.yml +83 -0
- data/doc/kafka-playground/examples/rimless-produce +48 -0
- data/gemfiles/rails_5.2.gemfile +2 -2
- data/lib/rimless/configuration_handling.rb +11 -1
- data/lib/rimless/consumer.rb +4 -2
- data/lib/rimless/dependencies.rb +3 -0
- data/lib/rimless/kafka_helpers.rb +2 -0
- data/lib/rimless/karafka/avro_deserializer.rb +3 -3
- data/lib/rimless/rspec/helpers.rb +3 -0
- data/lib/rimless/rspec/matchers.rb +3 -4
- data/lib/rimless/rspec.rb +1 -1
- data/lib/rimless/tasks/consumer.rake +3 -0
- data/lib/rimless/tasks/generator.rake +3 -0
- data/lib/rimless/tasks/stats.rake +5 -2
- data/lib/rimless/version.rb +18 -1
- data/lib/rimless.rb +0 -1
- data/rimless.gemspec +43 -29
- metadata +119 -76
- data/gemfiles/rails_4.2.gemfile +0 -8
- data/gemfiles/rails_5.0.gemfile +0 -8
- data/gemfiles/rails_5.1.gemfile +0 -8
- data/gemfiles/rails_6.0.gemfile +0 -8
@@ -16,6 +16,7 @@ module Rimless
|
|
16
16
|
# @param schema [String, Symbol, nil] the expected message schema
|
17
17
|
# @return [HaveSentKafkaMessage] the expectation instance
|
18
18
|
def initialize(schema)
|
19
|
+
super
|
19
20
|
@schema = schema
|
20
21
|
@args = {}
|
21
22
|
@data = {}
|
@@ -184,7 +185,7 @@ module Rimless
|
|
184
185
|
begin
|
185
186
|
Rimless.avro.decode(message[:encoded_data],
|
186
187
|
schema_name: @schema.to_s)
|
187
|
-
|
188
|
+
true
|
188
189
|
rescue Avro::IO::SchemaMatchException
|
189
190
|
false
|
190
191
|
end
|
@@ -213,8 +214,7 @@ module Rimless
|
|
213
214
|
end
|
214
215
|
|
215
216
|
# Setup the +WaterDrop+ spies and record each sent message.
|
216
|
-
#
|
217
|
-
# rubocop:disable Metrics/AbcSize because of the message decoding
|
217
|
+
# because of the message decoding
|
218
218
|
# rubocop:disable Metrics/MethodLength dito
|
219
219
|
def listen_to_messages
|
220
220
|
decode = proc do |encoded|
|
@@ -231,7 +231,6 @@ module Rimless
|
|
231
231
|
nil
|
232
232
|
end
|
233
233
|
end
|
234
|
-
# rubocop:enable Metrics/AbcSize
|
235
234
|
# rubocop:enable Metrics/MethodLength
|
236
235
|
|
237
236
|
# Serve the RSpec API and return the positive failure message.
|
data/lib/rimless/rspec.rb
CHANGED
@@ -33,7 +33,7 @@ RSPEC_CONFIGURER.configure do |config|
|
|
33
33
|
# schema repository it cannot conflict while refreshing it.
|
34
34
|
unless ENV['TEST_ENV_NUMBER'].nil?
|
35
35
|
Rimless.configure do |conf|
|
36
|
-
num = ENV
|
36
|
+
num = ENV.fetch('TEST_ENV_NUMBER', nil)
|
37
37
|
num = '1' if num.empty?
|
38
38
|
|
39
39
|
conf.compiled_avro_schema_path = \
|
@@ -1,10 +1,13 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
3
|
namespace :rimless do
|
4
|
+
# rubocop:disable Rails/RakeEnvironment because this is just an command
|
5
|
+
# proxy, no need for an application bootstrap
|
4
6
|
desc 'Start the Apache Kafka consumer'
|
5
7
|
task :consumer do
|
6
8
|
system 'bundle exec karafka server'
|
7
9
|
end
|
10
|
+
# rubocop:enable Rails/RakeEnvironment
|
8
11
|
|
9
12
|
desc 'Print all the consumer routes'
|
10
13
|
task routes: :environment do
|
@@ -18,6 +18,8 @@ namespace :rimless do
|
|
18
18
|
FileUtils.copy(src, dest)
|
19
19
|
end
|
20
20
|
|
21
|
+
# rubocop:disable Rails/RakeEnvironment because this is just an
|
22
|
+
# helper command, no need for an application bootstrap
|
21
23
|
desc 'Install the Rimless consumer components'
|
22
24
|
task :install do
|
23
25
|
install_template('karafka.rb')
|
@@ -33,4 +35,5 @@ namespace :rimless do
|
|
33
35
|
# your project root. And list all routes with +rake rimless:routes+.
|
34
36
|
OUTPUT
|
35
37
|
end
|
38
|
+
# rubocop:enable Rails/RakeEnvironment
|
36
39
|
end
|
@@ -3,6 +3,8 @@
|
|
3
3
|
if defined?(Rails) && Rails.env.development?
|
4
4
|
require 'rspec/core/rake_task'
|
5
5
|
|
6
|
+
# rubocop:disable Rails/RakeEnvironment because this is just an
|
7
|
+
# helper command, no need for an application bootstrap
|
6
8
|
task :stats do
|
7
9
|
require 'rails/code_statistics'
|
8
10
|
|
@@ -11,8 +13,9 @@ if defined?(Rails) && Rails.env.development?
|
|
11
13
|
].each do |method, type, dir|
|
12
14
|
next unless File.directory? dir
|
13
15
|
|
14
|
-
|
15
|
-
|
16
|
+
STATS_DIRECTORIES.send(method, [type, dir])
|
17
|
+
CodeStatistics::TEST_TYPES << type if type.include? 'specs'
|
16
18
|
end
|
17
19
|
end
|
20
|
+
# rubocop:enable Rails/RakeEnvironment
|
18
21
|
end
|
data/lib/rimless/version.rb
CHANGED
@@ -1,6 +1,23 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
+
# The gem version details.
|
3
4
|
module Rimless
|
4
5
|
# The version of the +rimless+ gem
|
5
|
-
VERSION = '1.
|
6
|
+
VERSION = '1.3.0'
|
7
|
+
|
8
|
+
class << self
|
9
|
+
# Returns the version of gem as a string.
|
10
|
+
#
|
11
|
+
# @return [String] the gem version as string
|
12
|
+
def version
|
13
|
+
VERSION
|
14
|
+
end
|
15
|
+
|
16
|
+
# Returns the version of the gem as a +Gem::Version+.
|
17
|
+
#
|
18
|
+
# @return [Gem::Version] the gem version as object
|
19
|
+
def gem_version
|
20
|
+
Gem::Version.new VERSION
|
21
|
+
end
|
22
|
+
end
|
6
23
|
end
|
data/lib/rimless.rb
CHANGED
data/rimless.gemspec
CHANGED
@@ -5,47 +5,61 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
5
5
|
require 'rimless/version'
|
6
6
|
|
7
7
|
Gem::Specification.new do |spec|
|
8
|
-
spec.name
|
9
|
-
spec.version
|
10
|
-
spec.authors
|
11
|
-
spec.email
|
8
|
+
spec.name = 'rimless'
|
9
|
+
spec.version = Rimless::VERSION
|
10
|
+
spec.authors = ['Hermann Mayer']
|
11
|
+
spec.email = ['hermann.mayer92@gmail.com']
|
12
12
|
|
13
|
-
spec.
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
13
|
+
spec.license = 'MIT'
|
14
|
+
spec.summary = 'A bundle of opinionated Apache Kafka / Confluent ' \
|
15
|
+
'Schema Registry helpers.'
|
16
|
+
spec.description = 'A bundle of opinionated Apache Kafka / Confluent ' \
|
17
|
+
'Schema Registry helpers.'
|
18
|
+
|
19
|
+
base_uri = "https://github.com/hausgold/#{spec.name}"
|
20
|
+
spec.metadata = {
|
21
|
+
'homepage_uri' => base_uri,
|
22
|
+
'source_code_uri' => base_uri,
|
23
|
+
'changelog_uri' => "#{base_uri}/blob/master/CHANGELOG.md",
|
24
|
+
'bug_tracker_uri' => "#{base_uri}/issues",
|
25
|
+
'documentation_uri' => "https://www.rubydoc.info/gems/#{spec.name}"
|
26
|
+
}
|
18
27
|
|
19
28
|
spec.files = `git ls-files -z`.split("\x0").reject do |f|
|
20
29
|
f.match(%r{^(test|spec|features)/})
|
21
30
|
end
|
22
|
-
|
23
|
-
spec.
|
31
|
+
|
32
|
+
spec.bindir = 'exe'
|
33
|
+
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
24
34
|
spec.require_paths = ['lib']
|
25
35
|
|
26
|
-
spec.
|
36
|
+
spec.required_ruby_version = '>= 2.5'
|
37
|
+
|
38
|
+
spec.add_runtime_dependency 'activesupport', '>= 5.2'
|
27
39
|
spec.add_runtime_dependency 'avro_turf', '~> 0.11.0'
|
28
40
|
spec.add_runtime_dependency 'karafka', '~> 1.4'
|
29
41
|
spec.add_runtime_dependency 'karafka-sidekiq-backend', '~> 1.4'
|
30
42
|
spec.add_runtime_dependency 'karafka-testing', '~> 1.4'
|
31
|
-
spec.add_runtime_dependency 'sinatra'
|
43
|
+
spec.add_runtime_dependency 'sinatra', '~> 2.2'
|
32
44
|
spec.add_runtime_dependency 'sparsify', '~> 1.1'
|
33
|
-
spec.add_runtime_dependency 'waterdrop', '~> 1.
|
34
|
-
spec.add_runtime_dependency 'webmock'
|
45
|
+
spec.add_runtime_dependency 'waterdrop', '~> 1.4'
|
46
|
+
spec.add_runtime_dependency 'webmock', '~> 3.18'
|
35
47
|
|
36
|
-
spec.add_development_dependency 'appraisal'
|
37
|
-
spec.add_development_dependency 'bundler', '
|
38
|
-
spec.add_development_dependency '
|
39
|
-
spec.add_development_dependency '
|
48
|
+
spec.add_development_dependency 'appraisal', '~> 2.4'
|
49
|
+
spec.add_development_dependency 'bundler', '~> 2.3'
|
50
|
+
spec.add_development_dependency 'countless', '~> 1.1'
|
51
|
+
spec.add_development_dependency 'factory_bot', '~> 6.2'
|
52
|
+
spec.add_development_dependency 'guard-rspec', '~> 4.7'
|
53
|
+
spec.add_development_dependency 'railties', '>= 5.2'
|
40
54
|
spec.add_development_dependency 'rake', '~> 13.0'
|
41
|
-
spec.add_development_dependency '
|
42
|
-
spec.add_development_dependency '
|
43
|
-
spec.add_development_dependency '
|
44
|
-
spec.add_development_dependency 'rubocop', '~>
|
45
|
-
spec.add_development_dependency 'rubocop-rspec', '~>
|
46
|
-
spec.add_development_dependency 'simplecov', '
|
47
|
-
spec.add_development_dependency 'timecop', '
|
48
|
-
spec.add_development_dependency 'vcr', '~>
|
49
|
-
spec.add_development_dependency 'yard', '
|
50
|
-
spec.add_development_dependency 'yard-activesupport-concern', '
|
55
|
+
spec.add_development_dependency 'redcarpet', '~> 3.5'
|
56
|
+
spec.add_development_dependency 'rspec', '~> 3.12'
|
57
|
+
spec.add_development_dependency 'rubocop', '~> 1.28'
|
58
|
+
spec.add_development_dependency 'rubocop-rails', '~> 2.14'
|
59
|
+
spec.add_development_dependency 'rubocop-rspec', '~> 2.10'
|
60
|
+
spec.add_development_dependency 'simplecov', '>= 0.22'
|
61
|
+
spec.add_development_dependency 'timecop', '>= 0.9.6'
|
62
|
+
spec.add_development_dependency 'vcr', '~> 6.0'
|
63
|
+
spec.add_development_dependency 'yard', '>= 0.9.28'
|
64
|
+
spec.add_development_dependency 'yard-activesupport-concern', '>= 0.0.1'
|
51
65
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rimless
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Hermann Mayer
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-01-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version:
|
19
|
+
version: '5.2'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - ">="
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version:
|
26
|
+
version: '5.2'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: avro_turf
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -84,16 +84,16 @@ dependencies:
|
|
84
84
|
name: sinatra
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
86
86
|
requirements:
|
87
|
-
- - "
|
87
|
+
- - "~>"
|
88
88
|
- !ruby/object:Gem::Version
|
89
|
-
version: '
|
89
|
+
version: '2.2'
|
90
90
|
type: :runtime
|
91
91
|
prerelease: false
|
92
92
|
version_requirements: !ruby/object:Gem::Requirement
|
93
93
|
requirements:
|
94
|
-
- - "
|
94
|
+
- - "~>"
|
95
95
|
- !ruby/object:Gem::Version
|
96
|
-
version: '
|
96
|
+
version: '2.2'
|
97
97
|
- !ruby/object:Gem::Dependency
|
98
98
|
name: sparsify
|
99
99
|
requirement: !ruby/object:Gem::Requirement
|
@@ -114,96 +114,112 @@ dependencies:
|
|
114
114
|
requirements:
|
115
115
|
- - "~>"
|
116
116
|
- !ruby/object:Gem::Version
|
117
|
-
version: '1.
|
117
|
+
version: '1.4'
|
118
118
|
type: :runtime
|
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: '1.
|
124
|
+
version: '1.4'
|
125
125
|
- !ruby/object:Gem::Dependency
|
126
126
|
name: webmock
|
127
127
|
requirement: !ruby/object:Gem::Requirement
|
128
128
|
requirements:
|
129
|
-
- - "
|
129
|
+
- - "~>"
|
130
130
|
- !ruby/object:Gem::Version
|
131
|
-
version: '
|
131
|
+
version: '3.18'
|
132
132
|
type: :runtime
|
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: '
|
138
|
+
version: '3.18'
|
139
139
|
- !ruby/object:Gem::Dependency
|
140
140
|
name: appraisal
|
141
141
|
requirement: !ruby/object:Gem::Requirement
|
142
142
|
requirements:
|
143
|
-
- - "
|
143
|
+
- - "~>"
|
144
144
|
- !ruby/object:Gem::Version
|
145
|
-
version: '
|
145
|
+
version: '2.4'
|
146
146
|
type: :development
|
147
147
|
prerelease: false
|
148
148
|
version_requirements: !ruby/object:Gem::Requirement
|
149
149
|
requirements:
|
150
|
-
- - "
|
150
|
+
- - "~>"
|
151
151
|
- !ruby/object:Gem::Version
|
152
|
-
version: '
|
152
|
+
version: '2.4'
|
153
153
|
- !ruby/object:Gem::Dependency
|
154
154
|
name: bundler
|
155
155
|
requirement: !ruby/object:Gem::Requirement
|
156
156
|
requirements:
|
157
|
-
- - "
|
158
|
-
- !ruby/object:Gem::Version
|
159
|
-
version: '1.16'
|
160
|
-
- - "<"
|
157
|
+
- - "~>"
|
161
158
|
- !ruby/object:Gem::Version
|
162
|
-
version: '3'
|
159
|
+
version: '2.3'
|
163
160
|
type: :development
|
164
161
|
prerelease: false
|
165
162
|
version_requirements: !ruby/object:Gem::Requirement
|
166
163
|
requirements:
|
167
|
-
- - "
|
164
|
+
- - "~>"
|
165
|
+
- !ruby/object:Gem::Version
|
166
|
+
version: '2.3'
|
167
|
+
- !ruby/object:Gem::Dependency
|
168
|
+
name: countless
|
169
|
+
requirement: !ruby/object:Gem::Requirement
|
170
|
+
requirements:
|
171
|
+
- - "~>"
|
168
172
|
- !ruby/object:Gem::Version
|
169
|
-
version: '1.
|
170
|
-
|
173
|
+
version: '1.1'
|
174
|
+
type: :development
|
175
|
+
prerelease: false
|
176
|
+
version_requirements: !ruby/object:Gem::Requirement
|
177
|
+
requirements:
|
178
|
+
- - "~>"
|
171
179
|
- !ruby/object:Gem::Version
|
172
|
-
version: '
|
180
|
+
version: '1.1'
|
173
181
|
- !ruby/object:Gem::Dependency
|
174
182
|
name: factory_bot
|
175
183
|
requirement: !ruby/object:Gem::Requirement
|
176
184
|
requirements:
|
177
185
|
- - "~>"
|
178
186
|
- !ruby/object:Gem::Version
|
179
|
-
version: '
|
187
|
+
version: '6.2'
|
180
188
|
type: :development
|
181
189
|
prerelease: false
|
182
190
|
version_requirements: !ruby/object:Gem::Requirement
|
183
191
|
requirements:
|
184
192
|
- - "~>"
|
185
193
|
- !ruby/object:Gem::Version
|
186
|
-
version: '
|
194
|
+
version: '6.2'
|
195
|
+
- !ruby/object:Gem::Dependency
|
196
|
+
name: guard-rspec
|
197
|
+
requirement: !ruby/object:Gem::Requirement
|
198
|
+
requirements:
|
199
|
+
- - "~>"
|
200
|
+
- !ruby/object:Gem::Version
|
201
|
+
version: '4.7'
|
202
|
+
type: :development
|
203
|
+
prerelease: false
|
204
|
+
version_requirements: !ruby/object:Gem::Requirement
|
205
|
+
requirements:
|
206
|
+
- - "~>"
|
207
|
+
- !ruby/object:Gem::Version
|
208
|
+
version: '4.7'
|
187
209
|
- !ruby/object:Gem::Dependency
|
188
210
|
name: railties
|
189
211
|
requirement: !ruby/object:Gem::Requirement
|
190
212
|
requirements:
|
191
213
|
- - ">="
|
192
214
|
- !ruby/object:Gem::Version
|
193
|
-
version:
|
194
|
-
- - "<"
|
195
|
-
- !ruby/object:Gem::Version
|
196
|
-
version: '6.1'
|
215
|
+
version: '5.2'
|
197
216
|
type: :development
|
198
217
|
prerelease: false
|
199
218
|
version_requirements: !ruby/object:Gem::Requirement
|
200
219
|
requirements:
|
201
220
|
- - ">="
|
202
221
|
- !ruby/object:Gem::Version
|
203
|
-
version:
|
204
|
-
- - "<"
|
205
|
-
- !ruby/object:Gem::Version
|
206
|
-
version: '6.1'
|
222
|
+
version: '5.2'
|
207
223
|
- !ruby/object:Gem::Dependency
|
208
224
|
name: rake
|
209
225
|
requirement: !ruby/object:Gem::Requirement
|
@@ -219,143 +235,143 @@ dependencies:
|
|
219
235
|
- !ruby/object:Gem::Version
|
220
236
|
version: '13.0'
|
221
237
|
- !ruby/object:Gem::Dependency
|
222
|
-
name:
|
238
|
+
name: redcarpet
|
223
239
|
requirement: !ruby/object:Gem::Requirement
|
224
240
|
requirements:
|
225
241
|
- - "~>"
|
226
242
|
- !ruby/object:Gem::Version
|
227
|
-
version: '
|
243
|
+
version: '3.5'
|
228
244
|
type: :development
|
229
245
|
prerelease: false
|
230
246
|
version_requirements: !ruby/object:Gem::Requirement
|
231
247
|
requirements:
|
232
248
|
- - "~>"
|
233
249
|
- !ruby/object:Gem::Version
|
234
|
-
version: '
|
250
|
+
version: '3.5'
|
235
251
|
- !ruby/object:Gem::Dependency
|
236
|
-
name:
|
252
|
+
name: rspec
|
237
253
|
requirement: !ruby/object:Gem::Requirement
|
238
254
|
requirements:
|
239
255
|
- - "~>"
|
240
256
|
- !ruby/object:Gem::Version
|
241
|
-
version: '3.
|
257
|
+
version: '3.12'
|
242
258
|
type: :development
|
243
259
|
prerelease: false
|
244
260
|
version_requirements: !ruby/object:Gem::Requirement
|
245
261
|
requirements:
|
246
262
|
- - "~>"
|
247
263
|
- !ruby/object:Gem::Version
|
248
|
-
version: '3.
|
264
|
+
version: '3.12'
|
249
265
|
- !ruby/object:Gem::Dependency
|
250
|
-
name:
|
266
|
+
name: rubocop
|
251
267
|
requirement: !ruby/object:Gem::Requirement
|
252
268
|
requirements:
|
253
269
|
- - "~>"
|
254
270
|
- !ruby/object:Gem::Version
|
255
|
-
version: '
|
271
|
+
version: '1.28'
|
256
272
|
type: :development
|
257
273
|
prerelease: false
|
258
274
|
version_requirements: !ruby/object:Gem::Requirement
|
259
275
|
requirements:
|
260
276
|
- - "~>"
|
261
277
|
- !ruby/object:Gem::Version
|
262
|
-
version: '
|
278
|
+
version: '1.28'
|
263
279
|
- !ruby/object:Gem::Dependency
|
264
|
-
name: rubocop
|
280
|
+
name: rubocop-rails
|
265
281
|
requirement: !ruby/object:Gem::Requirement
|
266
282
|
requirements:
|
267
283
|
- - "~>"
|
268
284
|
- !ruby/object:Gem::Version
|
269
|
-
version:
|
285
|
+
version: '2.14'
|
270
286
|
type: :development
|
271
287
|
prerelease: false
|
272
288
|
version_requirements: !ruby/object:Gem::Requirement
|
273
289
|
requirements:
|
274
290
|
- - "~>"
|
275
291
|
- !ruby/object:Gem::Version
|
276
|
-
version:
|
292
|
+
version: '2.14'
|
277
293
|
- !ruby/object:Gem::Dependency
|
278
294
|
name: rubocop-rspec
|
279
295
|
requirement: !ruby/object:Gem::Requirement
|
280
296
|
requirements:
|
281
297
|
- - "~>"
|
282
298
|
- !ruby/object:Gem::Version
|
283
|
-
version: '
|
299
|
+
version: '2.10'
|
284
300
|
type: :development
|
285
301
|
prerelease: false
|
286
302
|
version_requirements: !ruby/object:Gem::Requirement
|
287
303
|
requirements:
|
288
304
|
- - "~>"
|
289
305
|
- !ruby/object:Gem::Version
|
290
|
-
version: '
|
306
|
+
version: '2.10'
|
291
307
|
- !ruby/object:Gem::Dependency
|
292
308
|
name: simplecov
|
293
309
|
requirement: !ruby/object:Gem::Requirement
|
294
310
|
requirements:
|
295
|
-
- - "
|
311
|
+
- - ">="
|
296
312
|
- !ruby/object:Gem::Version
|
297
|
-
version: '0.
|
313
|
+
version: '0.22'
|
298
314
|
type: :development
|
299
315
|
prerelease: false
|
300
316
|
version_requirements: !ruby/object:Gem::Requirement
|
301
317
|
requirements:
|
302
|
-
- - "
|
318
|
+
- - ">="
|
303
319
|
- !ruby/object:Gem::Version
|
304
|
-
version: '0.
|
320
|
+
version: '0.22'
|
305
321
|
- !ruby/object:Gem::Dependency
|
306
322
|
name: timecop
|
307
323
|
requirement: !ruby/object:Gem::Requirement
|
308
324
|
requirements:
|
309
|
-
- - "
|
325
|
+
- - ">="
|
310
326
|
- !ruby/object:Gem::Version
|
311
|
-
version: 0.9.
|
327
|
+
version: 0.9.6
|
312
328
|
type: :development
|
313
329
|
prerelease: false
|
314
330
|
version_requirements: !ruby/object:Gem::Requirement
|
315
331
|
requirements:
|
316
|
-
- - "
|
332
|
+
- - ">="
|
317
333
|
- !ruby/object:Gem::Version
|
318
|
-
version: 0.9.
|
334
|
+
version: 0.9.6
|
319
335
|
- !ruby/object:Gem::Dependency
|
320
336
|
name: vcr
|
321
337
|
requirement: !ruby/object:Gem::Requirement
|
322
338
|
requirements:
|
323
339
|
- - "~>"
|
324
340
|
- !ruby/object:Gem::Version
|
325
|
-
version: '
|
341
|
+
version: '6.0'
|
326
342
|
type: :development
|
327
343
|
prerelease: false
|
328
344
|
version_requirements: !ruby/object:Gem::Requirement
|
329
345
|
requirements:
|
330
346
|
- - "~>"
|
331
347
|
- !ruby/object:Gem::Version
|
332
|
-
version: '
|
348
|
+
version: '6.0'
|
333
349
|
- !ruby/object:Gem::Dependency
|
334
350
|
name: yard
|
335
351
|
requirement: !ruby/object:Gem::Requirement
|
336
352
|
requirements:
|
337
|
-
- - "
|
353
|
+
- - ">="
|
338
354
|
- !ruby/object:Gem::Version
|
339
|
-
version: 0.9.
|
355
|
+
version: 0.9.28
|
340
356
|
type: :development
|
341
357
|
prerelease: false
|
342
358
|
version_requirements: !ruby/object:Gem::Requirement
|
343
359
|
requirements:
|
344
|
-
- - "
|
360
|
+
- - ">="
|
345
361
|
- !ruby/object:Gem::Version
|
346
|
-
version: 0.9.
|
362
|
+
version: 0.9.28
|
347
363
|
- !ruby/object:Gem::Dependency
|
348
364
|
name: yard-activesupport-concern
|
349
365
|
requirement: !ruby/object:Gem::Requirement
|
350
366
|
requirements:
|
351
|
-
- - "
|
367
|
+
- - ">="
|
352
368
|
- !ruby/object:Gem::Version
|
353
369
|
version: 0.0.1
|
354
370
|
type: :development
|
355
371
|
prerelease: false
|
356
372
|
version_requirements: !ruby/object:Gem::Requirement
|
357
373
|
requirements:
|
358
|
-
- - "
|
374
|
+
- - ">="
|
359
375
|
- !ruby/object:Gem::Version
|
360
376
|
version: 0.0.1
|
361
377
|
description: A bundle of opinionated Apache Kafka / Confluent Schema Registry helpers.
|
@@ -378,6 +394,7 @@ files:
|
|
378
394
|
- Dockerfile
|
379
395
|
- Envfile
|
380
396
|
- Gemfile
|
397
|
+
- Guardfile
|
381
398
|
- LICENSE
|
382
399
|
- Makefile
|
383
400
|
- README.md
|
@@ -389,12 +406,32 @@ files:
|
|
389
406
|
- config/docker/.bashrc
|
390
407
|
- config/docker/.inputrc
|
391
408
|
- doc/assets/project.svg
|
409
|
+
- doc/kafka-playground/.gitignore
|
410
|
+
- doc/kafka-playground/Dockerfile
|
411
|
+
- doc/kafka-playground/Gemfile
|
412
|
+
- doc/kafka-playground/Gemfile.lock
|
413
|
+
- doc/kafka-playground/Makefile
|
414
|
+
- doc/kafka-playground/README.md
|
415
|
+
- doc/kafka-playground/bin/consume-topic
|
416
|
+
- doc/kafka-playground/bin/create-topic
|
417
|
+
- doc/kafka-playground/bin/delete-topic
|
418
|
+
- doc/kafka-playground/bin/list-topics
|
419
|
+
- doc/kafka-playground/bin/produce-event
|
420
|
+
- doc/kafka-playground/config/avro_schemas/.gitignore
|
421
|
+
- doc/kafka-playground/config/avro_schemas/playground_app/item_v1.avsc.erb
|
422
|
+
- doc/kafka-playground/config/avro_schemas/playground_app/payment_v1.avsc.erb
|
423
|
+
- doc/kafka-playground/config/avro_schemas/playground_app/payment_v1_event.avsc.erb
|
424
|
+
- doc/kafka-playground/config/docker/shell/.bash_profile
|
425
|
+
- doc/kafka-playground/config/docker/shell/.bashrc
|
426
|
+
- doc/kafka-playground/config/docker/shell/.config/kcat.conf
|
427
|
+
- doc/kafka-playground/config/docker/shell/.gemrc
|
428
|
+
- doc/kafka-playground/config/docker/shell/.inputrc
|
429
|
+
- doc/kafka-playground/config/environment.rb
|
430
|
+
- doc/kafka-playground/doc/assets/project.svg
|
431
|
+
- doc/kafka-playground/docker-compose.yml
|
432
|
+
- doc/kafka-playground/examples/rimless-produce
|
392
433
|
- docker-compose.yml
|
393
|
-
- gemfiles/rails_4.2.gemfile
|
394
|
-
- gemfiles/rails_5.0.gemfile
|
395
|
-
- gemfiles/rails_5.1.gemfile
|
396
434
|
- gemfiles/rails_5.2.gemfile
|
397
|
-
- gemfiles/rails_6.0.gemfile
|
398
435
|
- lib/rimless.rb
|
399
436
|
- lib/rimless/avro_helpers.rb
|
400
437
|
- lib/rimless/avro_utils.rb
|
@@ -422,9 +459,15 @@ files:
|
|
422
459
|
- lib/rimless/version.rb
|
423
460
|
- log/development.log
|
424
461
|
- rimless.gemspec
|
425
|
-
homepage:
|
426
|
-
licenses:
|
427
|
-
|
462
|
+
homepage:
|
463
|
+
licenses:
|
464
|
+
- MIT
|
465
|
+
metadata:
|
466
|
+
homepage_uri: https://github.com/hausgold/rimless
|
467
|
+
source_code_uri: https://github.com/hausgold/rimless
|
468
|
+
changelog_uri: https://github.com/hausgold/rimless/blob/master/CHANGELOG.md
|
469
|
+
bug_tracker_uri: https://github.com/hausgold/rimless/issues
|
470
|
+
documentation_uri: https://www.rubydoc.info/gems/rimless
|
428
471
|
post_install_message:
|
429
472
|
rdoc_options: []
|
430
473
|
require_paths:
|
@@ -433,14 +476,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
433
476
|
requirements:
|
434
477
|
- - ">="
|
435
478
|
- !ruby/object:Gem::Version
|
436
|
-
version: '
|
479
|
+
version: '2.5'
|
437
480
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
438
481
|
requirements:
|
439
482
|
- - ">="
|
440
483
|
- !ruby/object:Gem::Version
|
441
484
|
version: '0'
|
442
485
|
requirements: []
|
443
|
-
rubygems_version: 3.
|
486
|
+
rubygems_version: 3.3.8
|
444
487
|
signing_key:
|
445
488
|
specification_version: 4
|
446
489
|
summary: A bundle of opinionated Apache Kafka / Confluent Schema Registry helpers.
|