Introduction

This gem provides simple sequence management functionality.

Configuration

You can only use one type of sequence manager implementation.

implement sequence on a file

:steenzout-sqnc:
  :implementation: :file
  :sequences:
    :seq1:
      :location: '/opt/local/steenzout/sequence1'
    :seq2:
      :location: '/opt/local/steenzout/sequence2'
      :step: 100
      :offset: 100

implement sequence on a TokyoCabinet database

:steenzout-sqnc:
  :implementation: :tokyocabinet
  :sequences:
    :seq1:
      :location: '/opt/local/steenzout/sequence1.tch'
    :seq2:
      :location: '/opt/local/steenzout/sequence2.tch'
      :step: 100
      :offset: 100