Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
changed the project's setup to embrace conventions #18
tweetlr already was compatible with ruby 1.8. the only problem was related to the bin and specs using
i also added the development dependencies specified in the Gemfile to the gemspec and added explicit versions which could probably be adjusted to work with older releases.
I knew there would be only little adjustments necessary for 1.8 compatibility.
What I didn't knew was that the project was lacking some basic best practices. Thanks a lot for this comment mate, I learned a lot.
Is there a way to configure the gemspec for specific ruby versions? E.g. 1.9 does not need json & rdoc causes warnings with
Cheers & thanks again!
as far as i know, there's no "decent" way to release separate gems for different ruby versions. so i would keep the dependency on the json gem as it's needed for ruby 1.8. talking about rdoc, i think it's fine to add it as a development dependency. plus, adding rdoc and using a fairly recent version, i'm not getting any warnings.