{"action":"closed","number":54,"pull_request":{"url":"https://api.github.com/repos/ondras/rot.js/pulls/54","id":30254301,"html_url":"https://github.com/ondras/rot.js/pull/54","diff_url":"https://github.com/ondras/rot.js/pull/54.diff","patch_url":"https://github.com/ondras/rot.js/pull/54.patch","issue_url":"https://api.github.com/repos/ondras/rot.js/issues/54","number":54,"state":"closed","locked":false,"title":"First pass at merging Node.js support","user":{"login":"blinkdog","id":1283521,"avatar_url":"https://avatars.githubusercontent.com/u/1283521?v=3","gravatar_id":"","url":"https://api.github.com/users/blinkdog","html_url":"https://github.com/blinkdog","followers_url":"https://api.github.com/users/blinkdog/followers","following_url":"https://api.github.com/users/blinkdog/following{/other_user}","gists_url":"https://api.github.com/users/blinkdog/gists{/gist_id}","starred_url":"https://api.github.com/users/blinkdog/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blinkdog/subscriptions","organizations_url":"https://api.github.com/users/blinkdog/orgs","repos_url":"https://api.github.com/users/blinkdog/repos","events_url":"https://api.github.com/users/blinkdog/events{/privacy}","received_events_url":"https://api.github.com/users/blinkdog/received_events","type":"User","site_admin":false},"body":"# Building\r\nSo this is rot.js with support for Node.js. It offers a new build target `node`:\r\n\r\n    make clean\r\n    make node\r\n\r\nThis will recreate `package.json` and create `lib/rot.js`.\r\n\r\n# Publishing\r\nOnce the Node version of rot.js is built, package.json specifies everything that npm needs in order to publish. Publishing to npm is just:\r\n\r\n    npm publish\r\n\r\nI have added `ondras` as an owner on the `rot-js` npm module, so you should be able to publish and add/remove owners now. If you want me to publish, just let me know and I'll do so.\r\n\r\n# Usage\r\nAfter publication, the most simple way to try out rot.js for Node would be:\r\n\r\n    npm install rot-js\r\n    node -e 'var ROT = require(\"rot-js\"); console.log(ROT.isSupported());'\r\n\r\n# Notes\r\n* I did not delete the existing `package.json` file in order to keep the diff short and clear. I do think it should be deleted, or at least regenerated, as part of your merge back to master.\r\n* Let me know if there is anything else I can/should do. :smiley:\r\n","created_at":"2015-03-02T01:59:07Z","updated_at":"2015-03-03T09:52:04Z","closed_at":"2015-03-03T09:52:04Z","merged_at":"2015-03-03T09:52:04Z","merge_commit_sha":"ef7dbb0897adcd3f604b09dd75aa7cd9e9116845","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ondras/rot.js/pulls/54/commits","review_comments_url":"https://api.github.com/repos/ondras/rot.js/pulls/54/comments","review_comment_url":"https://api.github.com/repos/ondras/rot.js/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ondras/rot.js/issues/54/comments","statuses_url":"https://api.github.com/repos/ondras/rot.js/statuses/a78fb1620978c5efb106cbc1ba53bbca36c22ea9","head":{"label":"blinkdog:node","ref":"node","sha":"a78fb1620978c5efb106cbc1ba53bbca36c22ea9","user":{"login":"blinkdog","id":1283521,"avatar_url":"https://avatars.githubusercontent.com/u/1283521?v=3","gravatar_id":"","url":"https://api.github.com/users/blinkdog","html_url":"https://github.com/blinkdog","followers_url":"https://api.github.com/users/blinkdog/followers","following_url":"https://api.github.com/users/blinkdog/following{/other_user}","gists_url":"https://api.github.com/users/blinkdog/gists{/gist_id}","starred_url":"https://api.github.com/users/blinkdog/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blinkdog/subscriptions","organizations_url":"https://api.github.com/users/blinkdog/orgs","repos_url":"https://api.github.com/users/blinkdog/repos","events_url":"https://api.github.com/users/blinkdog/events{/privacy}","received_events_url":"https://api.github.com/users/blinkdog/received_events","type":"User","site_admin":false},"repo":{"id":22356308,"name":"rot.js","full_name":"blinkdog/rot.js","owner":{"login":"blinkdog","id":1283521,"avatar_url":"https://avatars.githubusercontent.com/u/1283521?v=3","gravatar_id":"","url":"https://api.github.com/users/blinkdog","html_url":"https://github.com/blinkdog","followers_url":"https://api.github.com/users/blinkdog/followers","following_url":"https://api.github.com/users/blinkdog/following{/other_user}","gists_url":"https://api.github.com/users/blinkdog/gists{/gist_id}","starred_url":"https://api.github.com/users/blinkdog/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blinkdog/subscriptions","organizations_url":"https://api.github.com/users/blinkdog/orgs","repos_url":"https://api.github.com/users/blinkdog/repos","events_url":"https://api.github.com/users/blinkdog/events{/privacy}","received_events_url":"https://api.github.com/users/blinkdog/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/blinkdog/rot.js","description":"ROguelike Toolkit","fork":true,"url":"https://api.github.com/repos/blinkdog/rot.js","forks_url":"https://api.github.com/repos/blinkdog/rot.js/forks","keys_url":"https://api.github.com/repos/blinkdog/rot.js/keys{/key_id}","collaborators_url":"https://api.github.com/repos/blinkdog/rot.js/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/blinkdog/rot.js/teams","hooks_url":"https://api.github.com/repos/blinkdog/rot.js/hooks","issue_events_url":"https://api.github.com/repos/blinkdog/rot.js/issues/events{/number}","events_url":"https://api.github.com/repos/blinkdog/rot.js/events","assignees_url":"https://api.github.com/repos/blinkdog/rot.js/assignees{/user}","branches_url":"https://api.github.com/repos/blinkdog/rot.js/branches{/branch}","tags_url":"https://api.github.com/repos/blinkdog/rot.js/tags","blobs_url":"https://api.github.com/repos/blinkdog/rot.js/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/blinkdog/rot.js/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/blinkdog/rot.js/git/refs{/sha}","trees_url":"https://api.github.com/repos/blinkdog/rot.js/git/trees{/sha}","statuses_url":"https://api.github.com/repos/blinkdog/rot.js/statuses/{sha}","languages_url":"https://api.github.com/repos/blinkdog/rot.js/languages","stargazers_url":"https://api.github.com/repos/blinkdog/rot.js/stargazers","contributors_url":"https://api.github.com/repos/blinkdog/rot.js/contributors","subscribers_url":"https://api.github.com/repos/blinkdog/rot.js/subscribers","subscription_url":"https://api.github.com/repos/blinkdog/rot.js/subscription","commits_url":"https://api.github.com/repos/blinkdog/rot.js/commits{/sha}","git_commits_url":"https://api.github.com/repos/blinkdog/rot.js/git/commits{/sha}","comments_url":"https://api.github.com/repos/blinkdog/rot.js/comments{/number}","issue_comment_url":"https://api.github.com/repos/blinkdog/rot.js/issues/comments{/number}","contents_url":"https://api.github.com/repos/blinkdog/rot.js/contents/{+path}","compare_url":"https://api.github.com/repos/blinkdog/rot.js/compare/{base}...{head}","merges_url":"https://api.github.com/repos/blinkdog/rot.js/merges","archive_url":"https://api.github.com/repos/blinkdog/rot.js/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/blinkdog/rot.js/downloads","issues_url":"https://api.github.com/repos/blinkdog/rot.js/issues{/number}","pulls_url":"https://api.github.com/repos/blinkdog/rot.js/pulls{/number}","milestones_url":"https://api.github.com/repos/blinkdog/rot.js/milestones{/number}","notifications_url":"https://api.github.com/repos/blinkdog/rot.js/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/blinkdog/rot.js/labels{/name}","releases_url":"https://api.github.com/repos/blinkdog/rot.js/releases{/id}","created_at":"2014-07-28T20:13:25Z","updated_at":"2014-12-01T12:58:07Z","pushed_at":"2015-03-03T03:18:53Z","git_url":"git://github.com/blinkdog/rot.js.git","ssh_url":"git@github.com:blinkdog/rot.js.git","clone_url":"https://github.com/blinkdog/rot.js.git","svn_url":"https://github.com/blinkdog/rot.js","homepage":null,"size":1652,"stargazers_count":1,"watchers_count":1,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":1,"default_branch":"master"}},"base":{"label":"ondras:master","ref":"master","sha":"7d7cff8b3bb1c8026f06e0b3ed3c0606c4129276","user":{"login":"ondras","id":192172,"avatar_url":"https://avatars.githubusercontent.com/u/192172?v=3","gravatar_id":"","url":"https://api.github.com/users/ondras","html_url":"https://github.com/ondras","followers_url":"https://api.github.com/users/ondras/followers","following_url":"https://api.github.com/users/ondras/following{/other_user}","gists_url":"https://api.github.com/users/ondras/gists{/gist_id}","starred_url":"https://api.github.com/users/ondras/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ondras/subscriptions","organizations_url":"https://api.github.com/users/ondras/orgs","repos_url":"https://api.github.com/users/ondras/repos","events_url":"https://api.github.com/users/ondras/events{/privacy}","received_events_url":"https://api.github.com/users/ondras/received_events","type":"User","site_admin":false},"repo":{"id":4391145,"name":"rot.js","full_name":"ondras/rot.js","owner":{"login":"ondras","id":192172,"avatar_url":"https://avatars.githubusercontent.com/u/192172?v=3","gravatar_id":"","url":"https://api.github.com/users/ondras","html_url":"https://github.com/ondras","followers_url":"https://api.github.com/users/ondras/followers","following_url":"https://api.github.com/users/ondras/following{/other_user}","gists_url":"https://api.github.com/users/ondras/gists{/gist_id}","starred_url":"https://api.github.com/users/ondras/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ondras/subscriptions","organizations_url":"https://api.github.com/users/ondras/orgs","repos_url":"https://api.github.com/users/ondras/repos","events_url":"https://api.github.com/users/ondras/events{/privacy}","received_events_url":"https://api.github.com/users/ondras/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ondras/rot.js","description":"ROguelike Toolkit","fork":false,"url":"https://api.github.com/repos/ondras/rot.js","forks_url":"https://api.github.com/repos/ondras/rot.js/forks","keys_url":"https://api.github.com/repos/ondras/rot.js/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ondras/rot.js/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ondras/rot.js/teams","hooks_url":"https://api.github.com/repos/ondras/rot.js/hooks","issue_events_url":"https://api.github.com/repos/ondras/rot.js/issues/events{/number}","events_url":"https://api.github.com/repos/ondras/rot.js/events","assignees_url":"https://api.github.com/repos/ondras/rot.js/assignees{/user}","branches_url":"https://api.github.com/repos/ondras/rot.js/branches{/branch}","tags_url":"https://api.github.com/repos/ondras/rot.js/tags","blobs_url":"https://api.github.com/repos/ondras/rot.js/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ondras/rot.js/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ondras/rot.js/git/refs{/sha}","trees_url":"https://api.github.com/repos/ondras/rot.js/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ondras/rot.js/statuses/{sha}","languages_url":"https://api.github.com/repos/ondras/rot.js/languages","stargazers_url":"https://api.github.com/repos/ondras/rot.js/stargazers","contributors_url":"https://api.github.com/repos/ondras/rot.js/contributors","subscribers_url":"https://api.github.com/repos/ondras/rot.js/subscribers","subscription_url":"https://api.github.com/repos/ondras/rot.js/subscription","commits_url":"https://api.github.com/repos/ondras/rot.js/commits{/sha}","git_commits_url":"https://api.github.com/repos/ondras/rot.js/git/commits{/sha}","comments_url":"https://api.github.com/repos/ondras/rot.js/comments{/number}","issue_comment_url":"https://api.github.com/repos/ondras/rot.js/issues/comments{/number}","contents_url":"https://api.github.com/repos/ondras/rot.js/contents/{+path}","compare_url":"https://api.github.com/repos/ondras/rot.js/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ondras/rot.js/merges","archive_url":"https://api.github.com/repos/ondras/rot.js/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ondras/rot.js/downloads","issues_url":"https://api.github.com/repos/ondras/rot.js/issues{/number}","pulls_url":"https://api.github.com/repos/ondras/rot.js/pulls{/number}","milestones_url":"https://api.github.com/repos/ondras/rot.js/milestones{/number}","notifications_url":"https://api.github.com/repos/ondras/rot.js/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ondras/rot.js/labels{/name}","releases_url":"https://api.github.com/repos/ondras/rot.js/releases{/id}","created_at":"2012-05-21T07:58:45Z","updated_at":"2015-03-03T08:42:29Z","pushed_at":"2015-03-03T09:52:04Z","git_url":"git://github.com/ondras/rot.js.git","ssh_url":"git@github.com:ondras/rot.js.git","clone_url":"https://github.com/ondras/rot.js.git","svn_url":"https://github.com/ondras/rot.js","homepage":null,"size":2524,"stargazers_count":568,"watchers_count":568,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":82,"mirror_url":null,"open_issues_count":8,"forks":82,"open_issues":8,"watchers":568,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ondras/rot.js/pulls/54"},"html":{"href":"https://github.com/ondras/rot.js/pull/54"},"issue":{"href":"https://api.github.com/repos/ondras/rot.js/issues/54"},"comments":{"href":"https://api.github.com/repos/ondras/rot.js/issues/54/comments"},"review_comments":{"href":"https://api.github.com/repos/ondras/rot.js/pulls/54/comments"},"review_comment":{"href":"https://api.github.com/repos/ondras/rot.js/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ondras/rot.js/pulls/54/commits"},"statuses":{"href":"https://api.github.com/repos/ondras/rot.js/statuses/a78fb1620978c5efb106cbc1ba53bbca36c22ea9"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"ondras","id":192172,"avatar_url":"https://avatars.githubusercontent.com/u/192172?v=3","gravatar_id":"","url":"https://api.github.com/users/ondras","html_url":"https://github.com/ondras","followers_url":"https://api.github.com/users/ondras/followers","following_url":"https://api.github.com/users/ondras/following{/other_user}","gists_url":"https://api.github.com/users/ondras/gists{/gist_id}","starred_url":"https://api.github.com/users/ondras/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ondras/subscriptions","organizations_url":"https://api.github.com/users/ondras/orgs","repos_url":"https://api.github.com/users/ondras/repos","events_url":"https://api.github.com/users/ondras/events{/privacy}","received_events_url":"https://api.github.com/users/ondras/received_events","type":"User","site_admin":false},"comments":4,"review_comments":0,"commits":2,"additions":293,"deletions":28,"changed_files":9}}