{"action":"opened","number":218,"pull_request":{"url":"https://api.github.com/repos/neo4jrb/neo4j-core/pulls/218","id":40374901,"html_url":"https://github.com/neo4jrb/neo4j-core/pull/218","diff_url":"https://github.com/neo4jrb/neo4j-core/pull/218.diff","patch_url":"https://github.com/neo4jrb/neo4j-core/pull/218.patch","issue_url":"https://api.github.com/repos/neo4jrb/neo4j-core/issues/218","number":218,"state":"open","locked":false,"title":"Pretty cypher","user":{"login":"cheerfulstoic","id":301415,"avatar_url":"https://avatars.githubusercontent.com/u/301415?v=3","gravatar_id":"","url":"https://api.github.com/users/cheerfulstoic","html_url":"https://github.com/cheerfulstoic","followers_url":"https://api.github.com/users/cheerfulstoic/followers","following_url":"https://api.github.com/users/cheerfulstoic/following{/other_user}","gists_url":"https://api.github.com/users/cheerfulstoic/gists{/gist_id}","starred_url":"https://api.github.com/users/cheerfulstoic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cheerfulstoic/subscriptions","organizations_url":"https://api.github.com/users/cheerfulstoic/orgs","repos_url":"https://api.github.com/users/cheerfulstoic/repos","events_url":"https://api.github.com/users/cheerfulstoic/events{/privacy}","received_events_url":"https://api.github.com/users/cheerfulstoic/received_events","type":"User","site_admin":false},"body":"This allows for pretty Cypher queries.  It started with newlines but then I had to colorize the clauses too ;)  The default color for the clauses is cyan, but there are some specific colors for specific clauses so that they can be seen at a glance:\r\n\r\n * `CREATE`s are green\r\n * `MERGE`s are magenta\r\n * `DELETE`s are red\r\n * `SET (ON CREATE|ON MATCH)` are all yellow\r\n\r\nI got the color idea from here: https://github.com/rails/rails/pull/20607","created_at":"2015-07-20T17:12:41Z","updated_at":"2015-07-20T17:12:41Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/neo4jrb/neo4j-core/pulls/218/commits","review_comments_url":"https://api.github.com/repos/neo4jrb/neo4j-core/pulls/218/comments","review_comment_url":"https://api.github.com/repos/neo4jrb/neo4j-core/pulls/comments{/number}","comments_url":"https://api.github.com/repos/neo4jrb/neo4j-core/issues/218/comments","statuses_url":"https://api.github.com/repos/neo4jrb/neo4j-core/statuses/e7cd7c9656148885fc11908b47c59a0f9d1f8ff0","head":{"label":"neo4jrb:pretty_cypher","ref":"pretty_cypher","sha":"e7cd7c9656148885fc11908b47c59a0f9d1f8ff0","user":{"login":"neo4jrb","id":8579795,"avatar_url":"https://avatars.githubusercontent.com/u/8579795?v=3","gravatar_id":"","url":"https://api.github.com/users/neo4jrb","html_url":"https://github.com/neo4jrb","followers_url":"https://api.github.com/users/neo4jrb/followers","following_url":"https://api.github.com/users/neo4jrb/following{/other_user}","gists_url":"https://api.github.com/users/neo4jrb/gists{/gist_id}","starred_url":"https://api.github.com/users/neo4jrb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/neo4jrb/subscriptions","organizations_url":"https://api.github.com/users/neo4jrb/orgs","repos_url":"https://api.github.com/users/neo4jrb/repos","events_url":"https://api.github.com/users/neo4jrb/events{/privacy}","received_events_url":"https://api.github.com/users/neo4jrb/received_events","type":"Organization","site_admin":false},"repo":{"id":3343704,"name":"neo4j-core","full_name":"neo4jrb/neo4j-core","owner":{"login":"neo4jrb","id":8579795,"avatar_url":"https://avatars.githubusercontent.com/u/8579795?v=3","gravatar_id":"","url":"https://api.github.com/users/neo4jrb","html_url":"https://github.com/neo4jrb","followers_url":"https://api.github.com/users/neo4jrb/followers","following_url":"https://api.github.com/users/neo4jrb/following{/other_user}","gists_url":"https://api.github.com/users/neo4jrb/gists{/gist_id}","starred_url":"https://api.github.com/users/neo4jrb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/neo4jrb/subscriptions","organizations_url":"https://api.github.com/users/neo4jrb/orgs","repos_url":"https://api.github.com/users/neo4jrb/repos","events_url":"https://api.github.com/users/neo4jrb/events{/privacy}","received_events_url":"https://api.github.com/users/neo4jrb/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/neo4jrb/neo4j-core","description":"A simple unified API that can access both the server and embedded Neo4j database. Used by the neo4j gem","fork":false,"url":"https://api.github.com/repos/neo4jrb/neo4j-core","forks_url":"https://api.github.com/repos/neo4jrb/neo4j-core/forks","keys_url":"https://api.github.com/repos/neo4jrb/neo4j-core/keys{/key_id}","collaborators_url":"https://api.github.com/repos/neo4jrb/neo4j-core/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/neo4jrb/neo4j-core/teams","hooks_url":"https://api.github.com/repos/neo4jrb/neo4j-core/hooks","issue_events_url":"https://api.github.com/repos/neo4jrb/neo4j-core/issues/events{/number}","events_url":"https://api.github.com/repos/neo4jrb/neo4j-core/events","assignees_url":"https://api.github.com/repos/neo4jrb/neo4j-core/assignees{/user}","branches_url":"https://api.github.com/repos/neo4jrb/neo4j-core/branches{/branch}","tags_url":"https://api.github.com/repos/neo4jrb/neo4j-core/tags","blobs_url":"https://api.github.com/repos/neo4jrb/neo4j-core/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/neo4jrb/neo4j-core/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/neo4jrb/neo4j-core/git/refs{/sha}","trees_url":"https://api.github.com/repos/neo4jrb/neo4j-core/git/trees{/sha}","statuses_url":"https://api.github.com/repos/neo4jrb/neo4j-core/statuses/{sha}","languages_url":"https://api.github.com/repos/neo4jrb/neo4j-core/languages","stargazers_url":"https://api.github.com/repos/neo4jrb/neo4j-core/stargazers","contributors_url":"https://api.github.com/repos/neo4jrb/neo4j-core/contributors","subscribers_url":"https://api.github.com/repos/neo4jrb/neo4j-core/subscribers","subscription_url":"https://api.github.com/repos/neo4jrb/neo4j-core/subscription","commits_url":"https://api.github.com/repos/neo4jrb/neo4j-core/commits{/sha}","git_commits_url":"https://api.github.com/repos/neo4jrb/neo4j-core/git/commits{/sha}","comments_url":"https://api.github.com/repos/neo4jrb/neo4j-core/comments{/number}","issue_comment_url":"https://api.github.com/repos/neo4jrb/neo4j-core/issues/comments{/number}","contents_url":"https://api.github.com/repos/neo4jrb/neo4j-core/contents/{+path}","compare_url":"https://api.github.com/repos/neo4jrb/neo4j-core/compare/{base}...{head}","merges_url":"https://api.github.com/repos/neo4jrb/neo4j-core/merges","archive_url":"https://api.github.com/repos/neo4jrb/neo4j-core/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/neo4jrb/neo4j-core/downloads","issues_url":"https://api.github.com/repos/neo4jrb/neo4j-core/issues{/number}","pulls_url":"https://api.github.com/repos/neo4jrb/neo4j-core/pulls{/number}","milestones_url":"https://api.github.com/repos/neo4jrb/neo4j-core/milestones{/number}","notifications_url":"https://api.github.com/repos/neo4jrb/neo4j-core/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/neo4jrb/neo4j-core/labels{/name}","releases_url":"https://api.github.com/repos/neo4jrb/neo4j-core/releases{/id}","created_at":"2012-02-03T10:53:43Z","updated_at":"2015-07-16T17:41:12Z","pushed_at":"2015-07-20T17:06:59Z","git_url":"git://github.com/neo4jrb/neo4j-core.git","ssh_url":"git@github.com:neo4jrb/neo4j-core.git","clone_url":"https://github.com/neo4jrb/neo4j-core.git","svn_url":"https://github.com/neo4jrb/neo4j-core","homepage":"","size":24707,"stargazers_count":59,"watchers_count":59,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":37,"mirror_url":null,"open_issues_count":20,"forks":37,"open_issues":20,"watchers":59,"default_branch":"master"}},"base":{"label":"neo4jrb:master","ref":"master","sha":"09fb7f005b66baa4f3565b20bc97ed29fe8653b6","user":{"login":"neo4jrb","id":8579795,"avatar_url":"https://avatars.githubusercontent.com/u/8579795?v=3","gravatar_id":"","url":"https://api.github.com/users/neo4jrb","html_url":"https://github.com/neo4jrb","followers_url":"https://api.github.com/users/neo4jrb/followers","following_url":"https://api.github.com/users/neo4jrb/following{/other_user}","gists_url":"https://api.github.com/users/neo4jrb/gists{/gist_id}","starred_url":"https://api.github.com/users/neo4jrb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/neo4jrb/subscriptions","organizations_url":"https://api.github.com/users/neo4jrb/orgs","repos_url":"https://api.github.com/users/neo4jrb/repos","events_url":"https://api.github.com/users/neo4jrb/events{/privacy}","received_events_url":"https://api.github.com/users/neo4jrb/received_events","type":"Organization","site_admin":false},"repo":{"id":3343704,"name":"neo4j-core","full_name":"neo4jrb/neo4j-core","owner":{"login":"neo4jrb","id":8579795,"avatar_url":"https://avatars.githubusercontent.com/u/8579795?v=3","gravatar_id":"","url":"https://api.github.com/users/neo4jrb","html_url":"https://github.com/neo4jrb","followers_url":"https://api.github.com/users/neo4jrb/followers","following_url":"https://api.github.com/users/neo4jrb/following{/other_user}","gists_url":"https://api.github.com/users/neo4jrb/gists{/gist_id}","starred_url":"https://api.github.com/users/neo4jrb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/neo4jrb/subscriptions","organizations_url":"https://api.github.com/users/neo4jrb/orgs","repos_url":"https://api.github.com/users/neo4jrb/repos","events_url":"https://api.github.com/users/neo4jrb/events{/privacy}","received_events_url":"https://api.github.com/users/neo4jrb/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/neo4jrb/neo4j-core","description":"A simple unified API that can access both the server and embedded Neo4j database. Used by the neo4j gem","fork":false,"url":"https://api.github.com/repos/neo4jrb/neo4j-core","forks_url":"https://api.github.com/repos/neo4jrb/neo4j-core/forks","keys_url":"https://api.github.com/repos/neo4jrb/neo4j-core/keys{/key_id}","collaborators_url":"https://api.github.com/repos/neo4jrb/neo4j-core/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/neo4jrb/neo4j-core/teams","hooks_url":"https://api.github.com/repos/neo4jrb/neo4j-core/hooks","issue_events_url":"https://api.github.com/repos/neo4jrb/neo4j-core/issues/events{/number}","events_url":"https://api.github.com/repos/neo4jrb/neo4j-core/events","assignees_url":"https://api.github.com/repos/neo4jrb/neo4j-core/assignees{/user}","branches_url":"https://api.github.com/repos/neo4jrb/neo4j-core/branches{/branch}","tags_url":"https://api.github.com/repos/neo4jrb/neo4j-core/tags","blobs_url":"https://api.github.com/repos/neo4jrb/neo4j-core/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/neo4jrb/neo4j-core/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/neo4jrb/neo4j-core/git/refs{/sha}","trees_url":"https://api.github.com/repos/neo4jrb/neo4j-core/git/trees{/sha}","statuses_url":"https://api.github.com/repos/neo4jrb/neo4j-core/statuses/{sha}","languages_url":"https://api.github.com/repos/neo4jrb/neo4j-core/languages","stargazers_url":"https://api.github.com/repos/neo4jrb/neo4j-core/stargazers","contributors_url":"https://api.github.com/repos/neo4jrb/neo4j-core/contributors","subscribers_url":"https://api.github.com/repos/neo4jrb/neo4j-core/subscribers","subscription_url":"https://api.github.com/repos/neo4jrb/neo4j-core/subscription","commits_url":"https://api.github.com/repos/neo4jrb/neo4j-core/commits{/sha}","git_commits_url":"https://api.github.com/repos/neo4jrb/neo4j-core/git/commits{/sha}","comments_url":"https://api.github.com/repos/neo4jrb/neo4j-core/comments{/number}","issue_comment_url":"https://api.github.com/repos/neo4jrb/neo4j-core/issues/comments{/number}","contents_url":"https://api.github.com/repos/neo4jrb/neo4j-core/contents/{+path}","compare_url":"https://api.github.com/repos/neo4jrb/neo4j-core/compare/{base}...{head}","merges_url":"https://api.github.com/repos/neo4jrb/neo4j-core/merges","archive_url":"https://api.github.com/repos/neo4jrb/neo4j-core/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/neo4jrb/neo4j-core/downloads","issues_url":"https://api.github.com/repos/neo4jrb/neo4j-core/issues{/number}","pulls_url":"https://api.github.com/repos/neo4jrb/neo4j-core/pulls{/number}","milestones_url":"https://api.github.com/repos/neo4jrb/neo4j-core/milestones{/number}","notifications_url":"https://api.github.com/repos/neo4jrb/neo4j-core/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/neo4jrb/neo4j-core/labels{/name}","releases_url":"https://api.github.com/repos/neo4jrb/neo4j-core/releases{/id}","created_at":"2012-02-03T10:53:43Z","updated_at":"2015-07-16T17:41:12Z","pushed_at":"2015-07-20T17:06:59Z","git_url":"git://github.com/neo4jrb/neo4j-core.git","ssh_url":"git@github.com:neo4jrb/neo4j-core.git","clone_url":"https://github.com/neo4jrb/neo4j-core.git","svn_url":"https://github.com/neo4jrb/neo4j-core","homepage":"","size":24707,"stargazers_count":59,"watchers_count":59,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":37,"mirror_url":null,"open_issues_count":20,"forks":37,"open_issues":20,"watchers":59,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/neo4jrb/neo4j-core/pulls/218"},"html":{"href":"https://github.com/neo4jrb/neo4j-core/pull/218"},"issue":{"href":"https://api.github.com/repos/neo4jrb/neo4j-core/issues/218"},"comments":{"href":"https://api.github.com/repos/neo4jrb/neo4j-core/issues/218/comments"},"review_comments":{"href":"https://api.github.com/repos/neo4jrb/neo4j-core/pulls/218/comments"},"review_comment":{"href":"https://api.github.com/repos/neo4jrb/neo4j-core/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/neo4jrb/neo4j-core/pulls/218/commits"},"statuses":{"href":"https://api.github.com/repos/neo4jrb/neo4j-core/statuses/e7cd7c9656148885fc11908b47c59a0f9d1f8ff0"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":2,"additions":134,"deletions":37,"changed_files":5}}