{"action":"opened","number":7,"pull_request":{"url":"https://api.github.com/repos/sileht/python-jsonpath-rw-ext/pulls/7","id":61813848,"html_url":"https://github.com/sileht/python-jsonpath-rw-ext/pull/7","diff_url":"https://github.com/sileht/python-jsonpath-rw-ext/pull/7.diff","patch_url":"https://github.com/sileht/python-jsonpath-rw-ext/pull/7.patch","issue_url":"https://api.github.com/repos/sileht/python-jsonpath-rw-ext/issues/7","number":7,"state":"open","locked":false,"title":"Make results of a sort indexable and traversable","user":{"login":"cdent","id":34498,"avatar_url":"https://avatars.githubusercontent.com/u/34498?v=3","gravatar_id":"","url":"https://api.github.com/users/cdent","html_url":"https://github.com/cdent","followers_url":"https://api.github.com/users/cdent/followers","following_url":"https://api.github.com/users/cdent/following{/other_user}","gists_url":"https://api.github.com/users/cdent/gists{/gist_id}","starred_url":"https://api.github.com/users/cdent/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cdent/subscriptions","organizations_url":"https://api.github.com/users/cdent/orgs","repos_url":"https://api.github.com/users/cdent/repos","events_url":"https://api.github.com/users/cdent/events{/privacy}","received_events_url":"https://api.github.com/users/cdent/received_events","type":"User","site_admin":false},"body":"Fixes #6\r\n\r\nThe results of SortedThis.find needs to be a single item list\r\nDatumInContext with a value of the sorted data. This allows for\r\nqueries against the results as shown in the added tests.\r\n\r\nIn other words this makes\r\n\r\n  $.foo.`sorted`[0]\r\n\r\nand things like that, work.","created_at":"2016-03-05T14:47:04Z","updated_at":"2016-03-05T14:47:04Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/sileht/python-jsonpath-rw-ext/pulls/7/commits","review_comments_url":"https://api.github.com/repos/sileht/python-jsonpath-rw-ext/pulls/7/comments","review_comment_url":"https://api.github.com/repos/sileht/python-jsonpath-rw-ext/pulls/comments{/number}","comments_url":"https://api.github.com/repos/sileht/python-jsonpath-rw-ext/issues/7/comments","statuses_url":"https://api.github.com/repos/sileht/python-jsonpath-rw-ext/statuses/5e8e524f1a4e72eb428fdfd07eea7bead5d1f138","head":{"label":"cdent:fix-sort","ref":"fix-sort","sha":"5e8e524f1a4e72eb428fdfd07eea7bead5d1f138","user":{"login":"cdent","id":34498,"avatar_url":"https://avatars.githubusercontent.com/u/34498?v=3","gravatar_id":"","url":"https://api.github.com/users/cdent","html_url":"https://github.com/cdent","followers_url":"https://api.github.com/users/cdent/followers","following_url":"https://api.github.com/users/cdent/following{/other_user}","gists_url":"https://api.github.com/users/cdent/gists{/gist_id}","starred_url":"https://api.github.com/users/cdent/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cdent/subscriptions","organizations_url":"https://api.github.com/users/cdent/orgs","repos_url":"https://api.github.com/users/cdent/repos","events_url":"https://api.github.com/users/cdent/events{/privacy}","received_events_url":"https://api.github.com/users/cdent/received_events","type":"User","site_admin":false},"repo":{"id":49516138,"name":"python-jsonpath-rw-ext","full_name":"cdent/python-jsonpath-rw-ext","owner":{"login":"cdent","id":34498,"avatar_url":"https://avatars.githubusercontent.com/u/34498?v=3","gravatar_id":"","url":"https://api.github.com/users/cdent","html_url":"https://github.com/cdent","followers_url":"https://api.github.com/users/cdent/followers","following_url":"https://api.github.com/users/cdent/following{/other_user}","gists_url":"https://api.github.com/users/cdent/gists{/gist_id}","starred_url":"https://api.github.com/users/cdent/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cdent/subscriptions","organizations_url":"https://api.github.com/users/cdent/orgs","repos_url":"https://api.github.com/users/cdent/repos","events_url":"https://api.github.com/users/cdent/events{/privacy}","received_events_url":"https://api.github.com/users/cdent/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/cdent/python-jsonpath-rw-ext","description":"Extensions for JSONPath RW","fork":true,"url":"https://api.github.com/repos/cdent/python-jsonpath-rw-ext","forks_url":"https://api.github.com/repos/cdent/python-jsonpath-rw-ext/forks","keys_url":"https://api.github.com/repos/cdent/python-jsonpath-rw-ext/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cdent/python-jsonpath-rw-ext/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cdent/python-jsonpath-rw-ext/teams","hooks_url":"https://api.github.com/repos/cdent/python-jsonpath-rw-ext/hooks","issue_events_url":"https://api.github.com/repos/cdent/python-jsonpath-rw-ext/issues/events{/number}","events_url":"https://api.github.com/repos/cdent/python-jsonpath-rw-ext/events","assignees_url":"https://api.github.com/repos/cdent/python-jsonpath-rw-ext/assignees{/user}","branches_url":"https://api.github.com/repos/cdent/python-jsonpath-rw-ext/branches{/branch}","tags_url":"https://api.github.com/repos/cdent/python-jsonpath-rw-ext/tags","blobs_url":"https://api.github.com/repos/cdent/python-jsonpath-rw-ext/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cdent/python-jsonpath-rw-ext/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cdent/python-jsonpath-rw-ext/git/refs{/sha}","trees_url":"https://api.github.com/repos/cdent/python-jsonpath-rw-ext/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cdent/python-jsonpath-rw-ext/statuses/{sha}","languages_url":"https://api.github.com/repos/cdent/python-jsonpath-rw-ext/languages","stargazers_url":"https://api.github.com/repos/cdent/python-jsonpath-rw-ext/stargazers","contributors_url":"https://api.github.com/repos/cdent/python-jsonpath-rw-ext/contributors","subscribers_url":"https://api.github.com/repos/cdent/python-jsonpath-rw-ext/subscribers","subscription_url":"https://api.github.com/repos/cdent/python-jsonpath-rw-ext/subscription","commits_url":"https://api.github.com/repos/cdent/python-jsonpath-rw-ext/commits{/sha}","git_commits_url":"https://api.github.com/repos/cdent/python-jsonpath-rw-ext/git/commits{/sha}","comments_url":"https://api.github.com/repos/cdent/python-jsonpath-rw-ext/comments{/number}","issue_comment_url":"https://api.github.com/repos/cdent/python-jsonpath-rw-ext/issues/comments{/number}","contents_url":"https://api.github.com/repos/cdent/python-jsonpath-rw-ext/contents/{+path}","compare_url":"https://api.github.com/repos/cdent/python-jsonpath-rw-ext/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cdent/python-jsonpath-rw-ext/merges","archive_url":"https://api.github.com/repos/cdent/python-jsonpath-rw-ext/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cdent/python-jsonpath-rw-ext/downloads","issues_url":"https://api.github.com/repos/cdent/python-jsonpath-rw-ext/issues{/number}","pulls_url":"https://api.github.com/repos/cdent/python-jsonpath-rw-ext/pulls{/number}","milestones_url":"https://api.github.com/repos/cdent/python-jsonpath-rw-ext/milestones{/number}","notifications_url":"https://api.github.com/repos/cdent/python-jsonpath-rw-ext/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cdent/python-jsonpath-rw-ext/labels{/name}","releases_url":"https://api.github.com/repos/cdent/python-jsonpath-rw-ext/releases{/id}","deployments_url":"https://api.github.com/repos/cdent/python-jsonpath-rw-ext/deployments","created_at":"2016-01-12T17:15:08Z","updated_at":"2016-01-12T17:15:09Z","pushed_at":"2016-03-05T14:46:53Z","git_url":"git://github.com/cdent/python-jsonpath-rw-ext.git","ssh_url":"git@github.com:cdent/python-jsonpath-rw-ext.git","clone_url":"https://github.com/cdent/python-jsonpath-rw-ext.git","svn_url":"https://github.com/cdent/python-jsonpath-rw-ext","homepage":null,"size":44,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"sileht:master","ref":"master","sha":"da3e74d4ffd5ca11faad6b0a3c76356a51e2cf28","user":{"login":"sileht","id":200878,"avatar_url":"https://avatars.githubusercontent.com/u/200878?v=3","gravatar_id":"","url":"https://api.github.com/users/sileht","html_url":"https://github.com/sileht","followers_url":"https://api.github.com/users/sileht/followers","following_url":"https://api.github.com/users/sileht/following{/other_user}","gists_url":"https://api.github.com/users/sileht/gists{/gist_id}","starred_url":"https://api.github.com/users/sileht/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sileht/subscriptions","organizations_url":"https://api.github.com/users/sileht/orgs","repos_url":"https://api.github.com/users/sileht/repos","events_url":"https://api.github.com/users/sileht/events{/privacy}","received_events_url":"https://api.github.com/users/sileht/received_events","type":"User","site_admin":false},"repo":{"id":40972300,"name":"python-jsonpath-rw-ext","full_name":"sileht/python-jsonpath-rw-ext","owner":{"login":"sileht","id":200878,"avatar_url":"https://avatars.githubusercontent.com/u/200878?v=3","gravatar_id":"","url":"https://api.github.com/users/sileht","html_url":"https://github.com/sileht","followers_url":"https://api.github.com/users/sileht/followers","following_url":"https://api.github.com/users/sileht/following{/other_user}","gists_url":"https://api.github.com/users/sileht/gists{/gist_id}","starred_url":"https://api.github.com/users/sileht/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sileht/subscriptions","organizations_url":"https://api.github.com/users/sileht/orgs","repos_url":"https://api.github.com/users/sileht/repos","events_url":"https://api.github.com/users/sileht/events{/privacy}","received_events_url":"https://api.github.com/users/sileht/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/sileht/python-jsonpath-rw-ext","description":"Extensions for JSONPath RW","fork":false,"url":"https://api.github.com/repos/sileht/python-jsonpath-rw-ext","forks_url":"https://api.github.com/repos/sileht/python-jsonpath-rw-ext/forks","keys_url":"https://api.github.com/repos/sileht/python-jsonpath-rw-ext/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sileht/python-jsonpath-rw-ext/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sileht/python-jsonpath-rw-ext/teams","hooks_url":"https://api.github.com/repos/sileht/python-jsonpath-rw-ext/hooks","issue_events_url":"https://api.github.com/repos/sileht/python-jsonpath-rw-ext/issues/events{/number}","events_url":"https://api.github.com/repos/sileht/python-jsonpath-rw-ext/events","assignees_url":"https://api.github.com/repos/sileht/python-jsonpath-rw-ext/assignees{/user}","branches_url":"https://api.github.com/repos/sileht/python-jsonpath-rw-ext/branches{/branch}","tags_url":"https://api.github.com/repos/sileht/python-jsonpath-rw-ext/tags","blobs_url":"https://api.github.com/repos/sileht/python-jsonpath-rw-ext/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sileht/python-jsonpath-rw-ext/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sileht/python-jsonpath-rw-ext/git/refs{/sha}","trees_url":"https://api.github.com/repos/sileht/python-jsonpath-rw-ext/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sileht/python-jsonpath-rw-ext/statuses/{sha}","languages_url":"https://api.github.com/repos/sileht/python-jsonpath-rw-ext/languages","stargazers_url":"https://api.github.com/repos/sileht/python-jsonpath-rw-ext/stargazers","contributors_url":"https://api.github.com/repos/sileht/python-jsonpath-rw-ext/contributors","subscribers_url":"https://api.github.com/repos/sileht/python-jsonpath-rw-ext/subscribers","subscription_url":"https://api.github.com/repos/sileht/python-jsonpath-rw-ext/subscription","commits_url":"https://api.github.com/repos/sileht/python-jsonpath-rw-ext/commits{/sha}","git_commits_url":"https://api.github.com/repos/sileht/python-jsonpath-rw-ext/git/commits{/sha}","comments_url":"https://api.github.com/repos/sileht/python-jsonpath-rw-ext/comments{/number}","issue_comment_url":"https://api.github.com/repos/sileht/python-jsonpath-rw-ext/issues/comments{/number}","contents_url":"https://api.github.com/repos/sileht/python-jsonpath-rw-ext/contents/{+path}","compare_url":"https://api.github.com/repos/sileht/python-jsonpath-rw-ext/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sileht/python-jsonpath-rw-ext/merges","archive_url":"https://api.github.com/repos/sileht/python-jsonpath-rw-ext/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sileht/python-jsonpath-rw-ext/downloads","issues_url":"https://api.github.com/repos/sileht/python-jsonpath-rw-ext/issues{/number}","pulls_url":"https://api.github.com/repos/sileht/python-jsonpath-rw-ext/pulls{/number}","milestones_url":"https://api.github.com/repos/sileht/python-jsonpath-rw-ext/milestones{/number}","notifications_url":"https://api.github.com/repos/sileht/python-jsonpath-rw-ext/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sileht/python-jsonpath-rw-ext/labels{/name}","releases_url":"https://api.github.com/repos/sileht/python-jsonpath-rw-ext/releases{/id}","deployments_url":"https://api.github.com/repos/sileht/python-jsonpath-rw-ext/deployments","created_at":"2015-08-18T13:04:05Z","updated_at":"2016-01-30T11:14:39Z","pushed_at":"2016-01-07T21:09:25Z","git_url":"git://github.com/sileht/python-jsonpath-rw-ext.git","ssh_url":"git@github.com:sileht/python-jsonpath-rw-ext.git","clone_url":"https://github.com/sileht/python-jsonpath-rw-ext.git","svn_url":"https://github.com/sileht/python-jsonpath-rw-ext","homepage":null,"size":42,"stargazers_count":2,"watchers_count":2,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":4,"forks":3,"open_issues":4,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/sileht/python-jsonpath-rw-ext/pulls/7"},"html":{"href":"https://github.com/sileht/python-jsonpath-rw-ext/pull/7"},"issue":{"href":"https://api.github.com/repos/sileht/python-jsonpath-rw-ext/issues/7"},"comments":{"href":"https://api.github.com/repos/sileht/python-jsonpath-rw-ext/issues/7/comments"},"review_comments":{"href":"https://api.github.com/repos/sileht/python-jsonpath-rw-ext/pulls/7/comments"},"review_comment":{"href":"https://api.github.com/repos/sileht/python-jsonpath-rw-ext/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/sileht/python-jsonpath-rw-ext/pulls/7/commits"},"statuses":{"href":"https://api.github.com/repos/sileht/python-jsonpath-rw-ext/statuses/5e8e524f1a4e72eb428fdfd07eea7bead5d1f138"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":54,"deletions":15,"changed_files":2}}