Allows you to use any database that Sequel supports for your Bumbleworks process storage. Just including this gem in your gemfile will automatically register the adapter by default.
Add this line to your application's Gemfile:
gem 'bumbleworks-sequel'
Set Bumbleworks.storage to a Sequel database connection. You can use Sequel.connect for this. In a configure block, this looks like:
Bumbleworks.configure do |c|
c.storage = Sequel.connect('postgres://user:password@host:port/database_name')
# optionally, set the table to use for the key-value store
# (if not set, it will default to 'bumbleworks_documents')
#
# c.storage_options = { :sequel_table_name => 'bumbleworks_documents' }
# ...
end
Happy bumbling!
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request