mirror of
https://github.com/ditkrg/outboxable.git
synced 2026-01-22 22:06:47 +00:00
Bumps to 0.1.6
This commit is contained in:
parent
286d11984b
commit
35496ea7b5
@ -1,7 +1,7 @@
|
|||||||
PATH
|
PATH
|
||||||
remote: .
|
remote: .
|
||||||
specs:
|
specs:
|
||||||
outboxable (0.1.5)
|
outboxable (0.1.6)
|
||||||
bunny (>= 2.19.0)
|
bunny (>= 2.19.0)
|
||||||
connection_pool (~> 2.3.0)
|
connection_pool (~> 2.3.0)
|
||||||
|
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
# frozen_string_literal: true
|
# frozen_string_literal: true
|
||||||
|
|
||||||
module Outboxable
|
module Outboxable
|
||||||
VERSION = '0.1.5'
|
VERSION = '0.1.6'
|
||||||
end
|
end
|
||||||
|
|||||||
@ -6,7 +6,7 @@ class Outbox < ApplicationRecord
|
|||||||
before_save :check_publishing
|
before_save :check_publishing
|
||||||
after_commit :publish, if: :allow_publish?
|
after_commit :publish, if: :allow_publish?
|
||||||
# Enums
|
# Enums
|
||||||
enum status: { pending: 0, published: 1, failed: 2 }
|
enum status: { pending: 0, processing: 1, published: 2, failed: 3 }
|
||||||
enum size: { single: 0, batch: 1 }
|
enum size: { single: 0, batch: 1 }
|
||||||
|
|
||||||
# Validations
|
# Validations
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user