Bumps version

This commit is contained in:
Brusk Awat 2023-04-13 23:44:14 +03:00
parent a5153324d5
commit ee8dae21d5
Signed by: broosk1993
GPG Key ID: 5D20F7E02649F74E
3 changed files with 4 additions and 4 deletions

View File

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

View File

@ -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.')

View File

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