{"action":"created","issue":{"url":"https://api.github.com/repos/zeromq/czmq/issues/1062","labels_url":"https://api.github.com/repos/zeromq/czmq/issues/1062/labels{/name}","comments_url":"https://api.github.com/repos/zeromq/czmq/issues/1062/comments","events_url":"https://api.github.com/repos/zeromq/czmq/issues/1062/events","html_url":"https://github.com/zeromq/czmq/issues/1062","id":101263177,"number":1062,"title":"Ruby bindings use keywords as variables","user":{"login":"rfestag","id":2946462,"avatar_url":"https://avatars.githubusercontent.com/u/2946462?v=3","gravatar_id":"","url":"https://api.github.com/users/rfestag","html_url":"https://github.com/rfestag","followers_url":"https://api.github.com/users/rfestag/followers","following_url":"https://api.github.com/users/rfestag/following{/other_user}","gists_url":"https://api.github.com/users/rfestag/gists{/gist_id}","starred_url":"https://api.github.com/users/rfestag/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rfestag/subscriptions","organizations_url":"https://api.github.com/users/rfestag/orgs","repos_url":"https://api.github.com/users/rfestag/repos","events_url":"https://api.github.com/users/rfestag/events{/privacy}","received_events_url":"https://api.github.com/users/rfestag/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-08-16T13:07:39Z","updated_at":"2015-08-16T14:27:00Z","closed_at":null,"body":"I am trying to play with the Ruby bindings that are in this repository, and found that there are at least a few instances where the variable name used is actually a Ruby keyword, and thus causes syntax errors. At the top of each file, there is a warning stating that the files are generated 100% by the ZPROJECT, and shouldn't be modified, but that I should check the README for how to make permanent changes. I couldn't find any information in the README related to that. Aside from that main issue, I also have a few questions:\r\n\r\n1) How would I go about submitting a patch for this? Is there some automatic generation of these files, or can I simply make the changes and submit a pull request?\r\n2) Is there a reason CZMQ maintains these bindings, but does not create/maintain a gem for it? There are a few other bindings documented, but there 1-2 years old, or are native extensions (making them less portable than FFI).  "},"comment":{"url":"https://api.github.com/repos/zeromq/czmq/issues/comments/131558228","html_url":"https://github.com/zeromq/czmq/issues/1062#issuecomment-131558228","issue_url":"https://api.github.com/repos/zeromq/czmq/issues/1062","id":131558228,"user":{"login":"jemc","id":4623870,"avatar_url":"https://avatars.githubusercontent.com/u/4623870?v=3","gravatar_id":"","url":"https://api.github.com/users/jemc","html_url":"https://github.com/jemc","followers_url":"https://api.github.com/users/jemc/followers","following_url":"https://api.github.com/users/jemc/following{/other_user}","gists_url":"https://api.github.com/users/jemc/gists{/gist_id}","starred_url":"https://api.github.com/users/jemc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jemc/subscriptions","organizations_url":"https://api.github.com/users/jemc/orgs","repos_url":"https://api.github.com/users/jemc/repos","events_url":"https://api.github.com/users/jemc/events{/privacy}","received_events_url":"https://api.github.com/users/jemc/received_events","type":"User","site_admin":false},"created_at":"2015-08-16T14:27:00Z","updated_at":"2015-08-16T14:27:00Z","body":"I should also mention that these bindings are not necessarily idiomatic, and are probably easiest to use when wrapped in an additional handwritten layer.  However, they do solve the problem of writing a lot of low-level FFI code so that no one has to maintain that part by hand."}}