dogweather / naturally

Natural sort algorithm
MIT License
87 stars 20 forks source link

Improved Segment#to_array #15

Closed zedalaye closed 9 years ago

zedalaye commented 9 years ago

so Array#<=> can be used to compare Integer Segments with String Segments

dogweather commented 9 years ago

Hi, I'm sorry about the delay responding, I didn't have my notifications set correctly. Checking it out now.

uberjay commented 9 years ago

This fix is working well for me. I ran into this bug a few days ago, and stumbled across this bug/PR at just the right time. Thanks. :)

sigra commented 9 years ago

+1 for this PR

ompugao commented 9 years ago

+1 nice patch!

dogweather commented 9 years ago

Excellent, thank you everyone.

dogweather commented 9 years ago

Released new gem version 1.4.0 with this fix.