RubyGems Navigation menu

bit_magic 0.1.2

This gem provides basic utility classes for reading and writing specific bits as flags or fields on Integer values. It lets you turn a single integer value into a collection of boolean values (flags) or smaller numbers (fields). Includes integration adapters for ActiveRecord and Mongoid with a simple interface to make your own custom adapter for any other ORM (ActiveModel, ActiveResource, etc).

Versions:

  1. 0.1.2 - September 13, 2018 (27 KB)
  2. 0.1.1 - September 12, 2018 (26.5 KB)
Show all versions (3 total)

Development Dependencies (4):

  • bundler ~> 1.16
  • coco ~> 0.15
  • minitest ~> 5.0
  • rake ~> 10.0
  • Owners:

    Authors:

    • Kia Kroas

    SHA 256 checksum:

    8faa9742abed2010d74c513bf3aa6fe665c30cad89d3ed114cc044c8654f4122

    Total downloads 1,485

    For this version 834

    Gemfile:
    = Copy to clipboard Copied!

    install:
    =

    License:

    MIT

    Required Ruby Version: >= 0

    Links: