Uploaded image for project: 'Thrift'
  1. Thrift
  2. THRIFT-2036

Thrift gem warns about class variable access from top level

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 0.9
    • 0.9.1
    • Ruby - Library
    • Mac OS X and Linux on x86_64 with ruby 2.0.0-p195

    Description

      Steps:
      1. Generate thrift client and server from thrift definition file.
      2. Require thrift client or server in a ruby script.

      The following warning is printed:
      2.0.0-p195/lib/ruby/gems/2.0.0/gems/thrift-0.9.0/lib/thrift/protocol/json_protocol.rb:21: warning: class variable access from toplevel

      Here is a patch from the Evernote SDK: https://github.com/evernote/evernote-sdk-ruby/pull/12

      Attachments

        Activity

          People

            Unassigned Unassigned
            jimjh Jim Lim
            Votes:
            4 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: