Skip to content

Commit

Permalink
Merge branch 'feat/DEX-2733/fix-initialize-yabeda-metrics' into 'master'
Browse files Browse the repository at this point in the history
[DEX-2733] fix: initialize yabeda metrics

Closes DEX-2733

See merge request nstmrt/rubygems/sbmt-kafka_consumer!74
  • Loading branch information
Arlantir committed Dec 27, 2024
2 parents 713ca79 + d29d57d commit 988c8ee
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 5 deletions.
6 changes: 6 additions & 0 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,17 @@ include:
lint:
stage: test
image: ${BUILD_CONF_HARBOR_REGISTRY}/dhub/library/ruby:3.3
tags:
- paas-tests
script:
- bundle install
- bundle exec rubocop

tests:
stage: test
image: ${BUILD_CONF_HARBOR_REGISTRY}/dhub/library/ruby:$RUBY_VERSION
tags:
- paas-tests
parallel:
matrix:
- RUBY_VERSION: ['3.0', '3.1', '3.2', '3.3']
Expand All @@ -23,6 +27,8 @@ tests:
POSTGRES_HOST_AUTH_METHOD: trust
DATABASE_URL: postgres://postgres:secret@postgres:5432
before_script:
- gem sources --remove https://rubygems.org/
- gem sources --add ${RUBYGEMS_PUBLIC_SOURCE}
- gem install bundler -v 2.3.26
- bin/setup
script:
Expand Down
5 changes: 3 additions & 2 deletions Appraisals
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,9 @@
versions_map = {
"6.1" => %w[2.7 3.0],
"7.0" => %w[3.1],
"7.1" => %w[3.2, 3.3],
"7.2" => %w[3.3]
"7.1" => %w[3.2],
"7.2" => %w[3.3],
"8.0" => %w[3.3]
}

current_ruby_version = RUBY_VERSION.split(".").first(2).join(".")
Expand Down
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,12 @@ and this project adheres to [Semantic Versioning](http://semver.org/).

### Fixed

## [3.3.1] - 2024-12-26

### Fixed

- Fix initialize yabeda metrics

## [3.3.0] - 2024-09-30

### Added
Expand Down
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# frozen_string_literal: true

source "https://rubygems.org"
source ENV.fetch("RUBYGEMS_PUBLIC_SOURCE", "https://rubygems.org/")

gemspec

Expand Down
2 changes: 1 addition & 1 deletion lib/sbmt/kafka_consumer/railtie.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
module Sbmt
module KafkaConsumer
class Railtie < Rails::Railtie
initializer "sbmt_kafka_consumer_yabeda.configure_rails_initialization" do
config.before_initialize do
YabedaConfigurer.configure
end

Expand Down
2 changes: 1 addition & 1 deletion lib/sbmt/kafka_consumer/version.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@

module Sbmt
module KafkaConsumer
VERSION = "3.3.0"
VERSION = "3.3.1"
end
end

0 comments on commit 988c8ee

Please sign in to comment.