- Fixed a bug where updating to a
nilvalue didn't update the index.
- Do not index nil values. You can do a manual
to_fin case you need to preserve the old behaviour
- Fix
SortedSet#sizewhen using slicing
- Fix broken
SortedSet#eachbehavior
-
You can now use
SortedSet#reverseto query in reverse order.For instance:
Post.sorted_find(:created_at).reverse.between(Time.now - 10, Time.now) -
SortedSet#eachnow returns an Enumerator when called without a block
- Return correct set size for ranged sets
- Simplify query API
- Fix empty? method for SortedSet in Ohm legacy
- Major refactor of the plugin internals
- Change syntax for declaring sorted indices
- Initial release