panthomakos / guard-yard

Guard gem for YARD.
MIT License
33 stars 13 forks source link

guard-yard for ruby 1.8.7 #8

Closed nitinmohan87 closed 10 years ago

nitinmohan87 commented 11 years ago

This is an awesome project which helps me browse through yard documentation faster. Why does this gem require ruby 1.9.2 or greater? I am perfectly able to run this project in ruby 1.8.7.

L2G commented 10 years ago

There was a big deal about the Ruby project dropping official support for 1.8.7 at the end of June 2013 since it is so old and we were up to Ruby 2.0.0 by that time (but now we are up to 2.1.0).

Since then, Heroku has stepped up and offered to support security patches to 1.8.7 (and 1.9.2) through June 2014.

But I would switch to Ruby 2.x sooner rather than later. The Ruby project plans to end support for 1.9.3 next year.

nitinmohan87 commented 10 years ago

I can totally understand dropping support for 1.8. Just curious why the ruby 1.9 limitation was enforced in the gemspec. Thanks.

panthomakos commented 10 years ago

Ruby 1.9 is enforced in the gemspec as a way of indicating that the gem was not tested/verified on 1.8. My understanding was that this was a best practice. In my mind, this enforcement means a couple of things:

nitinmohan87 commented 10 years ago

That makes a lot of sense.. Thanks for the response.

nitinmohan87 commented 10 years ago

It would nice to have a Requirements section in the README to document this.

panthomakos commented 10 years ago

Absolutely. I'll add that to the README as well.