Jim Lim created THRIFT-2036:
-------------------------------

             Summary: Thrift gem warns about class variable access from top 
level
                 Key: THRIFT-2036
                 URL: https://issues.apache.org/jira/browse/THRIFT-2036
             Project: Thrift
          Issue Type: Bug
          Components: Ruby - Library
    Affects Versions: 0.9
         Environment: Mac OS X and Linux on x86_64 with ruby 2.0.0-p195
            Reporter: Jim Lim
            Priority: Minor


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

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to