Skip to content

Commit

Permalink
Merge branch 'feat/DEX-2629/change-DEFAULT_PARTITION_STRATEGY-to-stri…
Browse files Browse the repository at this point in the history
…ng' into 'master'

[DEX-2629] feat: change  to string

Closes DEX-2629

See merge request nstmrt/rubygems/outbox!104
  • Loading branch information
Arlantir committed Oct 1, 2024
2 parents 93467c2 + 661cc32 commit d3ff6de
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
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

## [6.10.2] - 2024-09-30

### Fixed

- change `DEFAULT_PARTITION_STRATEGY` to string

## [6.10.1] - 2024-09-23

### Fixed
Expand Down
2 changes: 1 addition & 1 deletion app/models/sbmt/outbox/base_item_config.rb
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ def retry_strategies
def partition_strategy
return @partition_strategy if defined?(@partition_strategy)

str_name = options.fetch(:partition_strategy, DEFAULT_PARTITION_STRATEGY)
str_name = options.fetch(:partition_strategy, DEFAULT_PARTITION_STRATEGY).to_s
@partition_strategy = "Sbmt::Outbox::PartitionStrategies::#{str_name.camelize}Partitioning".constantize
end

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

module Sbmt
module Outbox
VERSION = "6.10.1"
VERSION = "6.10.2"
end
end

0 comments on commit d3ff6de

Please sign in to comment.