Skip to content

Latest commit

 

History

History
181 lines (112 loc) · 9.06 KB

CHANGELOG.md

File metadata and controls

181 lines (112 loc) · 9.06 KB

Change Log

v2.6.0 (2024-10-22)

Full Changelog

Implemented enhancements:

  • Add ability to specify foreign key suffix on enum class.

v2.5.4 (2023-01-09)

Full Changelog

Implemented enhancements:

  • Add MIT license file.

v2.5.3 (2022-02-02)

Full Changelog

Fixed bugs:

  • Prevent method_missing instantiates new instance of Enumerations::Base; returns String instead

Merged pull requests:

  • Prevent method_missing to instantiates new Enumerations::Base #58 (PetarCurkovic)

v2.5.2 (2022-01-27)

Full Changelog

Implemented enhancements:

  • Adds Ruby 3.1 to test suite. Changes the runner to ubuntu-latest.

Closed issues:

  • Ruby 3.0, respond_to? :name always returns true #55

Merged pull requests:

v2.5.1 (2021-05-24)

Full Changelog

Implemented enhancements:

  • Add support for Ruby 3 #52

v2.5.0 (2021-03-03)

Full Changelog

Implemented enhancements:

  • Add raise_invalid_value_error configuration option to disable raising errors on invalid values

v2.4.0 (2019-02-07)

Full Changelog

Implemented enhancements:

  • Add translate_attributes configuration option to disable translation of attributes

v2.3.3 (2019-19-09)

Full Changelog

v2.3.2 (2019-03-27)

Full Changelog

v2.3.1 (2017-09-08)

Full Changelog

v2.3.0 (2017-09-08)

Full Changelog

Implemented enhancements:

  • Setting attribute to nil if enumeration value is unknown - surprising? #35
  • Add without methods #31
  • Add methods with '?' #19
  • Add with_enumeration(enumeration) scope #18

Closed issues:

  • Not assigning the enumeration when tweaking the primary and foreign key #32
  • Undocumented feature - can't set attribute if it's not in the enumeration #30

Merged pull requests:

v2.2.3 (2017-03-17)

Full Changelog

v2.2.2 (2017-03-01)

Full Changelog

Implemented enhancements:

  • Add id and quoted_id methods #20

Fixed bugs:

  • Error when assiging nil #21

Closed issues:

  • upgrade to new codeclimate reporter #25
  • Giving a invalid enum name raises an error #23
  • Make second argument to Enumerations.value optional #22

Merged pull requests:

v2.2.1 (2016-09-20)

Full Changelog

Closed issues:

  • Add option to store foreign_key as string #14

Merged pull requests:

v2.2.0 (2016-09-19)

Full Changelog

Merged pull requests:

v2.1.0 (2016-08-19)

Full Changelog

Closed issues:

  • Moved all back to Base #9
  • I18n.locale #6
  • Case statement #3

Merged pull requests:

v2.0.0 (2016-08-17)

Full Changelog

Merged pull requests:

v1.3.0 (2016-08-11)

Full Changelog

v1.1.1 (2016-06-07)

Full Changelog

Merged pull requests:

v1.1.0 (2012-08-19)

Merged pull requests: