{"action":"created","comment":{"url":"https://api.github.com/repos/Scalarm/scalarm_data_explorer/pulls/comments/43372390","id":43372390,"diff_hunk":"@@ -0,0 +1,35 @@\n+module Utils","path":"app/models/utils.rb","position":1,"original_position":1,"commit_id":"7ec32a4a8193c4c3d0e003ce0e3daffbcf505886","original_commit_id":"7ec32a4a8193c4c3d0e003ce0e3daffbcf505886","user":{"login":"kliput","id":1345438,"avatar_url":"https://avatars.githubusercontent.com/u/1345438?v=3","gravatar_id":"","url":"https://api.github.com/users/kliput","html_url":"https://github.com/kliput","followers_url":"https://api.github.com/users/kliput/followers","following_url":"https://api.github.com/users/kliput/following{/other_user}","gists_url":"https://api.github.com/users/kliput/gists{/gist_id}","starred_url":"https://api.github.com/users/kliput/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kliput/subscriptions","organizations_url":"https://api.github.com/users/kliput/orgs","repos_url":"https://api.github.com/users/kliput/repos","events_url":"https://api.github.com/users/kliput/events{/privacy}","received_events_url":"https://api.github.com/users/kliput/received_events","type":"User","site_admin":false},"body":"Jak już tworzymy Utils dla tej usługi, to dodaj proszę ten kawałek kodu:\r\n```\r\n  # extend this Utils with Scalarm::ServiceCore::Utils module methods\r\n  class << self\r\n    Scalarm::ServiceCore::Utils.singleton_methods.each do |m|\r\n      define_method m, Scalarm::ServiceCore::Utils.method(m).to_proc\r\n    end\r\n  end\r\n```\r\nDzięki temu to będzie rozszerzenie Utilsów z ServiceCore","created_at":"2015-10-29T11:07:59Z","updated_at":"2015-10-29T11:07:59Z","html_url":"https://github.com/Scalarm/scalarm_data_explorer/pull/36#discussion_r43372390","pull_request_url":"https://api.github.com/repos/Scalarm/scalarm_data_explorer/pulls/36","_links":{"self":{"href":"https://api.github.com/repos/Scalarm/scalarm_data_explorer/pulls/comments/43372390"},"html":{"href":"https://github.com/Scalarm/scalarm_data_explorer/pull/36#discussion_r43372390"},"pull_request":{"href":"https://api.github.com/repos/Scalarm/scalarm_data_explorer/pulls/36"}}},"pull_request":{"url":"https://api.github.com/repos/Scalarm/scalarm_data_explorer/pulls/36","id":48995341,"html_url":"https://github.com/Scalarm/scalarm_data_explorer/pull/36","diff_url":"https://github.com/Scalarm/scalarm_data_explorer/pull/36.diff","patch_url":"https://github.com/Scalarm/scalarm_data_explorer/pull/36.patch","issue_url":"https://api.github.com/repos/Scalarm/scalarm_data_explorer/issues/36","number":36,"state":"open","locked":false,"title":"SCAL-1091","user":{"login":"khalska","id":6343888,"avatar_url":"https://avatars.githubusercontent.com/u/6343888?v=3","gravatar_id":"","url":"https://api.github.com/users/khalska","html_url":"https://github.com/khalska","followers_url":"https://api.github.com/users/khalska/followers","following_url":"https://api.github.com/users/khalska/following{/other_user}","gists_url":"https://api.github.com/users/khalska/gists{/gist_id}","starred_url":"https://api.github.com/users/khalska/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/khalska/subscriptions","organizations_url":"https://api.github.com/users/khalska/orgs","repos_url":"https://api.github.com/users/khalska/repos","events_url":"https://api.github.com/users/khalska/events{/privacy}","received_events_url":"https://api.github.com/users/khalska/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-10-28T11:48:50Z","updated_at":"2015-10-29T11:07:59Z","closed_at":null,"merged_at":null,"merge_commit_sha":"cceec943ad212b79116744a7de1472be7bfc8c42","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Scalarm/scalarm_data_explorer/pulls/36/commits","review_comments_url":"https://api.github.com/repos/Scalarm/scalarm_data_explorer/pulls/36/comments","review_comment_url":"https://api.github.com/repos/Scalarm/scalarm_data_explorer/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Scalarm/scalarm_data_explorer/issues/36/comments","statuses_url":"https://api.github.com/repos/Scalarm/scalarm_data_explorer/statuses/7ec32a4a8193c4c3d0e003ce0e3daffbcf505886","head":{"label":"Scalarm:SCAL-1091","ref":"SCAL-1091","sha":"7ec32a4a8193c4c3d0e003ce0e3daffbcf505886","user":{"login":"Scalarm","id":4244361,"avatar_url":"https://avatars.githubusercontent.com/u/4244361?v=3","gravatar_id":"","url":"https://api.github.com/users/Scalarm","html_url":"https://github.com/Scalarm","followers_url":"https://api.github.com/users/Scalarm/followers","following_url":"https://api.github.com/users/Scalarm/following{/other_user}","gists_url":"https://api.github.com/users/Scalarm/gists{/gist_id}","starred_url":"https://api.github.com/users/Scalarm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Scalarm/subscriptions","organizations_url":"https://api.github.com/users/Scalarm/orgs","repos_url":"https://api.github.com/users/Scalarm/repos","events_url":"https://api.github.com/users/Scalarm/events{/privacy}","received_events_url":"https://api.github.com/users/Scalarm/received_events","type":"Organization","site_admin":false},"repo":{"id":36283554,"name":"scalarm_data_explorer","full_name":"Scalarm/scalarm_data_explorer","owner":{"login":"Scalarm","id":4244361,"avatar_url":"https://avatars.githubusercontent.com/u/4244361?v=3","gravatar_id":"","url":"https://api.github.com/users/Scalarm","html_url":"https://github.com/Scalarm","followers_url":"https://api.github.com/users/Scalarm/followers","following_url":"https://api.github.com/users/Scalarm/following{/other_user}","gists_url":"https://api.github.com/users/Scalarm/gists{/gist_id}","starred_url":"https://api.github.com/users/Scalarm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Scalarm/subscriptions","organizations_url":"https://api.github.com/users/Scalarm/orgs","repos_url":"https://api.github.com/users/Scalarm/repos","events_url":"https://api.github.com/users/Scalarm/events{/privacy}","received_events_url":"https://api.github.com/users/Scalarm/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Scalarm/scalarm_data_explorer","description":"Provides data exploration tools and views for Scalarm platform","fork":false,"url":"https://api.github.com/repos/Scalarm/scalarm_data_explorer","forks_url":"https://api.github.com/repos/Scalarm/scalarm_data_explorer/forks","keys_url":"https://api.github.com/repos/Scalarm/scalarm_data_explorer/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Scalarm/scalarm_data_explorer/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Scalarm/scalarm_data_explorer/teams","hooks_url":"https://api.github.com/repos/Scalarm/scalarm_data_explorer/hooks","issue_events_url":"https://api.github.com/repos/Scalarm/scalarm_data_explorer/issues/events{/number}","events_url":"https://api.github.com/repos/Scalarm/scalarm_data_explorer/events","assignees_url":"https://api.github.com/repos/Scalarm/scalarm_data_explorer/assignees{/user}","branches_url":"https://api.github.com/repos/Scalarm/scalarm_data_explorer/branches{/branch}","tags_url":"https://api.github.com/repos/Scalarm/scalarm_data_explorer/tags","blobs_url":"https://api.github.com/repos/Scalarm/scalarm_data_explorer/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Scalarm/scalarm_data_explorer/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Scalarm/scalarm_data_explorer/git/refs{/sha}","trees_url":"https://api.github.com/repos/Scalarm/scalarm_data_explorer/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Scalarm/scalarm_data_explorer/statuses/{sha}","languages_url":"https://api.github.com/repos/Scalarm/scalarm_data_explorer/languages","stargazers_url":"https://api.github.com/repos/Scalarm/scalarm_data_explorer/stargazers","contributors_url":"https://api.github.com/repos/Scalarm/scalarm_data_explorer/contributors","subscribers_url":"https://api.github.com/repos/Scalarm/scalarm_data_explorer/subscribers","subscription_url":"https://api.github.com/repos/Scalarm/scalarm_data_explorer/subscription","commits_url":"https://api.github.com/repos/Scalarm/scalarm_data_explorer/commits{/sha}","git_commits_url":"https://api.github.com/repos/Scalarm/scalarm_data_explorer/git/commits{/sha}","comments_url":"https://api.github.com/repos/Scalarm/scalarm_data_explorer/comments{/number}","issue_comment_url":"https://api.github.com/repos/Scalarm/scalarm_data_explorer/issues/comments{/number}","contents_url":"https://api.github.com/repos/Scalarm/scalarm_data_explorer/contents/{+path}","compare_url":"https://api.github.com/repos/Scalarm/scalarm_data_explorer/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Scalarm/scalarm_data_explorer/merges","archive_url":"https://api.github.com/repos/Scalarm/scalarm_data_explorer/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Scalarm/scalarm_data_explorer/downloads","issues_url":"https://api.github.com/repos/Scalarm/scalarm_data_explorer/issues{/number}","pulls_url":"https://api.github.com/repos/Scalarm/scalarm_data_explorer/pulls{/number}","milestones_url":"https://api.github.com/repos/Scalarm/scalarm_data_explorer/milestones{/number}","notifications_url":"https://api.github.com/repos/Scalarm/scalarm_data_explorer/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Scalarm/scalarm_data_explorer/labels{/name}","releases_url":"https://api.github.com/repos/Scalarm/scalarm_data_explorer/releases{/id}","created_at":"2015-05-26T08:48:44Z","updated_at":"2015-06-23T12:39:19Z","pushed_at":"2015-10-29T05:40:05Z","git_url":"git://github.com/Scalarm/scalarm_data_explorer.git","ssh_url":"git@github.com:Scalarm/scalarm_data_explorer.git","clone_url":"https://github.com/Scalarm/scalarm_data_explorer.git","svn_url":"https://github.com/Scalarm/scalarm_data_explorer","homepage":null,"size":1566,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":6,"forks":1,"open_issues":6,"watchers":0,"default_branch":"master"}},"base":{"label":"Scalarm:development","ref":"development","sha":"44fd3b5f241f43e4d916d0c3ded2cf3140c3d292","user":{"login":"Scalarm","id":4244361,"avatar_url":"https://avatars.githubusercontent.com/u/4244361?v=3","gravatar_id":"","url":"https://api.github.com/users/Scalarm","html_url":"https://github.com/Scalarm","followers_url":"https://api.github.com/users/Scalarm/followers","following_url":"https://api.github.com/users/Scalarm/following{/other_user}","gists_url":"https://api.github.com/users/Scalarm/gists{/gist_id}","starred_url":"https://api.github.com/users/Scalarm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Scalarm/subscriptions","organizations_url":"https://api.github.com/users/Scalarm/orgs","repos_url":"https://api.github.com/users/Scalarm/repos","events_url":"https://api.github.com/users/Scalarm/events{/privacy}","received_events_url":"https://api.github.com/users/Scalarm/received_events","type":"Organization","site_admin":false},"repo":{"id":36283554,"name":"scalarm_data_explorer","full_name":"Scalarm/scalarm_data_explorer","owner":{"login":"Scalarm","id":4244361,"avatar_url":"https://avatars.githubusercontent.com/u/4244361?v=3","gravatar_id":"","url":"https://api.github.com/users/Scalarm","html_url":"https://github.com/Scalarm","followers_url":"https://api.github.com/users/Scalarm/followers","following_url":"https://api.github.com/users/Scalarm/following{/other_user}","gists_url":"https://api.github.com/users/Scalarm/gists{/gist_id}","starred_url":"https://api.github.com/users/Scalarm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Scalarm/subscriptions","organizations_url":"https://api.github.com/users/Scalarm/orgs","repos_url":"https://api.github.com/users/Scalarm/repos","events_url":"https://api.github.com/users/Scalarm/events{/privacy}","received_events_url":"https://api.github.com/users/Scalarm/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Scalarm/scalarm_data_explorer","description":"Provides data exploration tools and views for Scalarm platform","fork":false,"url":"https://api.github.com/repos/Scalarm/scalarm_data_explorer","forks_url":"https://api.github.com/repos/Scalarm/scalarm_data_explorer/forks","keys_url":"https://api.github.com/repos/Scalarm/scalarm_data_explorer/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Scalarm/scalarm_data_explorer/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Scalarm/scalarm_data_explorer/teams","hooks_url":"https://api.github.com/repos/Scalarm/scalarm_data_explorer/hooks","issue_events_url":"https://api.github.com/repos/Scalarm/scalarm_data_explorer/issues/events{/number}","events_url":"https://api.github.com/repos/Scalarm/scalarm_data_explorer/events","assignees_url":"https://api.github.com/repos/Scalarm/scalarm_data_explorer/assignees{/user}","branches_url":"https://api.github.com/repos/Scalarm/scalarm_data_explorer/branches{/branch}","tags_url":"https://api.github.com/repos/Scalarm/scalarm_data_explorer/tags","blobs_url":"https://api.github.com/repos/Scalarm/scalarm_data_explorer/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Scalarm/scalarm_data_explorer/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Scalarm/scalarm_data_explorer/git/refs{/sha}","trees_url":"https://api.github.com/repos/Scalarm/scalarm_data_explorer/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Scalarm/scalarm_data_explorer/statuses/{sha}","languages_url":"https://api.github.com/repos/Scalarm/scalarm_data_explorer/languages","stargazers_url":"https://api.github.com/repos/Scalarm/scalarm_data_explorer/stargazers","contributors_url":"https://api.github.com/repos/Scalarm/scalarm_data_explorer/contributors","subscribers_url":"https://api.github.com/repos/Scalarm/scalarm_data_explorer/subscribers","subscription_url":"https://api.github.com/repos/Scalarm/scalarm_data_explorer/subscription","commits_url":"https://api.github.com/repos/Scalarm/scalarm_data_explorer/commits{/sha}","git_commits_url":"https://api.github.com/repos/Scalarm/scalarm_data_explorer/git/commits{/sha}","comments_url":"https://api.github.com/repos/Scalarm/scalarm_data_explorer/comments{/number}","issue_comment_url":"https://api.github.com/repos/Scalarm/scalarm_data_explorer/issues/comments{/number}","contents_url":"https://api.github.com/repos/Scalarm/scalarm_data_explorer/contents/{+path}","compare_url":"https://api.github.com/repos/Scalarm/scalarm_data_explorer/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Scalarm/scalarm_data_explorer/merges","archive_url":"https://api.github.com/repos/Scalarm/scalarm_data_explorer/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Scalarm/scalarm_data_explorer/downloads","issues_url":"https://api.github.com/repos/Scalarm/scalarm_data_explorer/issues{/number}","pulls_url":"https://api.github.com/repos/Scalarm/scalarm_data_explorer/pulls{/number}","milestones_url":"https://api.github.com/repos/Scalarm/scalarm_data_explorer/milestones{/number}","notifications_url":"https://api.github.com/repos/Scalarm/scalarm_data_explorer/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Scalarm/scalarm_data_explorer/labels{/name}","releases_url":"https://api.github.com/repos/Scalarm/scalarm_data_explorer/releases{/id}","created_at":"2015-05-26T08:48:44Z","updated_at":"2015-06-23T12:39:19Z","pushed_at":"2015-10-29T05:40:05Z","git_url":"git://github.com/Scalarm/scalarm_data_explorer.git","ssh_url":"git@github.com:Scalarm/scalarm_data_explorer.git","clone_url":"https://github.com/Scalarm/scalarm_data_explorer.git","svn_url":"https://github.com/Scalarm/scalarm_data_explorer","homepage":null,"size":1566,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":6,"forks":1,"open_issues":6,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Scalarm/scalarm_data_explorer/pulls/36"},"html":{"href":"https://github.com/Scalarm/scalarm_data_explorer/pull/36"},"issue":{"href":"https://api.github.com/repos/Scalarm/scalarm_data_explorer/issues/36"},"comments":{"href":"https://api.github.com/repos/Scalarm/scalarm_data_explorer/issues/36/comments"},"review_comments":{"href":"https://api.github.com/repos/Scalarm/scalarm_data_explorer/pulls/36/comments"},"review_comment":{"href":"https://api.github.com/repos/Scalarm/scalarm_data_explorer/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Scalarm/scalarm_data_explorer/pulls/36/commits"},"statuses":{"href":"https://api.github.com/repos/Scalarm/scalarm_data_explorer/statuses/7ec32a4a8193c4c3d0e003ce0e3daffbcf505886"}}}}