HomePhorge

(PUP-3665) Make tagging arguments case insensitive
9871f21083e6Unpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

(PUP-3665) Make tagging arguments case insensitive

Tags are stored internally as downcased strings. All objects passed
as tags to the tagged? method where converted to strings prior to
comparison but they were not downcased. As a result, a query for
tags containing uppercase letters would always fail.

This commit adds the needed downcasing of the tags parameter. It
also introduces a new raw_tagged? method that assumes that whatever
tags that are passed to it already have been converted to strings
and downcased. This to allow the CollectorTransformer to do this
conversion once and then ask multiple resources if they are tagged.

Details

Provenance
Thomas Hallgren <thomas@tada.se>Authored on
vanmeeuwenPushed on Jun 2 2015, 2:22 PM
Parents
rPUa7b50ffaa73d: Merge remote-tracking branch 'upstream/pr/3466' into stable
Branches
Unknown
Tags
Unknown

Event Timeline

Thomas Hallgren <thomas@tada.se> committed rPU9871f21083e6: (PUP-3665) Make tagging arguments case insensitive (authored by Thomas Hallgren <thomas@tada.se>).Jan 14 2015, 11:33 PM