Skip to content
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

loosten gem pin on sensu-plugin to support 1.2-2.0 #25

Closed
wants to merge 1 commit into from

Conversation

majormoses
Copy link
Member

@majormoses majormoses commented May 4, 2017

Pull Request Checklist

sensu-plugins/sensu-plugins-elasticsearch#71

General

  • Update Changelog following the conventions laid out on Keep A Changelog

  • Update README with any necessary configuration snippets

  • Binstubs are created if needed

  • RuboCop passes

  • Existing tests pass

Purpose

Loosen Gem deps to allow multiple versions of sensu-plugin to be installed.

Known Compatablity Issues

None

@majormoses majormoses force-pushed the feature/update-sensu-plugin branch from 7828060 to 651e0df Compare May 4, 2017 07:15
@majormoses majormoses self-assigned this May 4, 2017
@@ -31,7 +31,7 @@ Gem::Specification.new do |s|
s.test_files = s.files.grep(%r{^(test|spec|features)/})
s.version = SensuPluginsCpuChecks::Version::VER_STRING

s.add_runtime_dependency 'sensu-plugin', '~> 1.2'
s.add_runtime_dependency 'sensu-plugin', ['>= 1.2', '< 2.0']
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

aren't those equivalent? ~> 1.2 should cover 1.2 up to < 2.0 already.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good call, I somehow read it has '~> 1.2.0' which is not the same as I proposed.

@majormoses majormoses closed this May 4, 2017
@majormoses majormoses deleted the feature/update-sensu-plugin branch July 2, 2017 16:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants