Skip to content

Commit

Permalink
Merge branch 'feat/DEX-2707/fix-support-enum-for-rails-v6' into 'master'
Browse files Browse the repository at this point in the history
Resolve DEX-2707 "Feat//fix support enum for rails v6"

Closes DEX-2707

See merge request nstmrt/rubygems/outbox!111
  • Loading branch information
Arlantir committed Jan 15, 2025
2 parents bcaf620 + 102f670 commit 1e636f0
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 5 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.13.1] - 2025-01-15

### Fixed

- Fix support enum for rails < 7

## [6.13.0] - 2025-01-15

### Added
Expand Down
7 changes: 3 additions & 4 deletions app/models/sbmt/outbox/base_item.rb
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
# frozen_string_literal: true

# For compatibility with rails < 7
# Remove when drop support of Rails < 7
require_relative "../../../../lib/sbmt/outbox/enum_refinement"
using Sbmt::Outbox::EnumRefinement

module Sbmt
module Outbox
class BaseItem < Outbox.active_record_base_class
# For compatibility with rails < 7
# Remove when drop support of Rails < 7
using EnumRefinement

self.abstract_class = true

class << self
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.13.0"
VERSION = "6.13.1"
end
end

0 comments on commit 1e636f0

Please sign in to comment.