{"action":"created","comment":{"url":"https://api.github.com/repos/apoex/gs1/pulls/comments/223332722","pull_request_review_id":162431093,"id":223332722,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIyMzMzMjcyMg==","diff_hunk":"@@ -0,0 +1,30 @@\n+module GS1\n+  module Extensions\n+    # Extension for a GS1 GTIN. Ensures correct formating and validation.\n+    #\n+    module GTIN\n+      def self.included(base)\n+        base.extend         LengthValidation::ClassMethods\n+        base.send :include, LengthValidation::InstanceMethods\n+        base.send :include, CheckDigitValidation\n+\n+        base.valid_lengths [8, 12, 13, 14].freeze","path":"lib/gs1/extensions/gtin.rb","position":null,"original_position":11,"commit_id":"093088c1a7f79b4d4222269aa0c1b6000e82c323","original_commit_id":"a8f8bd57f3dae52d9f0a554b49c4371afcbcf359","user":{"login":"loveapoex","id":12995869,"node_id":"MDQ6VXNlcjEyOTk1ODY5","avatar_url":"https://avatars0.githubusercontent.com/u/12995869?v=4","gravatar_id":"","url":"https://api.github.com/users/loveapoex","html_url":"https://github.com/loveapoex","followers_url":"https://api.github.com/users/loveapoex/followers","following_url":"https://api.github.com/users/loveapoex/following{/other_user}","gists_url":"https://api.github.com/users/loveapoex/gists{/gist_id}","starred_url":"https://api.github.com/users/loveapoex/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/loveapoex/subscriptions","organizations_url":"https://api.github.com/users/loveapoex/orgs","repos_url":"https://api.github.com/users/loveapoex/repos","events_url":"https://api.github.com/users/loveapoex/events{/privacy}","received_events_url":"https://api.github.com/users/loveapoex/received_events","type":"User","site_admin":false},"body":"These lengths does not match `VALID_LENGTHS`  in `CheckDigitValidation`, is it intended? ","created_at":"2018-10-08T11:38:51Z","updated_at":"2018-10-08T11:38:51Z","html_url":"https://github.com/apoex/gs1/pull/1#discussion_r223332722","pull_request_url":"https://api.github.com/repos/apoex/gs1/pulls/1","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/apoex/gs1/pulls/comments/223332722"},"html":{"href":"https://github.com/apoex/gs1/pull/1#discussion_r223332722"},"pull_request":{"href":"https://api.github.com/repos/apoex/gs1/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/apoex/gs1/pulls/1","id":220174936,"node_id":"MDExOlB1bGxSZXF1ZXN0MjIwMTc0OTM2","html_url":"https://github.com/apoex/gs1/pull/1","diff_url":"https://github.com/apoex/gs1/pull/1.diff","patch_url":"https://github.com/apoex/gs1/pull/1.patch","issue_url":"https://api.github.com/repos/apoex/gs1/issues/1","number":1,"state":"open","locked":false,"title":"[#12782] Add support for healthcare barcodes","user":{"login":"stefanahman","id":1053201,"node_id":"MDQ6VXNlcjEwNTMyMDE=","avatar_url":"https://avatars2.githubusercontent.com/u/1053201?v=4","gravatar_id":"","url":"https://api.github.com/users/stefanahman","html_url":"https://github.com/stefanahman","followers_url":"https://api.github.com/users/stefanahman/followers","following_url":"https://api.github.com/users/stefanahman/following{/other_user}","gists_url":"https://api.github.com/users/stefanahman/gists{/gist_id}","starred_url":"https://api.github.com/users/stefanahman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stefanahman/subscriptions","organizations_url":"https://api.github.com/users/stefanahman/orgs","repos_url":"https://api.github.com/users/stefanahman/repos","events_url":"https://api.github.com/users/stefanahman/events{/privacy}","received_events_url":"https://api.github.com/users/stefanahman/received_events","type":"User","site_admin":false},"body":"- [ ] Improve README.md","created_at":"2018-10-03T20:47:46Z","updated_at":"2018-10-08T11:38:51Z","closed_at":null,"merged_at":null,"merge_commit_sha":"75cc40c7c76e807ad6c24af30823f99dbf60d449","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[{"name":"E-VER","id":2911936,"node_id":"MDQ6VGVhbTI5MTE5MzY=","slug":"e-ver","description":"Team for e-verification implementation","privacy":"closed","url":"https://api.github.com/teams/2911936","members_url":"https://api.github.com/teams/2911936/members{/member}","repositories_url":"https://api.github.com/teams/2911936/repos","permission":"pull"}],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/apoex/gs1/pulls/1/commits","review_comments_url":"https://api.github.com/repos/apoex/gs1/pulls/1/comments","review_comment_url":"https://api.github.com/repos/apoex/gs1/pulls/comments{/number}","comments_url":"https://api.github.com/repos/apoex/gs1/issues/1/comments","statuses_url":"https://api.github.com/repos/apoex/gs1/statuses/093088c1a7f79b4d4222269aa0c1b6000e82c323","head":{"label":"apoex:healthcare-barcode","ref":"healthcare-barcode","sha":"093088c1a7f79b4d4222269aa0c1b6000e82c323","user":{"login":"apoex","id":512797,"node_id":"MDEyOk9yZ2FuaXphdGlvbjUxMjc5Nw==","avatar_url":"https://avatars3.githubusercontent.com/u/512797?v=4","gravatar_id":"","url":"https://api.github.com/users/apoex","html_url":"https://github.com/apoex","followers_url":"https://api.github.com/users/apoex/followers","following_url":"https://api.github.com/users/apoex/following{/other_user}","gists_url":"https://api.github.com/users/apoex/gists{/gist_id}","starred_url":"https://api.github.com/users/apoex/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apoex/subscriptions","organizations_url":"https://api.github.com/users/apoex/orgs","repos_url":"https://api.github.com/users/apoex/repos","events_url":"https://api.github.com/users/apoex/events{/privacy}","received_events_url":"https://api.github.com/users/apoex/received_events","type":"Organization","site_admin":false},"repo":{"id":151455563,"node_id":"MDEwOlJlcG9zaXRvcnkxNTE0NTU1NjM=","name":"gs1","full_name":"apoex/gs1","private":false,"owner":{"login":"apoex","id":512797,"node_id":"MDEyOk9yZ2FuaXphdGlvbjUxMjc5Nw==","avatar_url":"https://avatars3.githubusercontent.com/u/512797?v=4","gravatar_id":"","url":"https://api.github.com/users/apoex","html_url":"https://github.com/apoex","followers_url":"https://api.github.com/users/apoex/followers","following_url":"https://api.github.com/users/apoex/following{/other_user}","gists_url":"https://api.github.com/users/apoex/gists{/gist_id}","starred_url":"https://api.github.com/users/apoex/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apoex/subscriptions","organizations_url":"https://api.github.com/users/apoex/orgs","repos_url":"https://api.github.com/users/apoex/repos","events_url":"https://api.github.com/users/apoex/events{/privacy}","received_events_url":"https://api.github.com/users/apoex/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/apoex/gs1","description":"GS1 gem","fork":false,"url":"https://api.github.com/repos/apoex/gs1","forks_url":"https://api.github.com/repos/apoex/gs1/forks","keys_url":"https://api.github.com/repos/apoex/gs1/keys{/key_id}","collaborators_url":"https://api.github.com/repos/apoex/gs1/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/apoex/gs1/teams","hooks_url":"https://api.github.com/repos/apoex/gs1/hooks","issue_events_url":"https://api.github.com/repos/apoex/gs1/issues/events{/number}","events_url":"https://api.github.com/repos/apoex/gs1/events","assignees_url":"https://api.github.com/repos/apoex/gs1/assignees{/user}","branches_url":"https://api.github.com/repos/apoex/gs1/branches{/branch}","tags_url":"https://api.github.com/repos/apoex/gs1/tags","blobs_url":"https://api.github.com/repos/apoex/gs1/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/apoex/gs1/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/apoex/gs1/git/refs{/sha}","trees_url":"https://api.github.com/repos/apoex/gs1/git/trees{/sha}","statuses_url":"https://api.github.com/repos/apoex/gs1/statuses/{sha}","languages_url":"https://api.github.com/repos/apoex/gs1/languages","stargazers_url":"https://api.github.com/repos/apoex/gs1/stargazers","contributors_url":"https://api.github.com/repos/apoex/gs1/contributors","subscribers_url":"https://api.github.com/repos/apoex/gs1/subscribers","subscription_url":"https://api.github.com/repos/apoex/gs1/subscription","commits_url":"https://api.github.com/repos/apoex/gs1/commits{/sha}","git_commits_url":"https://api.github.com/repos/apoex/gs1/git/commits{/sha}","comments_url":"https://api.github.com/repos/apoex/gs1/comments{/number}","issue_comment_url":"https://api.github.com/repos/apoex/gs1/issues/comments{/number}","contents_url":"https://api.github.com/repos/apoex/gs1/contents/{+path}","compare_url":"https://api.github.com/repos/apoex/gs1/compare/{base}...{head}","merges_url":"https://api.github.com/repos/apoex/gs1/merges","archive_url":"https://api.github.com/repos/apoex/gs1/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/apoex/gs1/downloads","issues_url":"https://api.github.com/repos/apoex/gs1/issues{/number}","pulls_url":"https://api.github.com/repos/apoex/gs1/pulls{/number}","milestones_url":"https://api.github.com/repos/apoex/gs1/milestones{/number}","notifications_url":"https://api.github.com/repos/apoex/gs1/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/apoex/gs1/labels{/name}","releases_url":"https://api.github.com/repos/apoex/gs1/releases{/id}","deployments_url":"https://api.github.com/repos/apoex/gs1/deployments","created_at":"2018-10-03T17:50:43Z","updated_at":"2018-10-03T17:54:53Z","pushed_at":"2018-10-08T07:12:45Z","git_url":"git://github.com/apoex/gs1.git","ssh_url":"git@github.com:apoex/gs1.git","clone_url":"https://github.com/apoex/gs1.git","svn_url":"https://github.com/apoex/gs1","homepage":null,"size":31,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"apoex:master","ref":"master","sha":"dcfa03aa457eb3f91c7e0d70f9f78478a8d9fe3a","user":{"login":"apoex","id":512797,"node_id":"MDEyOk9yZ2FuaXphdGlvbjUxMjc5Nw==","avatar_url":"https://avatars3.githubusercontent.com/u/512797?v=4","gravatar_id":"","url":"https://api.github.com/users/apoex","html_url":"https://github.com/apoex","followers_url":"https://api.github.com/users/apoex/followers","following_url":"https://api.github.com/users/apoex/following{/other_user}","gists_url":"https://api.github.com/users/apoex/gists{/gist_id}","starred_url":"https://api.github.com/users/apoex/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apoex/subscriptions","organizations_url":"https://api.github.com/users/apoex/orgs","repos_url":"https://api.github.com/users/apoex/repos","events_url":"https://api.github.com/users/apoex/events{/privacy}","received_events_url":"https://api.github.com/users/apoex/received_events","type":"Organization","site_admin":false},"repo":{"id":151455563,"node_id":"MDEwOlJlcG9zaXRvcnkxNTE0NTU1NjM=","name":"gs1","full_name":"apoex/gs1","private":false,"owner":{"login":"apoex","id":512797,"node_id":"MDEyOk9yZ2FuaXphdGlvbjUxMjc5Nw==","avatar_url":"https://avatars3.githubusercontent.com/u/512797?v=4","gravatar_id":"","url":"https://api.github.com/users/apoex","html_url":"https://github.com/apoex","followers_url":"https://api.github.com/users/apoex/followers","following_url":"https://api.github.com/users/apoex/following{/other_user}","gists_url":"https://api.github.com/users/apoex/gists{/gist_id}","starred_url":"https://api.github.com/users/apoex/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apoex/subscriptions","organizations_url":"https://api.github.com/users/apoex/orgs","repos_url":"https://api.github.com/users/apoex/repos","events_url":"https://api.github.com/users/apoex/events{/privacy}","received_events_url":"https://api.github.com/users/apoex/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/apoex/gs1","description":"GS1 gem","fork":false,"url":"https://api.github.com/repos/apoex/gs1","forks_url":"https://api.github.com/repos/apoex/gs1/forks","keys_url":"https://api.github.com/repos/apoex/gs1/keys{/key_id}","collaborators_url":"https://api.github.com/repos/apoex/gs1/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/apoex/gs1/teams","hooks_url":"https://api.github.com/repos/apoex/gs1/hooks","issue_events_url":"https://api.github.com/repos/apoex/gs1/issues/events{/number}","events_url":"https://api.github.com/repos/apoex/gs1/events","assignees_url":"https://api.github.com/repos/apoex/gs1/assignees{/user}","branches_url":"https://api.github.com/repos/apoex/gs1/branches{/branch}","tags_url":"https://api.github.com/repos/apoex/gs1/tags","blobs_url":"https://api.github.com/repos/apoex/gs1/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/apoex/gs1/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/apoex/gs1/git/refs{/sha}","trees_url":"https://api.github.com/repos/apoex/gs1/git/trees{/sha}","statuses_url":"https://api.github.com/repos/apoex/gs1/statuses/{sha}","languages_url":"https://api.github.com/repos/apoex/gs1/languages","stargazers_url":"https://api.github.com/repos/apoex/gs1/stargazers","contributors_url":"https://api.github.com/repos/apoex/gs1/contributors","subscribers_url":"https://api.github.com/repos/apoex/gs1/subscribers","subscription_url":"https://api.github.com/repos/apoex/gs1/subscription","commits_url":"https://api.github.com/repos/apoex/gs1/commits{/sha}","git_commits_url":"https://api.github.com/repos/apoex/gs1/git/commits{/sha}","comments_url":"https://api.github.com/repos/apoex/gs1/comments{/number}","issue_comment_url":"https://api.github.com/repos/apoex/gs1/issues/comments{/number}","contents_url":"https://api.github.com/repos/apoex/gs1/contents/{+path}","compare_url":"https://api.github.com/repos/apoex/gs1/compare/{base}...{head}","merges_url":"https://api.github.com/repos/apoex/gs1/merges","archive_url":"https://api.github.com/repos/apoex/gs1/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/apoex/gs1/downloads","issues_url":"https://api.github.com/repos/apoex/gs1/issues{/number}","pulls_url":"https://api.github.com/repos/apoex/gs1/pulls{/number}","milestones_url":"https://api.github.com/repos/apoex/gs1/milestones{/number}","notifications_url":"https://api.github.com/repos/apoex/gs1/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/apoex/gs1/labels{/name}","releases_url":"https://api.github.com/repos/apoex/gs1/releases{/id}","deployments_url":"https://api.github.com/repos/apoex/gs1/deployments","created_at":"2018-10-03T17:50:43Z","updated_at":"2018-10-03T17:54:53Z","pushed_at":"2018-10-08T07:12:45Z","git_url":"git://github.com/apoex/gs1.git","ssh_url":"git@github.com:apoex/gs1.git","clone_url":"https://github.com/apoex/gs1.git","svn_url":"https://github.com/apoex/gs1","homepage":null,"size":31,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/apoex/gs1/pulls/1"},"html":{"href":"https://github.com/apoex/gs1/pull/1"},"issue":{"href":"https://api.github.com/repos/apoex/gs1/issues/1"},"comments":{"href":"https://api.github.com/repos/apoex/gs1/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/apoex/gs1/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/apoex/gs1/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/apoex/gs1/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/apoex/gs1/statuses/093088c1a7f79b4d4222269aa0c1b6000e82c323"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"loveapoex"}}