bootstrap-ruby / will_paginate-bootstrap

Integrates the Twitter Bootstrap pagination component with will_paginate
MIT License
388 stars 160 forks source link

Fix deprecation warnings for Ruby 2.4 #51

Open francocatena opened 7 years ago

francocatena commented 7 years ago

Since 2.4 deprecate the use of constant Fixnum, now check for 0.class instead (to ensure compatibility with older versions).

Cheers.

alejandrodevs commented 7 years ago

Could someone merge this?

owen2345 commented 7 years ago

Hey @nickpad can you please merge this? I am using this on Camaleon CMS and I need this solved.

jesperronn commented 7 years ago

If you release a version, then it would only be a new patch version, right?

bmalets commented 6 years ago

why not just replace Fixnum with Numeric?

francocatena commented 6 years ago

@bmalets Since this project is no longer maintained (I realized this after the PR) any further discussion is pointless =)