[MacRuby] #1262: Rack error calling [] in Faraday via the Octokit gem
MacRuby
ruby-noreply at macosforge.org
Sun Sep 11 21:54:22 PDT 2011
#1262: Rack error calling [] in Faraday via the Octokit gem
------------------------------+---------------------------------------------
Reporter: sferik@… | Owner: lsansonetti@…
Type: defect | Status: new
Priority: major | Milestone:
Component: MacRuby | Keywords: github, octokit, rack, hubcap, 0.11-blocker
------------------------------+---------------------------------------------
Comment(by watson1978@…):
init_copy invoke String#initialize_copy at `rb_vm_call(dest,
selInitializeCopy, 1, &obj);'. [[BR]]
Same data is copied with rstr_copy() and String#initialize_copy. [[BR]]
So, I think that rstr_copy is unnecessary, and I rewrote alloy's patch.
https://gist.github.com/1210522/
--
Ticket URL: <http://www.macruby.org/trac/ticket/1262#comment:10>
MacRuby <http://macruby.org/>
More information about the macruby-tickets
mailing list