-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add dry_configurable to gemspec * Use dry-configurable, remove custom config setup
- Loading branch information
1 parent
6d4fa02
commit 4ebff3c
Showing
7 changed files
with
21 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,15 @@ | ||
# frozen_string_literal: true | ||
|
||
require 'active_outbox/adapter_helper' | ||
require 'active_outbox/configuration' | ||
require 'active_outbox/errors' | ||
require 'active_outbox/generators/active_outbox_generator' | ||
require 'active_outbox/outboxable' | ||
require 'active_outbox/railtie' if defined?(Rails::Railtie) | ||
require 'dry-configurable' | ||
|
||
module ActiveOutbox | ||
extend Dry::Configurable | ||
|
||
setting :adapter, default: :sqlite | ||
setting :outbox_mapping, default: {} | ||
end |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters