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