-
Notifications
You must be signed in to change notification settings - Fork 0
/
sbmt-kafka_consumer.gemspec
70 lines (61 loc) · 3.18 KB
/
sbmt-kafka_consumer.gemspec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
# frozen_string_literal: true
require_relative "lib/sbmt/kafka_consumer/version"
Gem::Specification.new do |spec|
spec.name = "sbmt-kafka_consumer"
spec.license = "MIT"
spec.version = Sbmt::KafkaConsumer::VERSION
spec.authors = ["Kuper Ruby-Platform Team"]
spec.summary = "Ruby gem for consuming Kafka messages"
spec.description = "This gem is used for consuming Kafka messages. It represents a wrapper over Karafka gem and is recommended for using as a transport with sbmt-outbox"
spec.homepage = "https://github.com/Kuper-Tech/sbmt-kafka_consumer"
spec.required_ruby_version = ">= 3.0.0"
spec.metadata["allowed_push_host"] = "https://rubygems.org"
spec.metadata["homepage_uri"] = spec.homepage
spec.metadata["source_code_uri"] = spec.homepage
spec.metadata["changelog_uri"] = "#{spec.homepage}/blob/master/CHANGELOG.md"
spec.metadata["rubygems_mfa_required"] = "false" # rubocop:disable Gemspec/RequireMFA
# Specify which files should be added to the gem when it is released.
# The `git ls-files -z` loads the files in the RubyGem that have been added into git.
spec.files = Dir.chdir(__dir__) do
`git ls-files -z`.split("\x0").reject do |f|
(f == __FILE__) || f.match(%r{\A(?:(?:bin|test|spec|features)/|\.(?:git|travis|circleci)|appveyor)})
end
end
spec.bindir = "exe"
spec.executables = spec.files.grep(%r{\Aexe/}) { |f| File.basename(f) }
spec.require_paths = ["lib"]
spec.add_dependency "rails", ">= 6.1"
spec.add_dependency "zeitwerk", "~> 2.3"
spec.add_dependency "karafka", "~> 2.4"
spec.add_dependency "yabeda", ">= 0.11"
spec.add_dependency "anyway_config", ">= 2.4.0"
spec.add_dependency "thor"
spec.add_dependency "dry-struct"
spec.add_development_dependency "appraisal", ">= 2.4"
spec.add_development_dependency "bundler", ">= 2.1"
spec.add_development_dependency "combustion", ">= 1.3"
spec.add_development_dependency "rake", ">= 13.0"
spec.add_development_dependency "dry-monads", ">= 1.3"
spec.add_development_dependency "factory_bot_rails"
spec.add_development_dependency "pg"
spec.add_development_dependency "google-protobuf"
spec.add_development_dependency "sentry-rails", ">= 5.2"
spec.add_development_dependency "opentelemetry-sdk"
spec.add_development_dependency "opentelemetry-api", ">= 0.17"
spec.add_development_dependency "opentelemetry-common", ">= 0.17"
spec.add_development_dependency "opentelemetry-instrumentation-base", ">= 0.17"
spec.add_development_dependency "rspec", ">= 3.0"
spec.add_development_dependency "rspec_junit_formatter", ">= 0.6"
spec.add_development_dependency "rspec-rails", ">= 4.0"
spec.add_development_dependency "rubocop-rails", ">= 2.5"
spec.add_development_dependency "rubocop-rspec", ">= 2.11"
spec.add_development_dependency "sbmt-outbox", ">= 5.0"
spec.add_development_dependency "simplecov", ">= 0.16"
spec.add_development_dependency "standard", ">= 1.12"
# let metrics and probes work in dev-mode with combustion
# e.g. RAILS_ENV=development bundle exec kafka_consumer
spec.add_development_dependency "yabeda-prometheus-mmap"
spec.add_development_dependency "webrick"
spec.add_development_dependency "rack"
spec.add_development_dependency "http_health_check"
end