aboutsummaryrefslogtreecommitdiff
path: root/ruby
diff options
context:
space:
mode:
authorAvatar Fernando J. Pereda <ferdy@ferdyx.org> 2008-02-21 20:43:56 +0000
committerAvatar Fernando J. Pereda <ferdy@ferdyx.org> 2008-02-21 20:43:56 +0000
commitdbad9d5f818882b730626028da3943a6c1039ef7 (patch)
tree3d96775139c17f12ec1592a233e13a2ed3083dda /ruby
parent9567079d3b62aba92acaa7b8e9d4c13a1788b034 (diff)
downloadpaludis-dbad9d5f818882b730626028da3943a6c1039ef7.tar.gz
paludis-dbad9d5f818882b730626028da3943a6c1039ef7.tar.xz
Add PackageID::transient_key and use it to avoid reporting
'unpackaged' packages as 'missing'. Fixes ticket:410
Diffstat (limited to 'ruby')
-rw-r--r--ruby/metadata_key.cc6
1 files changed, 6 insertions, 0 deletions
diff --git a/ruby/metadata_key.cc b/ruby/metadata_key.cc
index bbb5dd8..2a1cf0c 100644
--- a/ruby/metadata_key.cc
+++ b/ruby/metadata_key.cc
@@ -123,6 +123,12 @@ namespace
new tr1::shared_ptr<const MetadataKey>(mm));
}
+ void visit(const MetadataValueKey<bool> &)
+ {
+ value = Data_Wrap_Struct(c_metadata_size_key, 0, &Common<tr1::shared_ptr<const MetadataKey> >::free,
+ new tr1::shared_ptr<const MetadataKey>(mm));
+ }
+
void visit(const MetadataTimeKey &)
{
value = Data_Wrap_Struct(c_metadata_time_key, 0, &Common<tr1::shared_ptr<const MetadataKey> >::free,