adding partition by support for window functions
update gems source