payload: {"action":"created","comment":{"url":"https://api.github.com/repos/godaddy/node-flipr/pulls/comments/254008648","pull_request_review_id":200256325,"id":254008648,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDI1NDAwODY0OA==","diff_hunk":"@@ -0,0 +1,18 @@\n+const includes = require('lodash.includes');\n+const prepForComparison = require('./prep-for-comparison');\n+\n+function executeRuleIncludes(input, rule, values) {\n+  const firstMatch = values.find((value) => {\n+    let property = value[rule.property];\n+    if (property === undefined) {\n+      return;\n+    }\n+    property = prepForComparison(property, rule);","path":"lib/rules/execute-rule-includes.js","position":10,"original_position":10,"commit_id":"36afa255256832251040070baaf742818bdafd57","original_commit_id":"36afa255256832251040070baaf742818bdafd57","user":{"login":"gshively11","id":1852172,"node_id":"MDQ6VXNlcjE4NTIxNzI=","avatar_url":"https://avatars1.githubusercontent.com/u/1852172?v=4","gravatar_id":"","url":"https://api.github.com/users/gshively11","html_url":"https://github.com/gshively11","followers_url":"https://api.github.com/users/gshively11/followers","following_url":"https://api.github.com/users/gshively11/following{/other_user}","gists_url":"https://api.github.com/users/gshively11/gists{/gist_id}","starred_url":"https://api.github.com/users/gshively11/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gshively11/subscriptions","organizations_url":"https://api.github.com/users/gshively11/orgs","repos_url":"https://api.github.com/users/gshively11/repos","events_url":"https://api.github.com/users/gshively11/events{/privacy}","received_events_url":"https://api.github.com/users/gshively11/received_events","type":"User","site_admin":false},"body":"good suggestion, i may move that to another PR though","created_at":"2019-02-05T19:18:29Z","updated_at":"2019-02-05T19:18:29Z","html_url":"https://github.com/godaddy/node-flipr/pull/15#discussion_r254008648","pull_request_url":"https://api.github.com/repos/godaddy/node-flipr/pulls/15","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/godaddy/node-flipr/pulls/comments/254008648"},"html":{"href":"https://github.com/godaddy/node-flipr/pull/15#discussion_r254008648"},"pull_request":{"href":"https://api.github.com/repos/godaddy/node-flipr/pulls/15"}},"in_reply_to_id":253997989},"pull_request":{"url":"https://api.github.com/repos/godaddy/node-flipr/pulls/15","id":249691713,"node_id":"MDExOlB1bGxSZXF1ZXN0MjQ5NjkxNzEz","html_url":"https://github.com/godaddy/node-flipr/pull/15","diff_url":"https://github.com/godaddy/node-flipr/pull/15.diff","patch_url":"https://github.com/godaddy/node-flipr/pull/15.patch","issue_url":"https://api.github.com/repos/godaddy/node-flipr/issues/15","number":15,"state":"open","locked":false,"title":"Added three new rules: includes, includesListAny, and includesListAll","user":{"login":"gshively11","id":1852172,"node_id":"MDQ6VXNlcjE4NTIxNzI=","avatar_url":"https://avatars1.githubusercontent.com/u/1852172?v=4","gravatar_id":"","url":"https://api.github.com/users/gshively11","html_url":"https://github.com/gshively11","followers_url":"https://api.github.com/users/gshively11/followers","following_url":"https://api.github.com/users/gshively11/following{/other_user}","gists_url":"https://api.github.com/users/gshively11/gists{/gist_id}","starred_url":"https://api.github.com/users/gshively11/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gshively11/subscriptions","organizations_url":"https://api.github.com/users/gshively11/orgs","repos_url":"https://api.github.com/users/gshively11/repos","events_url":"https://api.github.com/users/gshively11/events{/privacy}","received_events_url":"https://api.github.com/users/gshively11/received_events","type":"User","site_admin":false},"body":"- Added two new dependencies: lodash.includes and lodash.isobject\r\n- Refactored the logic around case sensitivity and fixed a bug\r\n- Updated docs\r\n- Opted for integration tests over unit tests for the new code","created_at":"2019-02-01T18:14:12Z","updated_at":"2019-02-05T19:18:29Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a4cf6147ef80c35d7abc8a18e475eb76605ce443","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/godaddy/node-flipr/pulls/15/commits","review_comments_url":"https://api.github.com/repos/godaddy/node-flipr/pulls/15/comments","review_comment_url":"https://api.github.com/repos/godaddy/node-flipr/pulls/comments{/number}","comments_url":"https://api.github.com/repos/godaddy/node-flipr/issues/15/comments","statuses_url":"https://api.github.com/repos/godaddy/node-flipr/statuses/36afa255256832251040070baaf742818bdafd57","head":{"label":"godaddy:includes-rules","ref":"includes-rules","sha":"36afa255256832251040070baaf742818bdafd57","user":{"login":"godaddy","id":1406546,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE0MDY1NDY=","avatar_url":"https://avatars3.githubusercontent.com/u/1406546?v=4","gravatar_id":"","url":"https://api.github.com/users/godaddy","html_url":"https://github.com/godaddy","followers_url":"https://api.github.com/users/godaddy/followers","following_url":"https://api.github.com/users/godaddy/following{/other_user}","gists_url":"https://api.github.com/users/godaddy/gists{/gist_id}","starred_url":"https://api.github.com/users/godaddy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/godaddy/subscriptions","organizations_url":"https://api.github.com/users/godaddy/orgs","repos_url":"https://api.github.com/users/godaddy/repos","events_url":"https://api.github.com/users/godaddy/events{/privacy}","received_events_url":"https://api.github.com/users/godaddy/received_events","type":"Organization","site_admin":false},"repo":{"id":22361237,"node_id":"MDEwOlJlcG9zaXRvcnkyMjM2MTIzNw==","name":"node-flipr","full_name":"godaddy/node-flipr","private":false,"owner":{"login":"godaddy","id":1406546,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE0MDY1NDY=","avatar_url":"https://avatars3.githubusercontent.com/u/1406546?v=4","gravatar_id":"","url":"https://api.github.com/users/godaddy","html_url":"https://github.com/godaddy","followers_url":"https://api.github.com/users/godaddy/followers","following_url":"https://api.github.com/users/godaddy/following{/other_user}","gists_url":"https://api.github.com/users/godaddy/gists{/gist_id}","starred_url":"https://api.github.com/users/godaddy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/godaddy/subscriptions","organizations_url":"https://api.github.com/users/godaddy/orgs","repos_url":"https://api.github.com/users/godaddy/repos","events_url":"https://api.github.com/users/godaddy/events{/privacy}","received_events_url":"https://api.github.com/users/godaddy/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/godaddy/node-flipr","description":"Feature flipping and configuration using yaml files.","fork":false,"url":"https://api.github.com/repos/godaddy/node-flipr","forks_url":"https://api.github.com/repos/godaddy/node-flipr/forks","keys_url":"https://api.github.com/repos/godaddy/node-flipr/keys{/key_id}","collaborators_url":"https://api.github.com/repos/godaddy/node-flipr/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/godaddy/node-flipr/teams","hooks_url":"https://api.github.com/repos/godaddy/node-flipr/hooks","issue_events_url":"https://api.github.com/repos/godaddy/node-flipr/issues/events{/number}","events_url":"https://api.github.com/repos/godaddy/node-flipr/events","assignees_url":"https://api.github.com/repos/godaddy/node-flipr/assignees{/user}","branches_url":"https://api.github.com/repos/godaddy/node-flipr/branches{/branch}","tags_url":"https://api.github.com/repos/godaddy/node-flipr/tags","blobs_url":"https://api.github.com/repos/godaddy/node-flipr/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/godaddy/node-flipr/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/godaddy/node-flipr/git/refs{/sha}","trees_url":"https://api.github.com/repos/godaddy/node-flipr/git/trees{/sha}","statuses_url":"https://api.github.com/repos/godaddy/node-flipr/statuses/{sha}","languages_url":"https://api.github.com/repos/godaddy/node-flipr/languages","stargazers_url":"https://api.github.com/repos/godaddy/node-flipr/stargazers","contributors_url":"https://api.github.com/repos/godaddy/node-flipr/contributors","subscribers_url":"https://api.github.com/repos/godaddy/node-flipr/subscribers","subscription_url":"https://api.github.com/repos/godaddy/node-flipr/subscription","commits_url":"https://api.github.com/repos/godaddy/node-flipr/commits{/sha}","git_commits_url":"https://api.github.com/repos/godaddy/node-flipr/git/commits{/sha}","comments_url":"https://api.github.com/repos/godaddy/node-flipr/comments{/number}","issue_comment_url":"https://api.github.com/repos/godaddy/node-flipr/issues/comments{/number}","contents_url":"https://api.github.com/repos/godaddy/node-flipr/contents/{+path}","compare_url":"https://api.github.com/repos/godaddy/node-flipr/compare/{base}...{head}","merges_url":"https://api.github.com/repos/godaddy/node-flipr/merges","archive_url":"https://api.github.com/repos/godaddy/node-flipr/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/godaddy/node-flipr/downloads","issues_url":"https://api.github.com/repos/godaddy/node-flipr/issues{/number}","pulls_url":"https://api.github.com/repos/godaddy/node-flipr/pulls{/number}","milestones_url":"https://api.github.com/repos/godaddy/node-flipr/milestones{/number}","notifications_url":"https://api.github.com/repos/godaddy/node-flipr/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/godaddy/node-flipr/labels{/name}","releases_url":"https://api.github.com/repos/godaddy/node-flipr/releases{/id}","deployments_url":"https://api.github.com/repos/godaddy/node-flipr/deployments","created_at":"2014-07-28T23:20:31Z","updated_at":"2019-02-05T18:13:08Z","pushed_at":"2019-02-05T17:28:10Z","git_url":"git://github.com/godaddy/node-flipr.git","ssh_url":"git@github.com:godaddy/node-flipr.git","clone_url":"https://github.com/godaddy/node-flipr.git","svn_url":"https://github.com/godaddy/node-flipr","homepage":null,"size":221,"stargazers_count":9,"watchers_count":9,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"archived":false,"open_issues_count":4,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":4,"open_issues":4,"watchers":9,"default_branch":"master"}},"base":{"label":"godaddy:master","ref":"master","sha":"810126466ceebd47493d57d7109f6fd10a9db61d","user":{"login":"godaddy","id":1406546,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE0MDY1NDY=","avatar_url":"https://avatars3.githubusercontent.com/u/1406546?v=4","gravatar_id":"","url":"https://api.github.com/users/godaddy","html_url":"https://github.com/godaddy","followers_url":"https://api.github.com/users/godaddy/followers","following_url":"https://api.github.com/users/godaddy/following{/other_user}","gists_url":"https://api.github.com/users/godaddy/gists{/gist_id}","starred_url":"https://api.github.com/users/godaddy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/godaddy/subscriptions","organizations_url":"https://api.github.com/users/godaddy/orgs","repos_url":"https://api.github.com/users/godaddy/repos","events_url":"https://api.github.com/users/godaddy/events{/privacy}","received_events_url":"https://api.github.com/users/godaddy/received_events","type":"Organization","site_admin":false},"repo":{"id":22361237,"node_id":"MDEwOlJlcG9zaXRvcnkyMjM2MTIzNw==","name":"node-flipr","full_name":"godaddy/node-flipr","private":false,"owner":{"login":"godaddy","id":1406546,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE0MDY1NDY=","avatar_url":"https://avatars3.githubusercontent.com/u/1406546?v=4","gravatar_id":"","url":"https://api.github.com/users/godaddy","html_url":"https://github.com/godaddy","followers_url":"https://api.github.com/users/godaddy/followers","following_url":"https://api.github.com/users/godaddy/following{/other_user}","gists_url":"https://api.github.com/users/godaddy/gists{/gist_id}","starred_url":"https://api.github.com/users/godaddy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/godaddy/subscriptions","organizations_url":"https://api.github.com/users/godaddy/orgs","repos_url":"https://api.github.com/users/godaddy/repos","events_url":"https://api.github.com/users/godaddy/events{/privacy}","received_events_url":"https://api.github.com/users/godaddy/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/godaddy/node-flipr","description":"Feature flipping and configuration using yaml files.","fork":false,"url":"https://api.github.com/repos/godaddy/node-flipr","forks_url":"https://api.github.com/repos/godaddy/node-flipr/forks","keys_url":"https://api.github.com/repos/godaddy/node-flipr/keys{/key_id}","collaborators_url":"https://api.github.com/repos/godaddy/node-flipr/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/godaddy/node-flipr/teams","hooks_url":"https://api.github.com/repos/godaddy/node-flipr/hooks","issue_events_url":"https://api.github.com/repos/godaddy/node-flipr/issues/events{/number}","events_url":"https://api.github.com/repos/godaddy/node-flipr/events","assignees_url":"https://api.github.com/repos/godaddy/node-flipr/assignees{/user}","branches_url":"https://api.github.com/repos/godaddy/node-flipr/branches{/branch}","tags_url":"https://api.github.com/repos/godaddy/node-flipr/tags","blobs_url":"https://api.github.com/repos/godaddy/node-flipr/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/godaddy/node-flipr/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/godaddy/node-flipr/git/refs{/sha}","trees_url":"https://api.github.com/repos/godaddy/node-flipr/git/trees{/sha}","statuses_url":"https://api.github.com/repos/godaddy/node-flipr/statuses/{sha}","languages_url":"https://api.github.com/repos/godaddy/node-flipr/languages","stargazers_url":"https://api.github.com/repos/godaddy/node-flipr/stargazers","contributors_url":"https://api.github.com/repos/godaddy/node-flipr/contributors","subscribers_url":"https://api.github.com/repos/godaddy/node-flipr/subscribers","subscription_url":"https://api.github.com/repos/godaddy/node-flipr/subscription","commits_url":"https://api.github.com/repos/godaddy/node-flipr/commits{/sha}","git_commits_url":"https://api.github.com/repos/godaddy/node-flipr/git/commits{/sha}","comments_url":"https://api.github.com/repos/godaddy/node-flipr/comments{/number}","issue_comment_url":"https://api.github.com/repos/godaddy/node-flipr/issues/comments{/number}","contents_url":"https://api.github.com/repos/godaddy/node-flipr/contents/{+path}","compare_url":"https://api.github.com/repos/godaddy/node-flipr/compare/{base}...{head}","merges_url":"https://api.github.com/repos/godaddy/node-flipr/merges","archive_url":"https://api.github.com/repos/godaddy/node-flipr/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/godaddy/node-flipr/downloads","issues_url":"https://api.github.com/repos/godaddy/node-flipr/issues{/number}","pulls_url":"https://api.github.com/repos/godaddy/node-flipr/pulls{/number}","milestones_url":"https://api.github.com/repos/godaddy/node-flipr/milestones{/number}","notifications_url":"https://api.github.com/repos/godaddy/node-flipr/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/godaddy/node-flipr/labels{/name}","releases_url":"https://api.github.com/repos/godaddy/node-flipr/releases{/id}","deployments_url":"https://api.github.com/repos/godaddy/node-flipr/deployments","created_at":"2014-07-28T23:20:31Z","updated_at":"2019-02-05T18:13:08Z","pushed_at":"2019-02-05T17:28:10Z","git_url":"git://github.com/godaddy/node-flipr.git","ssh_url":"git@github.com:godaddy/node-flipr.git","clone_url":"https://github.com/godaddy/node-flipr.git","svn_url":"https://github.com/godaddy/node-flipr","homepage":null,"size":221,"stargazers_count":9,"watchers_count":9,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"archived":false,"open_issues_count":4,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":4,"open_issues":4,"watchers":9,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/godaddy/node-flipr/pulls/15"},"html":{"href":"https://github.com/godaddy/node-flipr/pull/15"},"issue":{"href":"https://api.github.com/repos/godaddy/node-flipr/issues/15"},"comments":{"href":"https://api.github.com/repos/godaddy/node-flipr/issues/15/comments"},"review_comments":{"href":"https://api.github.com/repos/godaddy/node-flipr/pulls/15/comments"},"review_comment":{"href":"https://api.github.com/repos/godaddy/node-flipr/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/godaddy/node-flipr/pulls/15/commits"},"statuses":{"href":"https://api.github.com/repos/godaddy/node-flipr/statuses/36afa255256832251040070baaf742818bdafd57"}},"author_association":"MEMBER"}}
other: {"actor":{"display_login":"gshively11"}}