All notable changes to this project will be documented in this file.
- Added Sequel 5 support
- Added Ruby 2.2, 2.3, 2.4 support
- Removed support for Ruby 2.1 and older
- Possibility to check if a bit has changed via
bit_changed?
- Use keepachangelog format for this change log
- Use
db
rather thanDB
pg
dependency- PostgreSQL specific test
- Fix quotation for postgres.
- Added shorthand assignments.
- Sequel removed some core extensions. Regression has been taken into account.
- defined methods to the instances that reflects the value of the bitfield
- bit-field symbols are transformed into objects
- this allows to add additional information to the bit-fields like description and such thingies.
- added possibility to specify relevant values for bit_field_values_for
- added possibilty to define the table name when using
_sql
methods
- fixed interpretation of bit_fields passed to the constructor
- fixed compatibility of Model.new
- added scoping of bit_fields
- added support for truthy or falsy values
- fixed setting of false if bit_fields was previously already false
- class methods used to get defined for all classes. this is fixed.
- added method that returns a hash of defined columns and it's indexes
- added method that returns a hash of defined columns and it's values
- added methods that returns the defined columns and it's attributes
- use fully qualified column names in sql statements
- fixed folder structure
- support for Model.field_sql(boolean) added
- increased speed by calculating 2**i only once
- first working version
- support for field= and field? added