[ https://issues.apache.org/jira/browse/THRIFT-2036?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13739136#comment-13739136 ]
Takuya Hashimoto commented on THRIFT-2036: ------------------------------------------ Hi, I'm the original author(memerelics@github) of this patch and I agree to merge it. > 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 > Labels: ruby > Attachments: THRIFT-2036-top-level-class-var-warning.patch > > > 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