Allow plugins to specify a minimum requires version

This commit is contained in:
Robin Ward
2015-04-27 13:06:53 -04:00
parent 6af71bd601
commit de42c627c5
6 changed files with 85 additions and 11 deletions

View File

@ -10,6 +10,7 @@ describe Plugin::Metadata do
# version: 0.1
# authors: Frank Zappa
# url: http://discourse.org
# required version: 1.3.0beta6+48
some_ruby
TEXT
@ -19,6 +20,7 @@ TEXT
expect(metadata.version).to eq("0.1")
expect(metadata.authors).to eq("Frank Zappa")
expect(metadata.url).to eq("http://discourse.org")
expect(metadata.required_version).to eq("1.3.0beta6+48")
end
end