{"action":"created","comment":{"url":"https://api.github.com/repos/DockYard/json_api_assert/pulls/comments/72694262","id":72694262,"diff_hunk":"@@ -0,0 +1,49 @@\n+defmodule AssertMetaTest do\n+  use ExUnit.Case\n+  import JsonApiAssert, only: [assert_meta: 2, assert_meta: 1]\n+  import JsonApiAssert.TestData, only: [data: 1]\n+\n+  @meta %{\n+    \"meta\" => %{\n+      \"license\" => \"The MIT License (MIT)\",\n+      \"authors\" => [\n+        \"Brian Cardarella\"\n+      ]\n+    }\n+  }\n+\n+  test \"assert will return original payload\" do\n+    assert Map.merge(data(:payload), @meta) ==","path":"test/assert_meta_test.exs","position":null,"original_position":16,"commit_id":"65d71613f02d95bdb355dc3adcf4c0d8a436c3a9","original_commit_id":"8fd318bec42ee6fd30a982db3184b498b11baf62","user":{"login":"codyjroberts","id":6867961,"avatar_url":"https://avatars.githubusercontent.com/u/6867961?v=3","gravatar_id":"","url":"https://api.github.com/users/codyjroberts","html_url":"https://github.com/codyjroberts","followers_url":"https://api.github.com/users/codyjroberts/followers","following_url":"https://api.github.com/users/codyjroberts/following{/other_user}","gists_url":"https://api.github.com/users/codyjroberts/gists{/gist_id}","starred_url":"https://api.github.com/users/codyjroberts/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codyjroberts/subscriptions","organizations_url":"https://api.github.com/users/codyjroberts/orgs","repos_url":"https://api.github.com/users/codyjroberts/repos","events_url":"https://api.github.com/users/codyjroberts/events{/privacy}","received_events_url":"https://api.github.com/users/codyjroberts/received_events","type":"User","site_admin":false},"body":"Done and squashed.","created_at":"2016-07-28T20:17:10Z","updated_at":"2016-07-28T20:17:10Z","html_url":"https://github.com/DockYard/json_api_assert/pull/9#discussion_r72694262","pull_request_url":"https://api.github.com/repos/DockYard/json_api_assert/pulls/9","_links":{"self":{"href":"https://api.github.com/repos/DockYard/json_api_assert/pulls/comments/72694262"},"html":{"href":"https://github.com/DockYard/json_api_assert/pull/9#discussion_r72694262"},"pull_request":{"href":"https://api.github.com/repos/DockYard/json_api_assert/pulls/9"}}},"pull_request":{"url":"https://api.github.com/repos/DockYard/json_api_assert/pulls/9","id":78195277,"html_url":"https://github.com/DockYard/json_api_assert/pull/9","diff_url":"https://github.com/DockYard/json_api_assert/pull/9.diff","patch_url":"https://github.com/DockYard/json_api_assert/pull/9.patch","issue_url":"https://api.github.com/repos/DockYard/json_api_assert/issues/9","number":9,"state":"open","locked":false,"title":"Implement assert_meta/2","user":{"login":"codyjroberts","id":6867961,"avatar_url":"https://avatars.githubusercontent.com/u/6867961?v=3","gravatar_id":"","url":"https://api.github.com/users/codyjroberts","html_url":"https://github.com/codyjroberts","followers_url":"https://api.github.com/users/codyjroberts/followers","following_url":"https://api.github.com/users/codyjroberts/following{/other_user}","gists_url":"https://api.github.com/users/codyjroberts/gists{/gist_id}","starred_url":"https://api.github.com/users/codyjroberts/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codyjroberts/subscriptions","organizations_url":"https://api.github.com/users/codyjroberts/orgs","repos_url":"https://api.github.com/users/codyjroberts/repos","events_url":"https://api.github.com/users/codyjroberts/events{/privacy}","received_events_url":"https://api.github.com/users/codyjroberts/received_events","type":"User","site_admin":false},"body":"Add assertion `assert_meta/2` that validates the document's top-level meta\r\nobject and it's optional members.\r\n\r\nAddresses meta #1 \r\n\r\nI'm not certain how to address nested meta objects.  I'll happily adjust this to do so if needed. 👍 ","created_at":"2016-07-20T18:24:11Z","updated_at":"2016-07-28T20:17:10Z","closed_at":null,"merged_at":null,"merge_commit_sha":"06261fce7fd97feae419442e59d91e639c055553","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/DockYard/json_api_assert/pulls/9/commits","review_comments_url":"https://api.github.com/repos/DockYard/json_api_assert/pulls/9/comments","review_comment_url":"https://api.github.com/repos/DockYard/json_api_assert/pulls/comments{/number}","comments_url":"https://api.github.com/repos/DockYard/json_api_assert/issues/9/comments","statuses_url":"https://api.github.com/repos/DockYard/json_api_assert/statuses/65d71613f02d95bdb355dc3adcf4c0d8a436c3a9","head":{"label":"codyjroberts:add_assert_meta","ref":"add_assert_meta","sha":"65d71613f02d95bdb355dc3adcf4c0d8a436c3a9","user":{"login":"codyjroberts","id":6867961,"avatar_url":"https://avatars.githubusercontent.com/u/6867961?v=3","gravatar_id":"","url":"https://api.github.com/users/codyjroberts","html_url":"https://github.com/codyjroberts","followers_url":"https://api.github.com/users/codyjroberts/followers","following_url":"https://api.github.com/users/codyjroberts/following{/other_user}","gists_url":"https://api.github.com/users/codyjroberts/gists{/gist_id}","starred_url":"https://api.github.com/users/codyjroberts/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codyjroberts/subscriptions","organizations_url":"https://api.github.com/users/codyjroberts/orgs","repos_url":"https://api.github.com/users/codyjroberts/repos","events_url":"https://api.github.com/users/codyjroberts/events{/privacy}","received_events_url":"https://api.github.com/users/codyjroberts/received_events","type":"User","site_admin":false},"repo":{"id":62749016,"name":"json_api_assert","full_name":"codyjroberts/json_api_assert","owner":{"login":"codyjroberts","id":6867961,"avatar_url":"https://avatars.githubusercontent.com/u/6867961?v=3","gravatar_id":"","url":"https://api.github.com/users/codyjroberts","html_url":"https://github.com/codyjroberts","followers_url":"https://api.github.com/users/codyjroberts/followers","following_url":"https://api.github.com/users/codyjroberts/following{/other_user}","gists_url":"https://api.github.com/users/codyjroberts/gists{/gist_id}","starred_url":"https://api.github.com/users/codyjroberts/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codyjroberts/subscriptions","organizations_url":"https://api.github.com/users/codyjroberts/orgs","repos_url":"https://api.github.com/users/codyjroberts/repos","events_url":"https://api.github.com/users/codyjroberts/events{/privacy}","received_events_url":"https://api.github.com/users/codyjroberts/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/codyjroberts/json_api_assert","description":"Composable assertions for JSON API payload","fork":true,"url":"https://api.github.com/repos/codyjroberts/json_api_assert","forks_url":"https://api.github.com/repos/codyjroberts/json_api_assert/forks","keys_url":"https://api.github.com/repos/codyjroberts/json_api_assert/keys{/key_id}","collaborators_url":"https://api.github.com/repos/codyjroberts/json_api_assert/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/codyjroberts/json_api_assert/teams","hooks_url":"https://api.github.com/repos/codyjroberts/json_api_assert/hooks","issue_events_url":"https://api.github.com/repos/codyjroberts/json_api_assert/issues/events{/number}","events_url":"https://api.github.com/repos/codyjroberts/json_api_assert/events","assignees_url":"https://api.github.com/repos/codyjroberts/json_api_assert/assignees{/user}","branches_url":"https://api.github.com/repos/codyjroberts/json_api_assert/branches{/branch}","tags_url":"https://api.github.com/repos/codyjroberts/json_api_assert/tags","blobs_url":"https://api.github.com/repos/codyjroberts/json_api_assert/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/codyjroberts/json_api_assert/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/codyjroberts/json_api_assert/git/refs{/sha}","trees_url":"https://api.github.com/repos/codyjroberts/json_api_assert/git/trees{/sha}","statuses_url":"https://api.github.com/repos/codyjroberts/json_api_assert/statuses/{sha}","languages_url":"https://api.github.com/repos/codyjroberts/json_api_assert/languages","stargazers_url":"https://api.github.com/repos/codyjroberts/json_api_assert/stargazers","contributors_url":"https://api.github.com/repos/codyjroberts/json_api_assert/contributors","subscribers_url":"https://api.github.com/repos/codyjroberts/json_api_assert/subscribers","subscription_url":"https://api.github.com/repos/codyjroberts/json_api_assert/subscription","commits_url":"https://api.github.com/repos/codyjroberts/json_api_assert/commits{/sha}","git_commits_url":"https://api.github.com/repos/codyjroberts/json_api_assert/git/commits{/sha}","comments_url":"https://api.github.com/repos/codyjroberts/json_api_assert/comments{/number}","issue_comment_url":"https://api.github.com/repos/codyjroberts/json_api_assert/issues/comments{/number}","contents_url":"https://api.github.com/repos/codyjroberts/json_api_assert/contents/{+path}","compare_url":"https://api.github.com/repos/codyjroberts/json_api_assert/compare/{base}...{head}","merges_url":"https://api.github.com/repos/codyjroberts/json_api_assert/merges","archive_url":"https://api.github.com/repos/codyjroberts/json_api_assert/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/codyjroberts/json_api_assert/downloads","issues_url":"https://api.github.com/repos/codyjroberts/json_api_assert/issues{/number}","pulls_url":"https://api.github.com/repos/codyjroberts/json_api_assert/pulls{/number}","milestones_url":"https://api.github.com/repos/codyjroberts/json_api_assert/milestones{/number}","notifications_url":"https://api.github.com/repos/codyjroberts/json_api_assert/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/codyjroberts/json_api_assert/labels{/name}","releases_url":"https://api.github.com/repos/codyjroberts/json_api_assert/releases{/id}","deployments_url":"https://api.github.com/repos/codyjroberts/json_api_assert/deployments","created_at":"2016-07-06T19:47:25Z","updated_at":"2016-07-06T19:47:26Z","pushed_at":"2016-07-28T19:56:24Z","git_url":"git://github.com/codyjroberts/json_api_assert.git","ssh_url":"git@github.com:codyjroberts/json_api_assert.git","clone_url":"https://github.com/codyjroberts/json_api_assert.git","svn_url":"https://github.com/codyjroberts/json_api_assert","homepage":null,"size":41,"stargazers_count":0,"watchers_count":0,"language":"Elixir","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":"DockYard:master","ref":"master","sha":"ae2a0e58c0eaca4a61f6030e3807917c66ec74ee","user":{"login":"DockYard","id":873981,"avatar_url":"https://avatars.githubusercontent.com/u/873981?v=3","gravatar_id":"","url":"https://api.github.com/users/DockYard","html_url":"https://github.com/DockYard","followers_url":"https://api.github.com/users/DockYard/followers","following_url":"https://api.github.com/users/DockYard/following{/other_user}","gists_url":"https://api.github.com/users/DockYard/gists{/gist_id}","starred_url":"https://api.github.com/users/DockYard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DockYard/subscriptions","organizations_url":"https://api.github.com/users/DockYard/orgs","repos_url":"https://api.github.com/users/DockYard/repos","events_url":"https://api.github.com/users/DockYard/events{/privacy}","received_events_url":"https://api.github.com/users/DockYard/received_events","type":"Organization","site_admin":false},"repo":{"id":60885149,"name":"json_api_assert","full_name":"DockYard/json_api_assert","owner":{"login":"DockYard","id":873981,"avatar_url":"https://avatars.githubusercontent.com/u/873981?v=3","gravatar_id":"","url":"https://api.github.com/users/DockYard","html_url":"https://github.com/DockYard","followers_url":"https://api.github.com/users/DockYard/followers","following_url":"https://api.github.com/users/DockYard/following{/other_user}","gists_url":"https://api.github.com/users/DockYard/gists{/gist_id}","starred_url":"https://api.github.com/users/DockYard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DockYard/subscriptions","organizations_url":"https://api.github.com/users/DockYard/orgs","repos_url":"https://api.github.com/users/DockYard/repos","events_url":"https://api.github.com/users/DockYard/events{/privacy}","received_events_url":"https://api.github.com/users/DockYard/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/DockYard/json_api_assert","description":"Composable assertions for JSON API payload","fork":false,"url":"https://api.github.com/repos/DockYard/json_api_assert","forks_url":"https://api.github.com/repos/DockYard/json_api_assert/forks","keys_url":"https://api.github.com/repos/DockYard/json_api_assert/keys{/key_id}","collaborators_url":"https://api.github.com/repos/DockYard/json_api_assert/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/DockYard/json_api_assert/teams","hooks_url":"https://api.github.com/repos/DockYard/json_api_assert/hooks","issue_events_url":"https://api.github.com/repos/DockYard/json_api_assert/issues/events{/number}","events_url":"https://api.github.com/repos/DockYard/json_api_assert/events","assignees_url":"https://api.github.com/repos/DockYard/json_api_assert/assignees{/user}","branches_url":"https://api.github.com/repos/DockYard/json_api_assert/branches{/branch}","tags_url":"https://api.github.com/repos/DockYard/json_api_assert/tags","blobs_url":"https://api.github.com/repos/DockYard/json_api_assert/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/DockYard/json_api_assert/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/DockYard/json_api_assert/git/refs{/sha}","trees_url":"https://api.github.com/repos/DockYard/json_api_assert/git/trees{/sha}","statuses_url":"https://api.github.com/repos/DockYard/json_api_assert/statuses/{sha}","languages_url":"https://api.github.com/repos/DockYard/json_api_assert/languages","stargazers_url":"https://api.github.com/repos/DockYard/json_api_assert/stargazers","contributors_url":"https://api.github.com/repos/DockYard/json_api_assert/contributors","subscribers_url":"https://api.github.com/repos/DockYard/json_api_assert/subscribers","subscription_url":"https://api.github.com/repos/DockYard/json_api_assert/subscription","commits_url":"https://api.github.com/repos/DockYard/json_api_assert/commits{/sha}","git_commits_url":"https://api.github.com/repos/DockYard/json_api_assert/git/commits{/sha}","comments_url":"https://api.github.com/repos/DockYard/json_api_assert/comments{/number}","issue_comment_url":"https://api.github.com/repos/DockYard/json_api_assert/issues/comments{/number}","contents_url":"https://api.github.com/repos/DockYard/json_api_assert/contents/{+path}","compare_url":"https://api.github.com/repos/DockYard/json_api_assert/compare/{base}...{head}","merges_url":"https://api.github.com/repos/DockYard/json_api_assert/merges","archive_url":"https://api.github.com/repos/DockYard/json_api_assert/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/DockYard/json_api_assert/downloads","issues_url":"https://api.github.com/repos/DockYard/json_api_assert/issues{/number}","pulls_url":"https://api.github.com/repos/DockYard/json_api_assert/pulls{/number}","milestones_url":"https://api.github.com/repos/DockYard/json_api_assert/milestones{/number}","notifications_url":"https://api.github.com/repos/DockYard/json_api_assert/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/DockYard/json_api_assert/labels{/name}","releases_url":"https://api.github.com/repos/DockYard/json_api_assert/releases{/id}","deployments_url":"https://api.github.com/repos/DockYard/json_api_assert/deployments","created_at":"2016-06-11T01:06:55Z","updated_at":"2016-07-22T21:11:28Z","pushed_at":"2016-07-28T19:56:24Z","git_url":"git://github.com/DockYard/json_api_assert.git","ssh_url":"git@github.com:DockYard/json_api_assert.git","clone_url":"https://github.com/DockYard/json_api_assert.git","svn_url":"https://github.com/DockYard/json_api_assert","homepage":null,"size":47,"stargazers_count":5,"watchers_count":5,"language":"Elixir","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":4,"forks":1,"open_issues":4,"watchers":5,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/DockYard/json_api_assert/pulls/9"},"html":{"href":"https://github.com/DockYard/json_api_assert/pull/9"},"issue":{"href":"https://api.github.com/repos/DockYard/json_api_assert/issues/9"},"comments":{"href":"https://api.github.com/repos/DockYard/json_api_assert/issues/9/comments"},"review_comments":{"href":"https://api.github.com/repos/DockYard/json_api_assert/pulls/9/comments"},"review_comment":{"href":"https://api.github.com/repos/DockYard/json_api_assert/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/DockYard/json_api_assert/pulls/9/commits"},"statuses":{"href":"https://api.github.com/repos/DockYard/json_api_assert/statuses/65d71613f02d95bdb355dc3adcf4c0d8a436c3a9"}}}}
{"actor":{"display_login":"codyjroberts"}}