Normalize the Alpha version of Logstash

If you use 6.0.0-alpha1, rubygems will change it to 6.0.0.pre.alpha1,
this commit changes the behavior to normalize the version before saving
it to disk.

Fixes #7008
This commit is contained in:
Pier-Hugues Pellerin 2017-05-02 11:41:18 -04:00
parent 23e195b48b
commit 4c3a3ad526
3 changed files with 3 additions and 3 deletions

View file

@ -17,7 +17,7 @@ Gem::Specification.new do |gem|
gem.require_paths = ["lib"]
gem.version = LOGSTASH_CORE_PLUGIN_API
gem.add_runtime_dependency "logstash-core", "6.0.0-alpha1"
gem.add_runtime_dependency "logstash-core", "6.0.0.alpha1"
# Make sure we dont build this gem from a non jruby
# environment.