{"action":"created","comment":{"url":"https://api.github.com/repos/kavaleriy/budget/pulls/comments/174150794","pull_request_review_id":103453519,"id":174150794,"diff_hunk":"@@ -192,15 +196,9 @@ def allow_iframe\n     end\n \n     def sort_e_data\n-      # TODO: When first request to api cache with error:\n-      # SocketError (getaddrinfo: Name or service not known)\n-      # payments_data = Rails.cache.fetch(\"/edata/#{params[:payers_edrpous]}/#{params[:recipt_edrpous]}/#{params[:period]}\",expiries_in: 1.day) do\n-      #   # Data\n-      #   ExternalApi::e_data_payments(params[:payers_edrpous], params[:recipt_edrpous], (start_date(params[:period]) unless params[:period].blank?), (end_date(params[:period]) unless params[:period].blank?))\n-      #   # Sort data\n-      # end\n-      payments_data = ExternalApi::e_data_payments(params[:payers_edrpous], params[:recipt_edrpous], (start_date(params[:period]) unless params[:period].blank?), (end_date(params[:period]) unless params[:period].blank?))\n-\n+      payments_data = Rails.cache.fetch(\"/edata/#{params[:payers_edrpous]}/#{params[:recipt_edrpous]}/#{params[:period]}\", expiries_in: 1.hours) do\n+        ExternalApi::e_data_payments(params[:payers_edrpous], params[:recipt_edrpous], (start_date(params[:period]) unless params[:period].blank?), (end_date(params[:period]) unless params[:period].blank?))","path":"app/controllers/modules/classifier_controller.rb","position":36,"original_position":36,"commit_id":"f27d31a1355b1f56ed503c605ce1a9d9c257c70a","original_commit_id":"f27d31a1355b1f56ed503c605ce1a9d9c257c70a","user":{"login":"houndci-bot","id":6697940,"avatar_url":"https://avatars0.githubusercontent.com/u/6697940?v=4","gravatar_id":"","url":"https://api.github.com/users/houndci-bot","html_url":"https://github.com/houndci-bot","followers_url":"https://api.github.com/users/houndci-bot/followers","following_url":"https://api.github.com/users/houndci-bot/following{/other_user}","gists_url":"https://api.github.com/users/houndci-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci-bot/subscriptions","organizations_url":"https://api.github.com/users/houndci-bot/orgs","repos_url":"https://api.github.com/users/houndci-bot/repos","events_url":"https://api.github.com/users/houndci-bot/events{/privacy}","received_events_url":"https://api.github.com/users/houndci-bot/received_events","type":"User","site_admin":false},"body":"Do not use :: for method calls.<br>Line is too long. [206/80]","created_at":"2018-03-13T14:28:35Z","updated_at":"2018-03-13T14:28:36Z","html_url":"https://github.com/kavaleriy/budget/pull/753#discussion_r174150794","pull_request_url":"https://api.github.com/repos/kavaleriy/budget/pulls/753","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/kavaleriy/budget/pulls/comments/174150794"},"html":{"href":"https://github.com/kavaleriy/budget/pull/753#discussion_r174150794"},"pull_request":{"href":"https://api.github.com/repos/kavaleriy/budget/pulls/753"}}},"pull_request":{"url":"https://api.github.com/repos/kavaleriy/budget/pulls/753","id":174677231,"html_url":"https://github.com/kavaleriy/budget/pull/753","diff_url":"https://github.com/kavaleriy/budget/pull/753.diff","patch_url":"https://github.com/kavaleriy/budget/pull/753.patch","issue_url":"https://api.github.com/repos/kavaleriy/budget/issues/753","number":753,"state":"open","locked":false,"title":"Card#249 fix lack edrpou in db","user":{"login":"Sorey","id":11901700,"avatar_url":"https://avatars1.githubusercontent.com/u/11901700?v=4","gravatar_id":"","url":"https://api.github.com/users/Sorey","html_url":"https://github.com/Sorey","followers_url":"https://api.github.com/users/Sorey/followers","following_url":"https://api.github.com/users/Sorey/following{/other_user}","gists_url":"https://api.github.com/users/Sorey/gists{/gist_id}","starred_url":"https://api.github.com/users/Sorey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Sorey/subscriptions","organizations_url":"https://api.github.com/users/Sorey/orgs","repos_url":"https://api.github.com/users/Sorey/repos","events_url":"https://api.github.com/users/Sorey/events{/privacy}","received_events_url":"https://api.github.com/users/Sorey/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-03-13T14:28:25Z","updated_at":"2018-03-13T14:28:36Z","closed_at":null,"merged_at":null,"merge_commit_sha":"11c380fcc7dfb61f0765a6e54cf19982434b8c09","assignee":{"login":"Quicks","id":10288310,"avatar_url":"https://avatars3.githubusercontent.com/u/10288310?v=4","gravatar_id":"","url":"https://api.github.com/users/Quicks","html_url":"https://github.com/Quicks","followers_url":"https://api.github.com/users/Quicks/followers","following_url":"https://api.github.com/users/Quicks/following{/other_user}","gists_url":"https://api.github.com/users/Quicks/gists{/gist_id}","starred_url":"https://api.github.com/users/Quicks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Quicks/subscriptions","organizations_url":"https://api.github.com/users/Quicks/orgs","repos_url":"https://api.github.com/users/Quicks/repos","events_url":"https://api.github.com/users/Quicks/events{/privacy}","received_events_url":"https://api.github.com/users/Quicks/received_events","type":"User","site_admin":false},"assignees":[{"login":"Quicks","id":10288310,"avatar_url":"https://avatars3.githubusercontent.com/u/10288310?v=4","gravatar_id":"","url":"https://api.github.com/users/Quicks","html_url":"https://github.com/Quicks","followers_url":"https://api.github.com/users/Quicks/followers","following_url":"https://api.github.com/users/Quicks/following{/other_user}","gists_url":"https://api.github.com/users/Quicks/gists{/gist_id}","starred_url":"https://api.github.com/users/Quicks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Quicks/subscriptions","organizations_url":"https://api.github.com/users/Quicks/orgs","repos_url":"https://api.github.com/users/Quicks/repos","events_url":"https://api.github.com/users/Quicks/events{/privacy}","received_events_url":"https://api.github.com/users/Quicks/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/kavaleriy/budget/pulls/753/commits","review_comments_url":"https://api.github.com/repos/kavaleriy/budget/pulls/753/comments","review_comment_url":"https://api.github.com/repos/kavaleriy/budget/pulls/comments{/number}","comments_url":"https://api.github.com/repos/kavaleriy/budget/issues/753/comments","statuses_url":"https://api.github.com/repos/kavaleriy/budget/statuses/f27d31a1355b1f56ed503c605ce1a9d9c257c70a","head":{"label":"kavaleriy:card#249-fix_lack_edrpou_in_db","ref":"card#249-fix_lack_edrpou_in_db","sha":"f27d31a1355b1f56ed503c605ce1a9d9c257c70a","user":{"login":"kavaleriy","id":7941559,"avatar_url":"https://avatars1.githubusercontent.com/u/7941559?v=4","gravatar_id":"","url":"https://api.github.com/users/kavaleriy","html_url":"https://github.com/kavaleriy","followers_url":"https://api.github.com/users/kavaleriy/followers","following_url":"https://api.github.com/users/kavaleriy/following{/other_user}","gists_url":"https://api.github.com/users/kavaleriy/gists{/gist_id}","starred_url":"https://api.github.com/users/kavaleriy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kavaleriy/subscriptions","organizations_url":"https://api.github.com/users/kavaleriy/orgs","repos_url":"https://api.github.com/users/kavaleriy/repos","events_url":"https://api.github.com/users/kavaleriy/events{/privacy}","received_events_url":"https://api.github.com/users/kavaleriy/received_events","type":"User","site_admin":false},"repo":{"id":21795083,"name":"budget","full_name":"kavaleriy/budget","owner":{"login":"kavaleriy","id":7941559,"avatar_url":"https://avatars1.githubusercontent.com/u/7941559?v=4","gravatar_id":"","url":"https://api.github.com/users/kavaleriy","html_url":"https://github.com/kavaleriy","followers_url":"https://api.github.com/users/kavaleriy/followers","following_url":"https://api.github.com/users/kavaleriy/following{/other_user}","gists_url":"https://api.github.com/users/kavaleriy/gists{/gist_id}","starred_url":"https://api.github.com/users/kavaleriy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kavaleriy/subscriptions","organizations_url":"https://api.github.com/users/kavaleriy/orgs","repos_url":"https://api.github.com/users/kavaleriy/repos","events_url":"https://api.github.com/users/kavaleriy/events{/privacy}","received_events_url":"https://api.github.com/users/kavaleriy/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/kavaleriy/budget","description":null,"fork":false,"url":"https://api.github.com/repos/kavaleriy/budget","forks_url":"https://api.github.com/repos/kavaleriy/budget/forks","keys_url":"https://api.github.com/repos/kavaleriy/budget/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kavaleriy/budget/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kavaleriy/budget/teams","hooks_url":"https://api.github.com/repos/kavaleriy/budget/hooks","issue_events_url":"https://api.github.com/repos/kavaleriy/budget/issues/events{/number}","events_url":"https://api.github.com/repos/kavaleriy/budget/events","assignees_url":"https://api.github.com/repos/kavaleriy/budget/assignees{/user}","branches_url":"https://api.github.com/repos/kavaleriy/budget/branches{/branch}","tags_url":"https://api.github.com/repos/kavaleriy/budget/tags","blobs_url":"https://api.github.com/repos/kavaleriy/budget/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kavaleriy/budget/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kavaleriy/budget/git/refs{/sha}","trees_url":"https://api.github.com/repos/kavaleriy/budget/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kavaleriy/budget/statuses/{sha}","languages_url":"https://api.github.com/repos/kavaleriy/budget/languages","stargazers_url":"https://api.github.com/repos/kavaleriy/budget/stargazers","contributors_url":"https://api.github.com/repos/kavaleriy/budget/contributors","subscribers_url":"https://api.github.com/repos/kavaleriy/budget/subscribers","subscription_url":"https://api.github.com/repos/kavaleriy/budget/subscription","commits_url":"https://api.github.com/repos/kavaleriy/budget/commits{/sha}","git_commits_url":"https://api.github.com/repos/kavaleriy/budget/git/commits{/sha}","comments_url":"https://api.github.com/repos/kavaleriy/budget/comments{/number}","issue_comment_url":"https://api.github.com/repos/kavaleriy/budget/issues/comments{/number}","contents_url":"https://api.github.com/repos/kavaleriy/budget/contents/{+path}","compare_url":"https://api.github.com/repos/kavaleriy/budget/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kavaleriy/budget/merges","archive_url":"https://api.github.com/repos/kavaleriy/budget/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kavaleriy/budget/downloads","issues_url":"https://api.github.com/repos/kavaleriy/budget/issues{/number}","pulls_url":"https://api.github.com/repos/kavaleriy/budget/pulls{/number}","milestones_url":"https://api.github.com/repos/kavaleriy/budget/milestones{/number}","notifications_url":"https://api.github.com/repos/kavaleriy/budget/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kavaleriy/budget/labels{/name}","releases_url":"https://api.github.com/repos/kavaleriy/budget/releases{/id}","deployments_url":"https://api.github.com/repos/kavaleriy/budget/deployments","created_at":"2014-07-13T16:42:50Z","updated_at":"2018-02-09T06:20:52Z","pushed_at":"2018-03-13T14:28:26Z","git_url":"git://github.com/kavaleriy/budget.git","ssh_url":"git@github.com:kavaleriy/budget.git","clone_url":"https://github.com/kavaleriy/budget.git","svn_url":"https://github.com/kavaleriy/budget","homepage":null,"size":170010,"stargazers_count":15,"watchers_count":15,"language":"HTML","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":43,"license":{"key":"other","name":"Other","spdx_id":null,"url":null},"forks":4,"open_issues":43,"watchers":15,"default_branch":"master"}},"base":{"label":"kavaleriy:master","ref":"master","sha":"f5f420ec8672578055a053704efd40d8419c3609","user":{"login":"kavaleriy","id":7941559,"avatar_url":"https://avatars1.githubusercontent.com/u/7941559?v=4","gravatar_id":"","url":"https://api.github.com/users/kavaleriy","html_url":"https://github.com/kavaleriy","followers_url":"https://api.github.com/users/kavaleriy/followers","following_url":"https://api.github.com/users/kavaleriy/following{/other_user}","gists_url":"https://api.github.com/users/kavaleriy/gists{/gist_id}","starred_url":"https://api.github.com/users/kavaleriy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kavaleriy/subscriptions","organizations_url":"https://api.github.com/users/kavaleriy/orgs","repos_url":"https://api.github.com/users/kavaleriy/repos","events_url":"https://api.github.com/users/kavaleriy/events{/privacy}","received_events_url":"https://api.github.com/users/kavaleriy/received_events","type":"User","site_admin":false},"repo":{"id":21795083,"name":"budget","full_name":"kavaleriy/budget","owner":{"login":"kavaleriy","id":7941559,"avatar_url":"https://avatars1.githubusercontent.com/u/7941559?v=4","gravatar_id":"","url":"https://api.github.com/users/kavaleriy","html_url":"https://github.com/kavaleriy","followers_url":"https://api.github.com/users/kavaleriy/followers","following_url":"https://api.github.com/users/kavaleriy/following{/other_user}","gists_url":"https://api.github.com/users/kavaleriy/gists{/gist_id}","starred_url":"https://api.github.com/users/kavaleriy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kavaleriy/subscriptions","organizations_url":"https://api.github.com/users/kavaleriy/orgs","repos_url":"https://api.github.com/users/kavaleriy/repos","events_url":"https://api.github.com/users/kavaleriy/events{/privacy}","received_events_url":"https://api.github.com/users/kavaleriy/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/kavaleriy/budget","description":null,"fork":false,"url":"https://api.github.com/repos/kavaleriy/budget","forks_url":"https://api.github.com/repos/kavaleriy/budget/forks","keys_url":"https://api.github.com/repos/kavaleriy/budget/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kavaleriy/budget/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kavaleriy/budget/teams","hooks_url":"https://api.github.com/repos/kavaleriy/budget/hooks","issue_events_url":"https://api.github.com/repos/kavaleriy/budget/issues/events{/number}","events_url":"https://api.github.com/repos/kavaleriy/budget/events","assignees_url":"https://api.github.com/repos/kavaleriy/budget/assignees{/user}","branches_url":"https://api.github.com/repos/kavaleriy/budget/branches{/branch}","tags_url":"https://api.github.com/repos/kavaleriy/budget/tags","blobs_url":"https://api.github.com/repos/kavaleriy/budget/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kavaleriy/budget/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kavaleriy/budget/git/refs{/sha}","trees_url":"https://api.github.com/repos/kavaleriy/budget/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kavaleriy/budget/statuses/{sha}","languages_url":"https://api.github.com/repos/kavaleriy/budget/languages","stargazers_url":"https://api.github.com/repos/kavaleriy/budget/stargazers","contributors_url":"https://api.github.com/repos/kavaleriy/budget/contributors","subscribers_url":"https://api.github.com/repos/kavaleriy/budget/subscribers","subscription_url":"https://api.github.com/repos/kavaleriy/budget/subscription","commits_url":"https://api.github.com/repos/kavaleriy/budget/commits{/sha}","git_commits_url":"https://api.github.com/repos/kavaleriy/budget/git/commits{/sha}","comments_url":"https://api.github.com/repos/kavaleriy/budget/comments{/number}","issue_comment_url":"https://api.github.com/repos/kavaleriy/budget/issues/comments{/number}","contents_url":"https://api.github.com/repos/kavaleriy/budget/contents/{+path}","compare_url":"https://api.github.com/repos/kavaleriy/budget/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kavaleriy/budget/merges","archive_url":"https://api.github.com/repos/kavaleriy/budget/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kavaleriy/budget/downloads","issues_url":"https://api.github.com/repos/kavaleriy/budget/issues{/number}","pulls_url":"https://api.github.com/repos/kavaleriy/budget/pulls{/number}","milestones_url":"https://api.github.com/repos/kavaleriy/budget/milestones{/number}","notifications_url":"https://api.github.com/repos/kavaleriy/budget/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kavaleriy/budget/labels{/name}","releases_url":"https://api.github.com/repos/kavaleriy/budget/releases{/id}","deployments_url":"https://api.github.com/repos/kavaleriy/budget/deployments","created_at":"2014-07-13T16:42:50Z","updated_at":"2018-02-09T06:20:52Z","pushed_at":"2018-03-13T14:28:26Z","git_url":"git://github.com/kavaleriy/budget.git","ssh_url":"git@github.com:kavaleriy/budget.git","clone_url":"https://github.com/kavaleriy/budget.git","svn_url":"https://github.com/kavaleriy/budget","homepage":null,"size":170010,"stargazers_count":15,"watchers_count":15,"language":"HTML","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":43,"license":{"key":"other","name":"Other","spdx_id":null,"url":null},"forks":4,"open_issues":43,"watchers":15,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/kavaleriy/budget/pulls/753"},"html":{"href":"https://github.com/kavaleriy/budget/pull/753"},"issue":{"href":"https://api.github.com/repos/kavaleriy/budget/issues/753"},"comments":{"href":"https://api.github.com/repos/kavaleriy/budget/issues/753/comments"},"review_comments":{"href":"https://api.github.com/repos/kavaleriy/budget/pulls/753/comments"},"review_comment":{"href":"https://api.github.com/repos/kavaleriy/budget/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/kavaleriy/budget/pulls/753/commits"},"statuses":{"href":"https://api.github.com/repos/kavaleriy/budget/statuses/f27d31a1355b1f56ed503c605ce1a9d9c257c70a"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"houndci-bot"}}