mirror of
https://github.com/ditkrg/outboxable.git
synced 2026-01-22 13:56:49 +00:00
Bumps version
This commit is contained in:
parent
a5153324d5
commit
ee8dae21d5
@ -1,7 +1,7 @@
|
||||
PATH
|
||||
remote: .
|
||||
specs:
|
||||
outboxable (0.1.8)
|
||||
outboxable (1.0.1)
|
||||
bunny (>= 2.19.0)
|
||||
connection_pool (~> 2.3.0)
|
||||
simple_enum (>= 2.3)
|
||||
|
||||
@ -5,8 +5,8 @@ module Outboxable
|
||||
source_root File.expand_path('../../templates', __dir__)
|
||||
class_option :orm, type: :string, default: 'activerecord'
|
||||
|
||||
def initialize
|
||||
super
|
||||
def initialize(**options)
|
||||
super(options)
|
||||
|
||||
@orm = options[:orm] || 'activerecord'
|
||||
%w[activerecord mongoid].include?(@orm) || raise(ArgumentError, 'Invalid ORM. Only ActiveRecord and Mongoid are supported.')
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
module Outboxable
|
||||
VERSION = '0.1.8'
|
||||
VERSION = '1.0.1'
|
||||
end
|
||||
|
||||
Loading…
Reference in New Issue
Block a user