[openstreetmap-website] Deduplicate object metadata (#611)

Simon Legner notifications at github.com
Tue Dec 3 19:42:20 UTC 2013


API: de-duplicate metadata code for n/w/r …

The common code has been refactored into `lib/ObjectMetadata::add_metadata_to_xml_node`

You can merge this Pull Request by running:

  git pull https://github.com/simon04/openstreetmap-website deduplicate_object_metadata

Or you can view, comment on it, or merge it online at:

  https://github.com/openstreetmap/openstreetmap-website/pull/611

-- Commit Summary --

  * API: de-duplicate metadata code for n/w/r
  * Move common metadata code to ObjectMetadata
  * Move common metadata code to ObjectMetadata 2/2

-- File Changes --

    M app/models/node.rb (26)
    M app/models/old_node.rb (29)
    M app/models/old_relation.rb (28)
    M app/models/old_way.rb (28)
    M app/models/relation.rb (26)
    M app/models/way.rb (26)
    A lib/object_metadata.rb (31)

-- Patch Links --

https://github.com/openstreetmap/openstreetmap-website/pull/611.patch
https://github.com/openstreetmap/openstreetmap-website/pull/611.diff
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20131203/d6aa290d/attachment.html>


More information about the rails-dev mailing list