tenderlove / mmap

A wrapper around mmap
63 stars 14 forks source link

Update for modern ruby. #8

Open lyda opened 7 years ago

lyda commented 7 years ago

Move version into mmap/version.rb. Update gemspec with modern settings. Update gitignore. Can now be installed with ruby 2.x.

This should resolve issue #6 and #1. There are some other pull requests that also fix this, but this generally stays with the way you've built it in the past.

Regardless, could one of them get merged and then released as the current mmap gem doesn't work with modern rubies.

lyda commented 7 years ago

Unfortunately this won't work for Ruby 1.x versions. Not sure why.

So for now I've created an mmap2 gem since that wouldn't harm older code.