Changed GemInstaller to don't blank gemspec attribute, close 11325

Fixes #11340
This commit is contained in:
andsel 2019-11-25 16:56:19 +01:00 committed by Andrea Selva
parent 27b7179389
commit 17fe14c086

View file

@ -38,7 +38,13 @@ module LogStash module PluginManager
private private
def spec def spec
@gem.spec gem_spec = @gem.spec
def gem_spec.for_cache
spec = dup
spec.test_files = nil
spec
end
gem_spec
end end
def spec_dir def spec_dir