Allow java dependency to accept normal dependency tags

This commit is contained in:
Jack Nagel 2015-01-08 14:39:48 -05:00
parent 459f92b065
commit 2ad9cd20e6

View File

@ -119,7 +119,7 @@ class JavaDependency < Requirement
satisfy { java_version }
def initialize(tags)
@version = tags.pop
@version = tags.shift if /(\d\.)+\d/ === tags.first
super
end