Skip to content

Commit 4d7caba

Browse files
author
Сайганов Сергей Юрьевич
committed
Merge branch 'feat/DEX-3062/update-dependencies' into 'master'
[DEX-3062] feat: update dependencies Closes DEX-3062 See merge request nstmrt/rubygems/sbmt-kafka_consumer!92
2 parents 48bfa6c + 8de9189 commit 4d7caba

7 files changed

Lines changed: 24 additions & 12 deletions

File tree

.gitlab-ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ tests:
1919
- paas-tests
2020
parallel:
2121
matrix:
22-
- RUBY_VERSION: ['3.0', '3.1', '3.2', '3.3']
22+
- RUBY_VERSION: ['3.2', '3.3', '3.4']
2323
services:
2424
- name: ${BUILD_CONF_HARBOR_REGISTRY}/dhub/library/postgres:13
2525
alias: postgres

Appraisals

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,10 @@
33
# See compatibility table at https://www.fastruby.io/blog/ruby/rails/versions/compatibility-table.html
44

55
versions_map = {
6-
"6.1" => %w[3.0],
7-
"7.0" => %w[3.1],
86
"7.1" => %w[3.2],
97
"7.2" => %w[3.3],
10-
"8.0" => %w[3.3]
8+
"8.0" => %w[3.3],
9+
"8.1" => %w[3.4]
1110
}
1211

1312
current_ruby_version = RUBY_VERSION.split(".").first(2).join(".")

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,13 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
1313

1414
### Fixed
1515

16+
## [3.9.0] - 2026-05-26
17+
18+
## BREAKING
19+
20+
- Drop support for Ruby 3.0/3.1
21+
- Add support for Karafka 2.5
22+
1623
## [3.8.0] - 2026-03-03
1724

1825
### Added

dip.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,14 +35,14 @@ interaction:
3535
subcommands:
3636
all:
3737
command: bundle exec appraisal rspec
38-
rails-6.1:
39-
command: bundle exec appraisal rails-6.1 rspec
40-
rails-7.0:
41-
command: bundle exec appraisal rails-7.0 rspec
4238
rails-7.1:
4339
command: bundle exec appraisal rails-7.1 rspec
4440
rails-7.2:
4541
command: bundle exec appraisal rails-7.2 rspec
42+
rails-8.0:
43+
command: bundle exec appraisal rails-8.0 rspec
44+
rails-8.1:
45+
command: bundle exec appraisal rails-8.1 rspec
4646

4747
rubocop:
4848
description: Run Ruby linter

lib/sbmt/kafka_consumer/testing/shared_contexts/with_sbmt_karafka_consumer.rb

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,12 @@
1212
instance
1313
}
1414
let(:test_consumer_group) { Karafka::Routing::ConsumerGroup.new(:test_group) }
15-
let(:test_topic) { Karafka::Routing::Topic.new(:test_topic, test_consumer_group) }
15+
let(:test_topic) do
16+
topic = Karafka::Routing::Topic.new(:test_topic, test_consumer_group)
17+
topic.subscription_group_details = test_consumer_group.current_subscription_group_details
18+
topic
19+
end
20+
let(:test_topics) { Karafka::Routing::Topics.new([test_topic]) }
1621
let(:kafka_client) { instance_double(Karafka::Connection::Client) }
1722
let(:null_deserializer) { Sbmt::KafkaConsumer::Serialization::NullDeserializer.new }
1823
let(:client_configurer_options) { {skip_regexp_consumers_init: true} }
@@ -22,6 +27,7 @@
2227

2328
before {
2429
Sbmt::KafkaConsumer::ClientConfigurer.configure!(**client_configurer_options)
30+
test_consumer_group.subscription_groups_builder.call(test_topics)
2531
allow(kafka_client).to receive(:assignment_lost?).and_return(false)
2632
allow(kafka_client).to receive(:mark_as_consumed!).and_return(true)
2733
allow(kafka_client).to receive(:mark_as_consumed).and_return(true)

lib/sbmt/kafka_consumer/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22

33
module Sbmt
44
module KafkaConsumer
5-
VERSION = "3.8.0"
5+
VERSION = "3.9.0"
66
end
77
end

sbmt-kafka_consumer.gemspec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Gem::Specification.new do |spec|
1111
spec.summary = "Ruby gem for consuming Kafka messages"
1212
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"
1313
spec.homepage = "https://github.com/Kuper-Tech/sbmt-kafka_consumer"
14-
spec.required_ruby_version = ">= 3.0.0"
14+
spec.required_ruby_version = ">= 3.2.0"
1515

1616
spec.metadata["allowed_push_host"] = ENV.fetch("NEXUS_URL", "https://rubygems.org")
1717

@@ -33,7 +33,7 @@ Gem::Specification.new do |spec|
3333

3434
spec.add_dependency "rails", ">= 6.1"
3535
spec.add_dependency "zeitwerk", "~> 2.3"
36-
spec.add_dependency "karafka", "~> 2.4.0"
36+
spec.add_dependency "karafka", "~> 2.5.1"
3737
spec.add_dependency "yabeda", ">= 0.11"
3838
spec.add_dependency "anyway_config", ">= 2.4.0"
3939
spec.add_dependency "thor"

0 commit comments

Comments
 (0)