RubyGems Navigation menu

bit_magic 0.1.1

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).

Gemfile:
= Copy to clipboard Copied!

install:
=

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:

bf38ca8f03c3ae3c84952e1ddab3518671d08530789a2eb3e31608814e64e23c

Total downloads 4,127

For this version 1,740

License:

MIT

Required Ruby Version: >= 0

Links: