jorgemanrubia / truncato

A tool for truncating HTML strings efficiently
MIT License
59 stars 17 forks source link

Update nokogiri dependency #16

Closed mrcasals closed 7 years ago

mrcasals commented 7 years ago

Hi!

I'm using tuncato on https://github.com/AjuntamentdeBarcelona/decidim and I'm trying to upgrade my project to use Ruby 2.4, but I'm getting some warnings due to not being able to upgrade nokogiri to its latest version (1.7.0.1 as of today). Truncato seems to be blocking nokogiri from upgrading since it requires nokogiri ~>1.6.1.

This PR updates nokogiri and html_truncator gems to their latest version so that we can use nokogiri 1.7 without problems.

Test suite was green on my machine.

jorgemanrubia commented 7 years ago

Thanks @mrcasals. I will fix the spec and release a new version

jorgemanrubia commented 7 years ago

Version 0.7.9 released with this change. Thanks!

mrcasals commented 7 years ago

Yay, thanks! :)