Gem to manage sequences.
Ruby
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
config
lib
test/unit/sqnc
.gitignore
.rvmrc
CHANGELOG
Gemfile
README.md
steenzout-sqnc.gemspec

README.md

steenzout-sqnc

Code Climate Gem Version steenzout-sqnc API Documentation

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