{"action":"created","comment":{"url":"https://api.github.com/repos/yast/yast-ruby-bindings/pulls/comments/34973196","id":34973196,"diff_hunk":"@@ -0,0 +1,97 @@\n+# use the shared Yast defaults\n+inherit_from:\n+  /usr/share/YaST2/data/devtools/data/rubocop_yast_style.yml\n+\n+\n+# Offense count: 3\n+Lint/Eval:\n+  Enabled: false\n+\n+# Offense count: 2\n+Lint/RescueException:\n+  Enabled: false\n+\n+# Offense count: 24\n+Metrics/AbcSize:\n+  Max: 54\n+\n+# Offense count: 1\n+Metrics/BlockNesting:\n+  Max: 4\n+\n+# Offense count: 1\n+# Configuration parameters: CountComments.\n+Metrics/ClassLength:\n+  Max: 107\n+\n+# Offense count: 20\n+Metrics/CyclomaticComplexity:\n+  Max: 17\n+\n+# Offense count: 149\n+# Configuration parameters: AllowURI, URISchemes.\n+Metrics/LineLength:\n+  Max: 120\n+\n+# Offense count: 32\n+# Configuration parameters: CountComments.\n+Metrics/MethodLength:\n+  Max: 49\n+\n+# Offense count: 9\n+Metrics/PerceivedComplexity:\n+  Max: 18\n+\n+# Offense count: 20\n+Style/Documentation:\n+  Enabled: false\n+\n+# Offense count: 1\n+Style/DoubleNegation:\n+  Enabled: false\n+\n+# Offense count: 1\n+Style/EachWithObject:\n+  Enabled: false\n+\n+# Offense count: 1\n+Style/EmptyElse:\n+  Enabled: false","path":".rubocop.yml","position":59,"original_position":59,"commit_id":"37d0c3f5b8e76218974649ccfebecc88e594edb7","original_commit_id":"37d0c3f5b8e76218974649ccfebecc88e594edb7","user":{"login":"jreidinger","id":478871,"avatar_url":"https://avatars.githubusercontent.com/u/478871?v=3","gravatar_id":"","url":"https://api.github.com/users/jreidinger","html_url":"https://github.com/jreidinger","followers_url":"https://api.github.com/users/jreidinger/followers","following_url":"https://api.github.com/users/jreidinger/following{/other_user}","gists_url":"https://api.github.com/users/jreidinger/gists{/gist_id}","starred_url":"https://api.github.com/users/jreidinger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jreidinger/subscriptions","organizations_url":"https://api.github.com/users/jreidinger/orgs","repos_url":"https://api.github.com/users/jreidinger/repos","events_url":"https://api.github.com/users/jreidinger/events{/privacy}","received_events_url":"https://api.github.com/users/jreidinger/received_events","type":"User","site_admin":false},"body":"this one also","created_at":"2015-07-20T07:46:07Z","updated_at":"2015-07-20T07:46:07Z","html_url":"https://github.com/yast/yast-ruby-bindings/pull/150#discussion_r34973196","pull_request_url":"https://api.github.com/repos/yast/yast-ruby-bindings/pulls/150","_links":{"self":{"href":"https://api.github.com/repos/yast/yast-ruby-bindings/pulls/comments/34973196"},"html":{"href":"https://github.com/yast/yast-ruby-bindings/pull/150#discussion_r34973196"},"pull_request":{"href":"https://api.github.com/repos/yast/yast-ruby-bindings/pulls/150"}}},"pull_request":{"url":"https://api.github.com/repos/yast/yast-ruby-bindings/pulls/150","id":40209763,"html_url":"https://github.com/yast/yast-ruby-bindings/pull/150","diff_url":"https://github.com/yast/yast-ruby-bindings/pull/150.diff","patch_url":"https://github.com/yast/yast-ruby-bindings/pull/150.patch","issue_url":"https://api.github.com/repos/yast/yast-ruby-bindings/issues/150","number":150,"state":"open","locked":false,"title":"Apply style guide, with Rubocop","user":{"login":"mvidner","id":102056,"avatar_url":"https://avatars.githubusercontent.com/u/102056?v=3","gravatar_id":"","url":"https://api.github.com/users/mvidner","html_url":"https://github.com/mvidner","followers_url":"https://api.github.com/users/mvidner/followers","following_url":"https://api.github.com/users/mvidner/following{/other_user}","gists_url":"https://api.github.com/users/mvidner/gists{/gist_id}","starred_url":"https://api.github.com/users/mvidner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mvidner/subscriptions","organizations_url":"https://api.github.com/users/mvidner/orgs","repos_url":"https://api.github.com/users/mvidner/repos","events_url":"https://api.github.com/users/mvidner/events{/privacy}","received_events_url":"https://api.github.com/users/mvidner/received_events","type":"User","site_admin":false},"body":"I tried hard to separate the autocorrections from manual corrections so that any mistakes and regressions are easy to spot.\r\n\r\nBTW I made a tool for this, https://github.com/mvidner/rubocopify","created_at":"2015-07-17T08:26:34Z","updated_at":"2015-07-20T07:46:07Z","closed_at":null,"merged_at":null,"merge_commit_sha":"26bb4fdfa506ba3c52d379afdb233c39abcd2492","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/yast/yast-ruby-bindings/pulls/150/commits","review_comments_url":"https://api.github.com/repos/yast/yast-ruby-bindings/pulls/150/comments","review_comment_url":"https://api.github.com/repos/yast/yast-ruby-bindings/pulls/comments{/number}","comments_url":"https://api.github.com/repos/yast/yast-ruby-bindings/issues/150/comments","statuses_url":"https://api.github.com/repos/yast/yast-ruby-bindings/statuses/37d0c3f5b8e76218974649ccfebecc88e594edb7","head":{"label":"yast:rubocop","ref":"rubocop","sha":"37d0c3f5b8e76218974649ccfebecc88e594edb7","user":{"login":"yast","id":909990,"avatar_url":"https://avatars.githubusercontent.com/u/909990?v=3","gravatar_id":"","url":"https://api.github.com/users/yast","html_url":"https://github.com/yast","followers_url":"https://api.github.com/users/yast/followers","following_url":"https://api.github.com/users/yast/following{/other_user}","gists_url":"https://api.github.com/users/yast/gists{/gist_id}","starred_url":"https://api.github.com/users/yast/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yast/subscriptions","organizations_url":"https://api.github.com/users/yast/orgs","repos_url":"https://api.github.com/users/yast/repos","events_url":"https://api.github.com/users/yast/events{/privacy}","received_events_url":"https://api.github.com/users/yast/received_events","type":"Organization","site_admin":false},"repo":{"id":4371567,"name":"yast-ruby-bindings","full_name":"yast/yast-ruby-bindings","owner":{"login":"yast","id":909990,"avatar_url":"https://avatars.githubusercontent.com/u/909990?v=3","gravatar_id":"","url":"https://api.github.com/users/yast","html_url":"https://github.com/yast","followers_url":"https://api.github.com/users/yast/followers","following_url":"https://api.github.com/users/yast/following{/other_user}","gists_url":"https://api.github.com/users/yast/gists{/gist_id}","starred_url":"https://api.github.com/users/yast/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yast/subscriptions","organizations_url":"https://api.github.com/users/yast/orgs","repos_url":"https://api.github.com/users/yast/repos","events_url":"https://api.github.com/users/yast/events{/privacy}","received_events_url":"https://api.github.com/users/yast/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/yast/yast-ruby-bindings","description":"YaST module ruby-bindings","fork":false,"url":"https://api.github.com/repos/yast/yast-ruby-bindings","forks_url":"https://api.github.com/repos/yast/yast-ruby-bindings/forks","keys_url":"https://api.github.com/repos/yast/yast-ruby-bindings/keys{/key_id}","collaborators_url":"https://api.github.com/repos/yast/yast-ruby-bindings/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/yast/yast-ruby-bindings/teams","hooks_url":"https://api.github.com/repos/yast/yast-ruby-bindings/hooks","issue_events_url":"https://api.github.com/repos/yast/yast-ruby-bindings/issues/events{/number}","events_url":"https://api.github.com/repos/yast/yast-ruby-bindings/events","assignees_url":"https://api.github.com/repos/yast/yast-ruby-bindings/assignees{/user}","branches_url":"https://api.github.com/repos/yast/yast-ruby-bindings/branches{/branch}","tags_url":"https://api.github.com/repos/yast/yast-ruby-bindings/tags","blobs_url":"https://api.github.com/repos/yast/yast-ruby-bindings/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/yast/yast-ruby-bindings/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/yast/yast-ruby-bindings/git/refs{/sha}","trees_url":"https://api.github.com/repos/yast/yast-ruby-bindings/git/trees{/sha}","statuses_url":"https://api.github.com/repos/yast/yast-ruby-bindings/statuses/{sha}","languages_url":"https://api.github.com/repos/yast/yast-ruby-bindings/languages","stargazers_url":"https://api.github.com/repos/yast/yast-ruby-bindings/stargazers","contributors_url":"https://api.github.com/repos/yast/yast-ruby-bindings/contributors","subscribers_url":"https://api.github.com/repos/yast/yast-ruby-bindings/subscribers","subscription_url":"https://api.github.com/repos/yast/yast-ruby-bindings/subscription","commits_url":"https://api.github.com/repos/yast/yast-ruby-bindings/commits{/sha}","git_commits_url":"https://api.github.com/repos/yast/yast-ruby-bindings/git/commits{/sha}","comments_url":"https://api.github.com/repos/yast/yast-ruby-bindings/comments{/number}","issue_comment_url":"https://api.github.com/repos/yast/yast-ruby-bindings/issues/comments{/number}","contents_url":"https://api.github.com/repos/yast/yast-ruby-bindings/contents/{+path}","compare_url":"https://api.github.com/repos/yast/yast-ruby-bindings/compare/{base}...{head}","merges_url":"https://api.github.com/repos/yast/yast-ruby-bindings/merges","archive_url":"https://api.github.com/repos/yast/yast-ruby-bindings/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/yast/yast-ruby-bindings/downloads","issues_url":"https://api.github.com/repos/yast/yast-ruby-bindings/issues{/number}","pulls_url":"https://api.github.com/repos/yast/yast-ruby-bindings/pulls{/number}","milestones_url":"https://api.github.com/repos/yast/yast-ruby-bindings/milestones{/number}","notifications_url":"https://api.github.com/repos/yast/yast-ruby-bindings/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/yast/yast-ruby-bindings/labels{/name}","releases_url":"https://api.github.com/repos/yast/yast-ruby-bindings/releases{/id}","created_at":"2012-05-18T17:12:39Z","updated_at":"2015-04-17T07:48:46Z","pushed_at":"2015-07-17T08:26:34Z","git_url":"git://github.com/yast/yast-ruby-bindings.git","ssh_url":"git@github.com:yast/yast-ruby-bindings.git","clone_url":"https://github.com/yast/yast-ruby-bindings.git","svn_url":"https://github.com/yast/yast-ruby-bindings","homepage":"http://en.opensuse.org/Portal:YaST","size":2329,"stargazers_count":2,"watchers_count":2,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":9,"mirror_url":null,"open_issues_count":10,"forks":9,"open_issues":10,"watchers":2,"default_branch":"master"}},"base":{"label":"yast:master","ref":"master","sha":"aaa39f88a46b1c4f79ffd8c5187589a473450e17","user":{"login":"yast","id":909990,"avatar_url":"https://avatars.githubusercontent.com/u/909990?v=3","gravatar_id":"","url":"https://api.github.com/users/yast","html_url":"https://github.com/yast","followers_url":"https://api.github.com/users/yast/followers","following_url":"https://api.github.com/users/yast/following{/other_user}","gists_url":"https://api.github.com/users/yast/gists{/gist_id}","starred_url":"https://api.github.com/users/yast/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yast/subscriptions","organizations_url":"https://api.github.com/users/yast/orgs","repos_url":"https://api.github.com/users/yast/repos","events_url":"https://api.github.com/users/yast/events{/privacy}","received_events_url":"https://api.github.com/users/yast/received_events","type":"Organization","site_admin":false},"repo":{"id":4371567,"name":"yast-ruby-bindings","full_name":"yast/yast-ruby-bindings","owner":{"login":"yast","id":909990,"avatar_url":"https://avatars.githubusercontent.com/u/909990?v=3","gravatar_id":"","url":"https://api.github.com/users/yast","html_url":"https://github.com/yast","followers_url":"https://api.github.com/users/yast/followers","following_url":"https://api.github.com/users/yast/following{/other_user}","gists_url":"https://api.github.com/users/yast/gists{/gist_id}","starred_url":"https://api.github.com/users/yast/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yast/subscriptions","organizations_url":"https://api.github.com/users/yast/orgs","repos_url":"https://api.github.com/users/yast/repos","events_url":"https://api.github.com/users/yast/events{/privacy}","received_events_url":"https://api.github.com/users/yast/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/yast/yast-ruby-bindings","description":"YaST module ruby-bindings","fork":false,"url":"https://api.github.com/repos/yast/yast-ruby-bindings","forks_url":"https://api.github.com/repos/yast/yast-ruby-bindings/forks","keys_url":"https://api.github.com/repos/yast/yast-ruby-bindings/keys{/key_id}","collaborators_url":"https://api.github.com/repos/yast/yast-ruby-bindings/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/yast/yast-ruby-bindings/teams","hooks_url":"https://api.github.com/repos/yast/yast-ruby-bindings/hooks","issue_events_url":"https://api.github.com/repos/yast/yast-ruby-bindings/issues/events{/number}","events_url":"https://api.github.com/repos/yast/yast-ruby-bindings/events","assignees_url":"https://api.github.com/repos/yast/yast-ruby-bindings/assignees{/user}","branches_url":"https://api.github.com/repos/yast/yast-ruby-bindings/branches{/branch}","tags_url":"https://api.github.com/repos/yast/yast-ruby-bindings/tags","blobs_url":"https://api.github.com/repos/yast/yast-ruby-bindings/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/yast/yast-ruby-bindings/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/yast/yast-ruby-bindings/git/refs{/sha}","trees_url":"https://api.github.com/repos/yast/yast-ruby-bindings/git/trees{/sha}","statuses_url":"https://api.github.com/repos/yast/yast-ruby-bindings/statuses/{sha}","languages_url":"https://api.github.com/repos/yast/yast-ruby-bindings/languages","stargazers_url":"https://api.github.com/repos/yast/yast-ruby-bindings/stargazers","contributors_url":"https://api.github.com/repos/yast/yast-ruby-bindings/contributors","subscribers_url":"https://api.github.com/repos/yast/yast-ruby-bindings/subscribers","subscription_url":"https://api.github.com/repos/yast/yast-ruby-bindings/subscription","commits_url":"https://api.github.com/repos/yast/yast-ruby-bindings/commits{/sha}","git_commits_url":"https://api.github.com/repos/yast/yast-ruby-bindings/git/commits{/sha}","comments_url":"https://api.github.com/repos/yast/yast-ruby-bindings/comments{/number}","issue_comment_url":"https://api.github.com/repos/yast/yast-ruby-bindings/issues/comments{/number}","contents_url":"https://api.github.com/repos/yast/yast-ruby-bindings/contents/{+path}","compare_url":"https://api.github.com/repos/yast/yast-ruby-bindings/compare/{base}...{head}","merges_url":"https://api.github.com/repos/yast/yast-ruby-bindings/merges","archive_url":"https://api.github.com/repos/yast/yast-ruby-bindings/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/yast/yast-ruby-bindings/downloads","issues_url":"https://api.github.com/repos/yast/yast-ruby-bindings/issues{/number}","pulls_url":"https://api.github.com/repos/yast/yast-ruby-bindings/pulls{/number}","milestones_url":"https://api.github.com/repos/yast/yast-ruby-bindings/milestones{/number}","notifications_url":"https://api.github.com/repos/yast/yast-ruby-bindings/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/yast/yast-ruby-bindings/labels{/name}","releases_url":"https://api.github.com/repos/yast/yast-ruby-bindings/releases{/id}","created_at":"2012-05-18T17:12:39Z","updated_at":"2015-04-17T07:48:46Z","pushed_at":"2015-07-17T08:26:34Z","git_url":"git://github.com/yast/yast-ruby-bindings.git","ssh_url":"git@github.com:yast/yast-ruby-bindings.git","clone_url":"https://github.com/yast/yast-ruby-bindings.git","svn_url":"https://github.com/yast/yast-ruby-bindings","homepage":"http://en.opensuse.org/Portal:YaST","size":2329,"stargazers_count":2,"watchers_count":2,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":9,"mirror_url":null,"open_issues_count":10,"forks":9,"open_issues":10,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/yast/yast-ruby-bindings/pulls/150"},"html":{"href":"https://github.com/yast/yast-ruby-bindings/pull/150"},"issue":{"href":"https://api.github.com/repos/yast/yast-ruby-bindings/issues/150"},"comments":{"href":"https://api.github.com/repos/yast/yast-ruby-bindings/issues/150/comments"},"review_comments":{"href":"https://api.github.com/repos/yast/yast-ruby-bindings/pulls/150/comments"},"review_comment":{"href":"https://api.github.com/repos/yast/yast-ruby-bindings/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/yast/yast-ruby-bindings/pulls/150/commits"},"statuses":{"href":"https://api.github.com/repos/yast/yast-ruby-bindings/statuses/37d0c3f5b8e76218974649ccfebecc88e594edb7"}}}}