{"action":"created","issue":{"url":"https://api.github.com/repos/cucumber/aruba/issues/290","labels_url":"https://api.github.com/repos/cucumber/aruba/issues/290/labels{/name}","comments_url":"https://api.github.com/repos/cucumber/aruba/issues/290/comments","events_url":"https://api.github.com/repos/cucumber/aruba/issues/290/events","html_url":"https://github.com/cucumber/aruba/pull/290","id":95309327,"number":290,"title":"provide methods to query which OS is running. Use FFI::Platform methods","user":{"login":"weedySeaDragon","id":673794,"avatar_url":"https://avatars.githubusercontent.com/u/673794?v=3","gravatar_id":"","url":"https://api.github.com/users/weedySeaDragon","html_url":"https://github.com/weedySeaDragon","followers_url":"https://api.github.com/users/weedySeaDragon/followers","following_url":"https://api.github.com/users/weedySeaDragon/following{/other_user}","gists_url":"https://api.github.com/users/weedySeaDragon/gists{/gist_id}","starred_url":"https://api.github.com/users/weedySeaDragon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/weedySeaDragon/subscriptions","organizations_url":"https://api.github.com/users/weedySeaDragon/orgs","repos_url":"https://api.github.com/users/weedySeaDragon/repos","events_url":"https://api.github.com/users/weedySeaDragon/events{/privacy}","received_events_url":"https://api.github.com/users/weedySeaDragon/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-07-15T23:08:53Z","updated_at":"2015-07-17T20:57:44Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/cucumber/aruba/pulls/290","html_url":"https://github.com/cucumber/aruba/pull/290","diff_url":"https://github.com/cucumber/aruba/pull/290.diff","patch_url":"https://github.com/cucumber/aruba/pull/290.patch"},"body":"I've added some methods into (lib)/api/platform.rb to query which OS is running. Since FFI is already being included by the project and FFI already has excellent methods for querying the OS, the methods are essentially pass-thru's to what FFI does.\r\n\r\nIf it's somehow not good to use ffi (it did require a require 'ffi' in platform.rb) I can use the already required rbconfig. (Tho I'll likely be re-writing what FFI has done.)"},"comment":{"url":"https://api.github.com/repos/cucumber/aruba/issues/comments/122414173","html_url":"https://github.com/cucumber/aruba/pull/290#issuecomment-122414173","issue_url":"https://api.github.com/repos/cucumber/aruba/issues/290","id":122414173,"user":{"login":"mattwynne","id":19260,"avatar_url":"https://avatars.githubusercontent.com/u/19260?v=3","gravatar_id":"","url":"https://api.github.com/users/mattwynne","html_url":"https://github.com/mattwynne","followers_url":"https://api.github.com/users/mattwynne/followers","following_url":"https://api.github.com/users/mattwynne/following{/other_user}","gists_url":"https://api.github.com/users/mattwynne/gists{/gist_id}","starred_url":"https://api.github.com/users/mattwynne/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mattwynne/subscriptions","organizations_url":"https://api.github.com/users/mattwynne/orgs","repos_url":"https://api.github.com/users/mattwynne/repos","events_url":"https://api.github.com/users/mattwynne/events{/privacy}","received_events_url":"https://api.github.com/users/mattwynne/received_events","type":"User","site_admin":false},"created_at":"2015-07-17T20:57:43Z","updated_at":"2015-07-17T20:57:43Z","body":"FYI @weedySeaDragon, @dg-ratiodata and @maxmeyer are the same person. It confuses me too."}}