Nathan Beyer created THRIFT-1645:
------------------------------------

             Summary: Replace Object#tee with more conventional Object#tap in 
specs
                 Key: THRIFT-1645
                 URL: https://issues.apache.org/jira/browse/THRIFT-1645
             Project: Thrift
          Issue Type: Improvement
          Components: Ruby - Library
    Affects Versions: 0.8
            Reporter: Nathan Beyer
         Attachments: THRIFT-1645-replace-tee-with-tap.patch

The spec_helper.rb defines an Object#tee method, which is functionally 
equivalent to Object#tap. Object#tap was added to Ruby 1.9 and to 1.8.7.

Attached is a patch that replaces the usage of 'tee' with 'tap' and will define 
the 'tap' method if it's missing (should only happen when Ruby 1.8.6 or below 
is used). If there's no need to support such a low minimum, this could be 
removed.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to