diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 2beda2d..1b9d516 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -22,7 +22,7 @@ tests: - RUBY_VERSION: ['3.0', '3.1', '3.2', '3.3'] before_script: - gem sources --remove https://rubygems.org/ - - gem sources --add ${NEXUS_PUBLIC_SOURCE_URL} + - gem sources --add ${RUBYGEMS_PUBLIC_SOURCE} - bin/setup script: - bundle exec appraisal rspec --format RspecJunitFormatter --out test-results/rspec_$RUBY_VERSION.xml --format documentation diff --git a/Appraisals b/Appraisals index 093b1f9..fcdec31 100644 --- a/Appraisals +++ b/Appraisals @@ -6,7 +6,8 @@ versions_map = { "6.1" => %w[2.7 3.0], "7.0" => %w[3.1], "7.1" => %w[3.2], - "7.2" => %w[3.3] + "7.2" => %w[3.3], + "8.0" => %w[3.3] } current_ruby_version = RUBY_VERSION.split(".").first(2).join(".") diff --git a/CHANGELOG.md b/CHANGELOG.md index f94b6f0..f88e780 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,6 +13,12 @@ and this project adheres to [Semantic Versioning](http://semver.org/). ### Fixed +## [3.2.1] - 2024-12-26 + +### Fixed + +- Fix initialize yabeda metrics + ## [3.2.0] - 2024-11-22 ### Changed diff --git a/Gemfile b/Gemfile index f1c034f..236b80b 100644 --- a/Gemfile +++ b/Gemfile @@ -1,5 +1,5 @@ # frozen_string_literal: true -source ENV.fetch("NEXUS_PUBLIC_SOURCE_URL", "https://rubygems.org") +source ENV.fetch("RUBYGEMS_PUBLIC_SOURCE", "https://rubygems.org") gemspec diff --git a/lib/sbmt/kafka_producer/railtie.rb b/lib/sbmt/kafka_producer/railtie.rb index b4183b5..1b64d23 100644 --- a/lib/sbmt/kafka_producer/railtie.rb +++ b/lib/sbmt/kafka_producer/railtie.rb @@ -3,7 +3,7 @@ module Sbmt module KafkaProducer class Railtie < Rails::Railtie - initializer "sbmt_kafka_producer_yabeda.configure_rails_initialization" do + config.before_initialize do YabedaConfigurer.configure end diff --git a/lib/sbmt/kafka_producer/version.rb b/lib/sbmt/kafka_producer/version.rb index e105b45..96674bf 100644 --- a/lib/sbmt/kafka_producer/version.rb +++ b/lib/sbmt/kafka_producer/version.rb @@ -2,6 +2,6 @@ module Sbmt module KafkaProducer - VERSION = "3.2.0" + VERSION = "3.2.1" end end