-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add required_ruby_version to gemspec #694
Comments
* This is required for rubocop to work on 1.9.2
We do unofficially support 1.9.2 (or at least I thought we did - obviously the dependency to @jonas054 @yujinakayama Thoughts? |
I think we've had this problem with the missing dependency to the |
For what it’s worth, Ruby 1.9.2 just got another 6 month lease on life. The fact that Heroku is spending their time/money to support Ruby 1.9.2 signals that a significant number of their customers are still using it. As such, I’d like to be able to test my projects against Ruby 1.9.2 and while using RuboCop. To do this currently, I need to specify a gem 'rubocop' if RUBY_VERSION >= "1.9.3" I agree with @jonas054: Either Ruby 1.9.2 should be officially supported, added to the Travis matrix, and Personally, I would prefer to see official Ruby 1.9.2 support, at least for the next 6 months, while Heroku migrates their customers to Ruby 1.9.3 or higher. I’d be willing to help provide support for Ruby 1.9.2 in this project, if you foresee it being a burden on the existing maintainers. |
I agree with @sferik. I just ran RuboCop's specs on 1.9.2-p320 and everything was green (though Parser warned about syntax compatibility). I think we can support 1.9.2 with minimal effort for 6 months and it's worth rather than giving 1.9.2 users errors and suggesting some workaround. |
@yujinakayama Makes sense. Go ahead and make the necessary changes for official 1.9.2 compatibility. |
I see in the travis configuration that rubocop is only tested with ruby 1.9.3 and up. Would you consider adding a
s.required_ruby_version = '>= 1.9.3'
to the gemspec to make the required version explicit?The text was updated successfully, but these errors were encountered: