aboutsummaryrefslogtreecommitdiff
path: root/paludis/repositories/gems/gem_specification.cc
diff options
context:
space:
mode:
Diffstat (limited to 'paludis/repositories/gems/gem_specification.cc')
-rw-r--r--paludis/repositories/gems/gem_specification.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/paludis/repositories/gems/gem_specification.cc b/paludis/repositories/gems/gem_specification.cc
index c22dacc..b8c602d 100644
--- a/paludis/repositories/gems/gem_specification.cc
+++ b/paludis/repositories/gems/gem_specification.cc
@@ -301,6 +301,9 @@ GemSpecification::canonical_form(const PackageIDCanonicalForm f) const
case idcf_no_version:
return stringify(name()) + "::" + stringify(_imp->repository->name());
+ case idcf_no_name:
+ return stringify(version()) + "::" + stringify(repository()->name());
+
case last_idcf:
break;
}