mirror of
https://github.com/discourse/discourse.git
synced 2025-09-06 10:50:21 +08:00
Support a url
field in plugin metadata
This commit is contained in:
parent
3d7b534564
commit
7dea65122e
8 changed files with 21 additions and 4 deletions
|
@ -2,7 +2,7 @@
|
|||
module Plugin; end
|
||||
|
||||
class Plugin::Metadata
|
||||
FIELDS ||= [:name, :about, :version, :authors]
|
||||
FIELDS ||= [:name, :about, :version, :authors, :url]
|
||||
attr_accessor *FIELDS
|
||||
|
||||
def self.parse(text)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue