mirror of
https://github.com/elastic/logstash.git
synced 2025-04-24 06:37:19 -04:00
parent
11d2f7b3ed
commit
d5fc55b3a6
1 changed files with 1 additions and 1 deletions
|
@ -152,7 +152,7 @@ module LogStash
|
|||
|
||||
def self.is_released?(plugin)
|
||||
require 'gems'
|
||||
!Gems.search(plugin).reject{ |h| h['name'] != plugin }.empty?
|
||||
Gems.info(plugin) != "This rubygem could not be found."
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue