{"action":"created","comment":{"url":"https://api.github.com/repos/Fivell/credit_card_validations/pulls/comments/34707034","id":34707034,"diff_hunk":"@@ -1,18 +1,18 @@\n class CreditCard\n   attr_accessor :number, :number2, :number3, :number4, :number5, :number6, :number7, :card_type\n   include ActiveModel::Validations\n-  validates :number, credit_card_number: {brands: [:amex, :maestro]} , allow_blank: true\n-  validates :number2, credit_card_number: {only: [:amex, :maestro]},  allow_blank: true\n-  validates :number3, credit_card_number: {except: [:amex, :maestro]} , allow_blank: true\n-  validates :number4, credit_card_number: {brands: :any}  , allow_blank: true\n-  validates :number5, credit_card_number: true , allow_blank: true\n-  validates :number6, credit_card_number: { brands: ->(record){ record.supported_brand } } , allow_blank: true\n-  validates :number7, credit_card_number: { message: \"Custom message\" } , allow_blank: true\n+  validates :number, credit_card_number: { brands: [:amex, :maestro] }, allow_blank: true","path":"spec/models/credit_card.rb","position":11,"original_position":11,"commit_id":"62dc22fbd0860ab4a9acb8e4b49259af394feb4f","original_commit_id":"62dc22fbd0860ab4a9acb8e4b49259af394feb4f","user":{"login":"houndci","id":6697940,"avatar_url":"https://avatars.githubusercontent.com/u/6697940?v=3","gravatar_id":"","url":"https://api.github.com/users/houndci","html_url":"https://github.com/houndci","followers_url":"https://api.github.com/users/houndci/followers","following_url":"https://api.github.com/users/houndci/following{/other_user}","gists_url":"https://api.github.com/users/houndci/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci/subscriptions","organizations_url":"https://api.github.com/users/houndci/orgs","repos_url":"https://api.github.com/users/houndci/repos","events_url":"https://api.github.com/users/houndci/events{/privacy}","received_events_url":"https://api.github.com/users/houndci/received_events","type":"User","site_admin":false},"body":"Line is too long. [89/80]","created_at":"2015-07-15T17:46:46Z","updated_at":"2015-07-15T17:46:46Z","html_url":"https://github.com/Fivell/credit_card_validations/pull/56#discussion_r34707034","pull_request_url":"https://api.github.com/repos/Fivell/credit_card_validations/pulls/56","_links":{"self":{"href":"https://api.github.com/repos/Fivell/credit_card_validations/pulls/comments/34707034"},"html":{"href":"https://github.com/Fivell/credit_card_validations/pull/56#discussion_r34707034"},"pull_request":{"href":"https://api.github.com/repos/Fivell/credit_card_validations/pulls/56"}}},"pull_request":{"url":"https://api.github.com/repos/Fivell/credit_card_validations/pulls/56","id":40039831,"html_url":"https://github.com/Fivell/credit_card_validations/pull/56","diff_url":"https://github.com/Fivell/credit_card_validations/pull/56.diff","patch_url":"https://github.com/Fivell/credit_card_validations/pull/56.patch","issue_url":"https://api.github.com/repos/Fivell/credit_card_validations/issues/56","number":56,"state":"open","locked":false,"title":"Plugable brands [WIP]","user":{"login":"Fivell","id":120269,"avatar_url":"https://avatars.githubusercontent.com/u/120269?v=3","gravatar_id":"","url":"https://api.github.com/users/Fivell","html_url":"https://github.com/Fivell","followers_url":"https://api.github.com/users/Fivell/followers","following_url":"https://api.github.com/users/Fivell/following{/other_user}","gists_url":"https://api.github.com/users/Fivell/gists{/gist_id}","starred_url":"https://api.github.com/users/Fivell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Fivell/subscriptions","organizations_url":"https://api.github.com/users/Fivell/orgs","repos_url":"https://api.github.com/users/Fivell/repos","events_url":"https://api.github.com/users/Fivell/events{/privacy}","received_events_url":"https://api.github.com/users/Fivell/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-07-15T16:07:11Z","updated_at":"2015-07-15T17:46:46Z","closed_at":null,"merged_at":null,"merge_commit_sha":"291db0efa3dcc525708c6b98116e65a64340660b","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Fivell/credit_card_validations/pulls/56/commits","review_comments_url":"https://api.github.com/repos/Fivell/credit_card_validations/pulls/56/comments","review_comment_url":"https://api.github.com/repos/Fivell/credit_card_validations/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Fivell/credit_card_validations/issues/56/comments","statuses_url":"https://api.github.com/repos/Fivell/credit_card_validations/statuses/62dc22fbd0860ab4a9acb8e4b49259af394feb4f","head":{"label":"Fivell:plugable_brands","ref":"plugable_brands","sha":"62dc22fbd0860ab4a9acb8e4b49259af394feb4f","user":{"login":"Fivell","id":120269,"avatar_url":"https://avatars.githubusercontent.com/u/120269?v=3","gravatar_id":"","url":"https://api.github.com/users/Fivell","html_url":"https://github.com/Fivell","followers_url":"https://api.github.com/users/Fivell/followers","following_url":"https://api.github.com/users/Fivell/following{/other_user}","gists_url":"https://api.github.com/users/Fivell/gists{/gist_id}","starred_url":"https://api.github.com/users/Fivell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Fivell/subscriptions","organizations_url":"https://api.github.com/users/Fivell/orgs","repos_url":"https://api.github.com/users/Fivell/repos","events_url":"https://api.github.com/users/Fivell/events{/privacy}","received_events_url":"https://api.github.com/users/Fivell/received_events","type":"User","site_admin":false},"repo":{"id":8874335,"name":"credit_card_validations","full_name":"Fivell/credit_card_validations","owner":{"login":"Fivell","id":120269,"avatar_url":"https://avatars.githubusercontent.com/u/120269?v=3","gravatar_id":"","url":"https://api.github.com/users/Fivell","html_url":"https://github.com/Fivell","followers_url":"https://api.github.com/users/Fivell/followers","following_url":"https://api.github.com/users/Fivell/following{/other_user}","gists_url":"https://api.github.com/users/Fivell/gists{/gist_id}","starred_url":"https://api.github.com/users/Fivell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Fivell/subscriptions","organizations_url":"https://api.github.com/users/Fivell/orgs","repos_url":"https://api.github.com/users/Fivell/repos","events_url":"https://api.github.com/users/Fivell/events{/privacy}","received_events_url":"https://api.github.com/users/Fivell/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Fivell/credit_card_validations","description":"A ruby gem for validating credit card numbers, generating ones, luhn checks","fork":false,"url":"https://api.github.com/repos/Fivell/credit_card_validations","forks_url":"https://api.github.com/repos/Fivell/credit_card_validations/forks","keys_url":"https://api.github.com/repos/Fivell/credit_card_validations/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Fivell/credit_card_validations/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Fivell/credit_card_validations/teams","hooks_url":"https://api.github.com/repos/Fivell/credit_card_validations/hooks","issue_events_url":"https://api.github.com/repos/Fivell/credit_card_validations/issues/events{/number}","events_url":"https://api.github.com/repos/Fivell/credit_card_validations/events","assignees_url":"https://api.github.com/repos/Fivell/credit_card_validations/assignees{/user}","branches_url":"https://api.github.com/repos/Fivell/credit_card_validations/branches{/branch}","tags_url":"https://api.github.com/repos/Fivell/credit_card_validations/tags","blobs_url":"https://api.github.com/repos/Fivell/credit_card_validations/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Fivell/credit_card_validations/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Fivell/credit_card_validations/git/refs{/sha}","trees_url":"https://api.github.com/repos/Fivell/credit_card_validations/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Fivell/credit_card_validations/statuses/{sha}","languages_url":"https://api.github.com/repos/Fivell/credit_card_validations/languages","stargazers_url":"https://api.github.com/repos/Fivell/credit_card_validations/stargazers","contributors_url":"https://api.github.com/repos/Fivell/credit_card_validations/contributors","subscribers_url":"https://api.github.com/repos/Fivell/credit_card_validations/subscribers","subscription_url":"https://api.github.com/repos/Fivell/credit_card_validations/subscription","commits_url":"https://api.github.com/repos/Fivell/credit_card_validations/commits{/sha}","git_commits_url":"https://api.github.com/repos/Fivell/credit_card_validations/git/commits{/sha}","comments_url":"https://api.github.com/repos/Fivell/credit_card_validations/comments{/number}","issue_comment_url":"https://api.github.com/repos/Fivell/credit_card_validations/issues/comments{/number}","contents_url":"https://api.github.com/repos/Fivell/credit_card_validations/contents/{+path}","compare_url":"https://api.github.com/repos/Fivell/credit_card_validations/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Fivell/credit_card_validations/merges","archive_url":"https://api.github.com/repos/Fivell/credit_card_validations/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Fivell/credit_card_validations/downloads","issues_url":"https://api.github.com/repos/Fivell/credit_card_validations/issues{/number}","pulls_url":"https://api.github.com/repos/Fivell/credit_card_validations/pulls{/number}","milestones_url":"https://api.github.com/repos/Fivell/credit_card_validations/milestones{/number}","notifications_url":"https://api.github.com/repos/Fivell/credit_card_validations/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Fivell/credit_card_validations/labels{/name}","releases_url":"https://api.github.com/repos/Fivell/credit_card_validations/releases{/id}","created_at":"2013-03-19T08:54:17Z","updated_at":"2015-07-09T02:53:26Z","pushed_at":"2015-07-15T17:46:39Z","git_url":"git://github.com/Fivell/credit_card_validations.git","ssh_url":"git@github.com:Fivell/credit_card_validations.git","clone_url":"https://github.com/Fivell/credit_card_validations.git","svn_url":"https://github.com/Fivell/credit_card_validations","homepage":" https://rubygems.org/gems/credit_card_validations","size":996,"stargazers_count":29,"watchers_count":29,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":14,"mirror_url":null,"open_issues_count":3,"forks":14,"open_issues":3,"watchers":29,"default_branch":"master"}},"base":{"label":"Fivell:master","ref":"master","sha":"8c914db8a67ccf0a357ed8d1223ad46f8d35ccc7","user":{"login":"Fivell","id":120269,"avatar_url":"https://avatars.githubusercontent.com/u/120269?v=3","gravatar_id":"","url":"https://api.github.com/users/Fivell","html_url":"https://github.com/Fivell","followers_url":"https://api.github.com/users/Fivell/followers","following_url":"https://api.github.com/users/Fivell/following{/other_user}","gists_url":"https://api.github.com/users/Fivell/gists{/gist_id}","starred_url":"https://api.github.com/users/Fivell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Fivell/subscriptions","organizations_url":"https://api.github.com/users/Fivell/orgs","repos_url":"https://api.github.com/users/Fivell/repos","events_url":"https://api.github.com/users/Fivell/events{/privacy}","received_events_url":"https://api.github.com/users/Fivell/received_events","type":"User","site_admin":false},"repo":{"id":8874335,"name":"credit_card_validations","full_name":"Fivell/credit_card_validations","owner":{"login":"Fivell","id":120269,"avatar_url":"https://avatars.githubusercontent.com/u/120269?v=3","gravatar_id":"","url":"https://api.github.com/users/Fivell","html_url":"https://github.com/Fivell","followers_url":"https://api.github.com/users/Fivell/followers","following_url":"https://api.github.com/users/Fivell/following{/other_user}","gists_url":"https://api.github.com/users/Fivell/gists{/gist_id}","starred_url":"https://api.github.com/users/Fivell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Fivell/subscriptions","organizations_url":"https://api.github.com/users/Fivell/orgs","repos_url":"https://api.github.com/users/Fivell/repos","events_url":"https://api.github.com/users/Fivell/events{/privacy}","received_events_url":"https://api.github.com/users/Fivell/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Fivell/credit_card_validations","description":"A ruby gem for validating credit card numbers, generating ones, luhn checks","fork":false,"url":"https://api.github.com/repos/Fivell/credit_card_validations","forks_url":"https://api.github.com/repos/Fivell/credit_card_validations/forks","keys_url":"https://api.github.com/repos/Fivell/credit_card_validations/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Fivell/credit_card_validations/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Fivell/credit_card_validations/teams","hooks_url":"https://api.github.com/repos/Fivell/credit_card_validations/hooks","issue_events_url":"https://api.github.com/repos/Fivell/credit_card_validations/issues/events{/number}","events_url":"https://api.github.com/repos/Fivell/credit_card_validations/events","assignees_url":"https://api.github.com/repos/Fivell/credit_card_validations/assignees{/user}","branches_url":"https://api.github.com/repos/Fivell/credit_card_validations/branches{/branch}","tags_url":"https://api.github.com/repos/Fivell/credit_card_validations/tags","blobs_url":"https://api.github.com/repos/Fivell/credit_card_validations/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Fivell/credit_card_validations/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Fivell/credit_card_validations/git/refs{/sha}","trees_url":"https://api.github.com/repos/Fivell/credit_card_validations/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Fivell/credit_card_validations/statuses/{sha}","languages_url":"https://api.github.com/repos/Fivell/credit_card_validations/languages","stargazers_url":"https://api.github.com/repos/Fivell/credit_card_validations/stargazers","contributors_url":"https://api.github.com/repos/Fivell/credit_card_validations/contributors","subscribers_url":"https://api.github.com/repos/Fivell/credit_card_validations/subscribers","subscription_url":"https://api.github.com/repos/Fivell/credit_card_validations/subscription","commits_url":"https://api.github.com/repos/Fivell/credit_card_validations/commits{/sha}","git_commits_url":"https://api.github.com/repos/Fivell/credit_card_validations/git/commits{/sha}","comments_url":"https://api.github.com/repos/Fivell/credit_card_validations/comments{/number}","issue_comment_url":"https://api.github.com/repos/Fivell/credit_card_validations/issues/comments{/number}","contents_url":"https://api.github.com/repos/Fivell/credit_card_validations/contents/{+path}","compare_url":"https://api.github.com/repos/Fivell/credit_card_validations/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Fivell/credit_card_validations/merges","archive_url":"https://api.github.com/repos/Fivell/credit_card_validations/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Fivell/credit_card_validations/downloads","issues_url":"https://api.github.com/repos/Fivell/credit_card_validations/issues{/number}","pulls_url":"https://api.github.com/repos/Fivell/credit_card_validations/pulls{/number}","milestones_url":"https://api.github.com/repos/Fivell/credit_card_validations/milestones{/number}","notifications_url":"https://api.github.com/repos/Fivell/credit_card_validations/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Fivell/credit_card_validations/labels{/name}","releases_url":"https://api.github.com/repos/Fivell/credit_card_validations/releases{/id}","created_at":"2013-03-19T08:54:17Z","updated_at":"2015-07-09T02:53:26Z","pushed_at":"2015-07-15T17:46:39Z","git_url":"git://github.com/Fivell/credit_card_validations.git","ssh_url":"git@github.com:Fivell/credit_card_validations.git","clone_url":"https://github.com/Fivell/credit_card_validations.git","svn_url":"https://github.com/Fivell/credit_card_validations","homepage":" https://rubygems.org/gems/credit_card_validations","size":996,"stargazers_count":29,"watchers_count":29,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":14,"mirror_url":null,"open_issues_count":3,"forks":14,"open_issues":3,"watchers":29,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Fivell/credit_card_validations/pulls/56"},"html":{"href":"https://github.com/Fivell/credit_card_validations/pull/56"},"issue":{"href":"https://api.github.com/repos/Fivell/credit_card_validations/issues/56"},"comments":{"href":"https://api.github.com/repos/Fivell/credit_card_validations/issues/56/comments"},"review_comments":{"href":"https://api.github.com/repos/Fivell/credit_card_validations/pulls/56/comments"},"review_comment":{"href":"https://api.github.com/repos/Fivell/credit_card_validations/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Fivell/credit_card_validations/pulls/56/commits"},"statuses":{"href":"https://api.github.com/repos/Fivell/credit_card_validations/statuses/62dc22fbd0860ab4a9acb8e4b49259af394feb4f"}}}}