From 35496ea7b5d48229767c0a34887f6905003b5b13 Mon Sep 17 00:00:00 2001 From: Brusk Awat Date: Tue, 11 Apr 2023 14:09:19 +0300 Subject: [PATCH] Bumps to 0.1.6 --- Gemfile.lock | 2 +- lib/outboxable/version.rb | 2 +- lib/templates/outbox.rb | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Gemfile.lock b/Gemfile.lock index 90f43dc..26fc59a 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,7 +1,7 @@ PATH remote: . specs: - outboxable (0.1.5) + outboxable (0.1.6) bunny (>= 2.19.0) connection_pool (~> 2.3.0) diff --git a/lib/outboxable/version.rb b/lib/outboxable/version.rb index 4021175..ca7bd40 100644 --- a/lib/outboxable/version.rb +++ b/lib/outboxable/version.rb @@ -1,5 +1,5 @@ # frozen_string_literal: true module Outboxable - VERSION = '0.1.5' + VERSION = '0.1.6' end diff --git a/lib/templates/outbox.rb b/lib/templates/outbox.rb index d58dbf8..a881d4f 100644 --- a/lib/templates/outbox.rb +++ b/lib/templates/outbox.rb @@ -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