Fix dependencies issue on english - #113
Conversation
Fix sensu-plugins#112 ``` [root@foo001 ~]# /opt/sensu/embedded/bin/gem install -v 4.1.0 --no-rdoc --no-ri sensu-plugins-process-checks ERROR: Could not find a valid gem 'english' (= 0.6.3) in any repository ERROR: Possible alternatives: english ```
|
Failed on: |
| s.version = SensuPluginsProcessChecks::Version::VER_STRING | ||
|
|
||
| s.add_runtime_dependency 'english', '0.6.3' | ||
| s.add_runtime_dependency 'english', '0.7.0' |
There was a problem hiding this comment.
Are you sure you want to pin to an exact version again?
There was a problem hiding this comment.
I imagine '~> 0.7' would be safe-ish.
|
I agree, pinning to an exact version will break things when the upstream gem yanks old versions again. Love to see this get merged and on rubygems.org.. I'm dead in the water on this dependency failure. |
|
has anybody checked if the new version are good? ive checked a bit and it seems very fishy, might be a trojan |
@xblitz Would you care to elaborate? I just took a look through the bulk of the checks that are part of this project and don't see anything particularly fishy other than that it is doing what it's designed to do, which is go through process/thread details. |
|
well yes a a successful trojan would not alter the working conditions or else, it nobody would use the new version. but my suspicions are related to the fact that a new version has been uploaded on rubygems.org , while the github of the project has not been updated: https://github.com/rubyworks/english |
|
Another interesting note, is that English is part of the ruby stdlib (since ruby 2). But this is the actual english gem https://github.com/ruby/English And it has been updated. |
to be clear, you're referring to the English gem and not this project. I took your initial post, lacking that context, to be about the released version of this gem :) |
Ah yes sorry about that confusion, I was indeed speaking of the |
|
The dependency of English-0.6.3 is completely wrong usage. 0.7.0 is finally fine. |
Fix #112
english 0.6.3 removed, upgrade to 0.7.0 solving the issue.
Pull Request Checklist
Is this in reference to an existing issue?
Yes
General
Update Changelog following the conventions laid out here
Update README with any necessary configuration snippets
Binstubs are created if needed
RuboCop passes
Existing tests pass
Purpose
Fix #112
Known Compatibility Issues