mirror of
https://github.com/ditkrg/outboxable.git
synced 2026-01-22 13:56:49 +00:00
Bumps to 0.1.6
This commit is contained in:
parent
286d11984b
commit
35496ea7b5
@ -1,7 +1,7 @@
|
||||
PATH
|
||||
remote: .
|
||||
specs:
|
||||
outboxable (0.1.5)
|
||||
outboxable (0.1.6)
|
||||
bunny (>= 2.19.0)
|
||||
connection_pool (~> 2.3.0)
|
||||
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
module Outboxable
|
||||
VERSION = '0.1.5'
|
||||
VERSION = '0.1.6'
|
||||
end
|
||||
|
||||
@ -6,7 +6,7 @@ class Outbox < ApplicationRecord
|
||||
before_save :check_publishing
|
||||
after_commit :publish, if: :allow_publish?
|
||||
# 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 }
|
||||
|
||||
# Validations
|
||||
|
||||
Loading…
Reference in New Issue
Block a user