- Fixed bug when reference to prev node was not set correctly аfter using
shift
.
- Fixed bug when deleting the last node of the list. The @tail value was not updated if the @head value was updated.
Forced minimal rake version in gemspec to skip rake versions with security issues.
- Delete duplicate method definitions (nex3 in #7)
- Allow
List#delete
to delete aNode
in O(1) time (nex3 in #6)
- Added
insert
,insert_before
andinsert_after
methods (mpospelov in #3) - Added
reverse_each
andreverse_each_node
methods (mpospelov in #4)
- Added
delete
anddelete_all
methods (mpospelov in #2)
- Fixed bug when
@tail.prev
was mistekenly set tonil
instead of@tail.next
when popping elements off the list (Sonna in #1)
Initial release.