Permalink
Commits on Sep 16, 2017
  1. Merge pull request #133 from aovertus/extensions/add_scopes

    lwe committed Sep 16, 2017
    add scopes extension to simple_enum extensions
Commits on Sep 13, 2017
Commits on Apr 12, 2017
  1. Merge pull request #131 from thenifty/fix-codeclimate

    lwe committed Apr 12, 2017
    Fix codeclimate
Commits on Apr 11, 2017
  1. Fix codeclimate

    aledalgrande committed Apr 11, 2017
  2. Merge pull request #129 from thenifty/update-travis

    lwe committed Apr 11, 2017
    Update Travis configuration to include latest combos
  3. Merge pull request #130 from thenifty/update-version-in-readme

    lwe committed Apr 11, 2017
    Update gem version in README
Commits on Apr 10, 2017
Commits on Mar 17, 2016
  1. Merge pull request #119 from olivierlacan/patch-1

    lwe committed Mar 17, 2016
    Use SVG Code Climate badge
Commits on Mar 16, 2016
  1. Use SVG Code Climate badge

    olivierlacan committed Mar 16, 2016
    It's nice ;-)
Commits on Sep 24, 2015
  1. updated LICENSE to include 2015

    lwe committed Sep 24, 2015
  2. updated contributors

    lwe committed Sep 24, 2015
  3. fixed README formatting

    lwe committed Sep 24, 2015
Commits on Sep 21, 2015
  1. Revert "use 'enum.accessor' instead of sending method"

    lwe committed Sep 21, 2015
    This reverts commit 00de2a3.
Commits on Sep 20, 2015
Commits on Sep 15, 2015
  1. improve mongoid related specs

    lwe committed Sep 15, 2015
Commits on Sep 14, 2015
  1. prepare 2.2.1 release

    lwe committed Sep 14, 2015
  2. Merge pull request #112 from lwe/lwe-mongoid-5x

    lwe committed Sep 14, 2015
    Test for mongoid 4.x and 5.x
  3. test for mongoid 4.x and 5.x

    lwe committed Sep 14, 2015
  4. Merge pull request #111 from luvtechno/luvtechno/enum_values

    lwe committed Sep 14, 2015
    Add SimpleEnum::Enum#values
  5. Add SimpleEnum::Enum#values

    luvtechno committed Sep 14, 2015
  6. require mongoid 4.x

    lwe committed Sep 14, 2015
  7. Merge pull request #110 from lwe/lwe-109-dirty-attribute-fix

    lwe committed Sep 14, 2015
    Read #changed_attributes instead of _was #109
Commits on Aug 20, 2015
  1. restrict monogid to >= 4.0.0

    lwe committed Aug 20, 2015
  2. read #changed_attributes instead of _was #109

    lwe committed Aug 20, 2015
    When `as_enum :column, ..., source: :column` is used, then #attribute_was
    was not returning the correct value.
    
    Previously simple_enum delegated directly to #attribute_was method,
    internally Rails redirects to __send__(attr) if the attribute was
    not changed and so it returned the symbolized value, e.g. :female.
    
    The current version now delegates directly to #changed_attributes.fetch
Commits on Jun 19, 2015
  1. Merge pull request #105 from thisiserik/master

    lwe committed Jun 19, 2015
    Update README.md
  2. Update README.md

    Erik committed Jun 19, 2015
Commits on Jun 8, 2015
  1. Merge pull request #104 from mainameiz/fetch-method

    lwe committed Jun 8, 2015
    SE::Enum#fetch
Commits on Jun 7, 2015
  1. SE::Enum#fetch

    mainameiz committed Jun 6, 2015
Commits on May 12, 2015