Project

General

Profile

« Previous | Next » 

Revision d7ad6cbe

Added by Timo Goebel over 7 years ago

fixes #18511 - plugin authors shown nicely

View differences:

app/services/foreman/plugin.rb
plugin = new(id)
if (gem = Gem.loaded_specs[id.to_s])
plugin.name gem.name
plugin.author gem.authors.join(',')
plugin.author gem.authors.to_sentence
plugin.description gem.description
plugin.url gem.homepage
plugin.version gem.version.to_s

Also available in: Unified diff