Uploaded image for project: 'Apache Avro'
  1. Apache Avro
  2. AVRO-1536

Remove monkeypatching of Enumerable

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.7.6
    • Fix Version/s: 1.7.7
    • Component/s: ruby
    • Labels:
      None

      Description

      The Avro Ruby gem adds a method collect_hash to the core module Enumerable. It's bad form for a library to extend core modules like this, and it's also unnecessary (stdlib methods can do the job perfectly well).

        Attachments

        1. AVRO-1536.patch
          2 kB
          Martin Kleppmann

          Activity

            People

            • Assignee:
              martinkl Martin Kleppmann
              Reporter:
              martinkl Martin Kleppmann
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: