diff --git a/source/dub/dependency.d b/source/dub/dependency.d index 3bdc492..bfab5f6 100644 --- a/source/dub/dependency.d +++ b/source/dub/dependency.d @@ -183,7 +183,8 @@ || (m_versA < m_versB && doCmp(m_cmpA, m_versB, m_versA) && doCmp(m_cmpB, m_versA, m_versB)); } - bool matches(const string vers) const { return matches(Version(vers)); } + bool matches(string vers) const { return matches(Version(vers)); } + bool matches(const(Version) v) const { return matches(v); } bool matches(ref const(Version) v) const { //logTrace(" try match: %s with: %s", v, this); // Master only matches master diff --git a/source/dub/registry.d b/source/dub/registry.d index 3c28201..14f1302 100644 --- a/source/dub/registry.d +++ b/source/dub/registry.d Binary files differ diff --git a/source/dub/utils.d b/source/dub/utils.d index dcd6964..7cbab7e 100644 --- a/source/dub/utils.d +++ b/source/dub/utils.d @@ -11,6 +11,7 @@ import vibe.core.log; import vibe.data.json; import vibe.inet.url; +import vibe.stream.operations; import vibe.utils.string; // todo: cleanup imports.