Bumps to 0.1.6

This commit is contained in:
Brusk Awat 2023-04-11 14:09:19 +03:00
parent 286d11984b
commit 35496ea7b5
Signed by: broosk1993
GPG Key ID: 5D20F7E02649F74E
3 changed files with 3 additions and 3 deletions

View File

@ -1,7 +1,7 @@
PATH
remote: .
specs:
outboxable (0.1.5)
outboxable (0.1.6)
bunny (>= 2.19.0)
connection_pool (~> 2.3.0)

View File

@ -1,5 +1,5 @@
# frozen_string_literal: true
module Outboxable
VERSION = '0.1.5'
VERSION = '0.1.6'
end

View File

@ -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