{"action":"closed","number":5,"pull_request":{"url":"https://api.github.com/repos/schneems/let_it_go/pulls/5","id":42439781,"html_url":"https://github.com/schneems/let_it_go/pull/5","diff_url":"https://github.com/schneems/let_it_go/pull/5.diff","patch_url":"https://github.com/schneems/let_it_go/pull/5.patch","issue_url":"https://api.github.com/repos/schneems/let_it_go/issues/5","number":5,"state":"closed","locked":false,"title":"Fix unused variable and shadowing outer local variable warnings","user":{"login":"JuanitoFatas","id":1000669,"avatar_url":"https://avatars.githubusercontent.com/u/1000669?v=3","gravatar_id":"","url":"https://api.github.com/users/JuanitoFatas","html_url":"https://github.com/JuanitoFatas","followers_url":"https://api.github.com/users/JuanitoFatas/followers","following_url":"https://api.github.com/users/JuanitoFatas/following{/other_user}","gists_url":"https://api.github.com/users/JuanitoFatas/gists{/gist_id}","starred_url":"https://api.github.com/users/JuanitoFatas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JuanitoFatas/subscriptions","organizations_url":"https://api.github.com/users/JuanitoFatas/orgs","repos_url":"https://api.github.com/users/JuanitoFatas/repos","events_url":"https://api.github.com/users/JuanitoFatas/events{/privacy}","received_events_url":"https://api.github.com/users/JuanitoFatas/received_events","type":"User","site_admin":false},"body":"Before this patch\r\n\r\n```\r\n➜  countries git:(master) ✗ bundle exec rake\r\n/Users/Juan/.rubies/ruby-2.2.2/bin/ruby -I/Users/Juan/.gem/ruby/2.2.2/gems/rspec-core-3.3.2/lib:/Users/Juan/.gem/ruby/2.2.2/gems/rspec-support-3.3.0/lib /Users/Juan/.gem/ruby/2.2.2/gems/rspec-core-3.3.2/exe/rspec --pattern spec/\\*\\*\\{,/\\*/\\*\\*\\}/\\*_spec.rb --color --warnings\r\n...........................................................................................................\r\n/Users/Juan/.gem/ruby/2.2.2/gems/let_it_go-0.0.2/lib/let_it_go/wtf_parser.rb:213:\r\nwarning: assigned but unused variable - e\r\n/Users/Juan/.gem/ruby/2.2.2/gems/let_it_go-0.0.2/lib/let_it_go/report.rb:10:\r\nwarning: assigned but unused variable - k\r\n/Users/Juan/.gem/ruby/2.2.2/gems/let_it_go-0.0.2/lib/let_it_go/report.rb:29:\r\nwarning: shadowing outer local variable - count\r\n\r\nFinished in 3.63 seconds (files took 0.27267 seconds to load)\r\n108 examples, 0 failures\r\n```\r\n\r\nAfter this patch\r\n\r\n```\r\n➜  countries git:(master) ✗ bundle exec rake\r\n/Users/Juan/.rubies/ruby-2.2.2/bin/ruby -I/Users/Juan/.gem/ruby/2.2.2/gems/rspec-core-3.3.2/lib:/Users/Juan/.gem/ruby/2.2.2/gems/rspec-support-3.3.0/lib /Users/Juan/.gem/ruby/2.2.2/gems/rspec-core-3.3.2/exe/rspec --pattern spec/\\*\\*\\{,/\\*/\\*\\*\\}/\\*_spec.rb --color --warnings\r\n............................................................................................................\r\n\r\nFinished in 3.9 seconds (files took 0.17417 seconds to load)\r\n108 examples, 0 failures\r\n```","created_at":"2015-08-14T09:49:22Z","updated_at":"2016-02-02T08:32:23Z","closed_at":"2016-02-02T08:32:23Z","merged_at":null,"merge_commit_sha":"3e1bb13c14dd9f43fa37fd4b5e7dcc21745ba1e5","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/schneems/let_it_go/pulls/5/commits","review_comments_url":"https://api.github.com/repos/schneems/let_it_go/pulls/5/comments","review_comment_url":"https://api.github.com/repos/schneems/let_it_go/pulls/comments{/number}","comments_url":"https://api.github.com/repos/schneems/let_it_go/issues/5/comments","statuses_url":"https://api.github.com/repos/schneems/let_it_go/statuses/0793804361ff1803451bc5f8782790247781be11","head":{"label":"JuanitoFatas:fix/warnings","ref":"fix/warnings","sha":"0793804361ff1803451bc5f8782790247781be11","user":{"login":"JuanitoFatas","id":1000669,"avatar_url":"https://avatars.githubusercontent.com/u/1000669?v=3","gravatar_id":"","url":"https://api.github.com/users/JuanitoFatas","html_url":"https://github.com/JuanitoFatas","followers_url":"https://api.github.com/users/JuanitoFatas/followers","following_url":"https://api.github.com/users/JuanitoFatas/following{/other_user}","gists_url":"https://api.github.com/users/JuanitoFatas/gists{/gist_id}","starred_url":"https://api.github.com/users/JuanitoFatas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JuanitoFatas/subscriptions","organizations_url":"https://api.github.com/users/JuanitoFatas/orgs","repos_url":"https://api.github.com/users/JuanitoFatas/repos","events_url":"https://api.github.com/users/JuanitoFatas/events{/privacy}","received_events_url":"https://api.github.com/users/JuanitoFatas/received_events","type":"User","site_admin":false},"repo":{"id":40647111,"name":"let_it_go","full_name":"JuanitoFatas/let_it_go","owner":{"login":"JuanitoFatas","id":1000669,"avatar_url":"https://avatars.githubusercontent.com/u/1000669?v=3","gravatar_id":"","url":"https://api.github.com/users/JuanitoFatas","html_url":"https://github.com/JuanitoFatas","followers_url":"https://api.github.com/users/JuanitoFatas/followers","following_url":"https://api.github.com/users/JuanitoFatas/following{/other_user}","gists_url":"https://api.github.com/users/JuanitoFatas/gists{/gist_id}","starred_url":"https://api.github.com/users/JuanitoFatas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JuanitoFatas/subscriptions","organizations_url":"https://api.github.com/users/JuanitoFatas/orgs","repos_url":"https://api.github.com/users/JuanitoFatas/repos","events_url":"https://api.github.com/users/JuanitoFatas/events{/privacy}","received_events_url":"https://api.github.com/users/JuanitoFatas/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/JuanitoFatas/let_it_go","description":"Make sure your string literals are Frozen","fork":true,"url":"https://api.github.com/repos/JuanitoFatas/let_it_go","forks_url":"https://api.github.com/repos/JuanitoFatas/let_it_go/forks","keys_url":"https://api.github.com/repos/JuanitoFatas/let_it_go/keys{/key_id}","collaborators_url":"https://api.github.com/repos/JuanitoFatas/let_it_go/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/JuanitoFatas/let_it_go/teams","hooks_url":"https://api.github.com/repos/JuanitoFatas/let_it_go/hooks","issue_events_url":"https://api.github.com/repos/JuanitoFatas/let_it_go/issues/events{/number}","events_url":"https://api.github.com/repos/JuanitoFatas/let_it_go/events","assignees_url":"https://api.github.com/repos/JuanitoFatas/let_it_go/assignees{/user}","branches_url":"https://api.github.com/repos/JuanitoFatas/let_it_go/branches{/branch}","tags_url":"https://api.github.com/repos/JuanitoFatas/let_it_go/tags","blobs_url":"https://api.github.com/repos/JuanitoFatas/let_it_go/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/JuanitoFatas/let_it_go/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/JuanitoFatas/let_it_go/git/refs{/sha}","trees_url":"https://api.github.com/repos/JuanitoFatas/let_it_go/git/trees{/sha}","statuses_url":"https://api.github.com/repos/JuanitoFatas/let_it_go/statuses/{sha}","languages_url":"https://api.github.com/repos/JuanitoFatas/let_it_go/languages","stargazers_url":"https://api.github.com/repos/JuanitoFatas/let_it_go/stargazers","contributors_url":"https://api.github.com/repos/JuanitoFatas/let_it_go/contributors","subscribers_url":"https://api.github.com/repos/JuanitoFatas/let_it_go/subscribers","subscription_url":"https://api.github.com/repos/JuanitoFatas/let_it_go/subscription","commits_url":"https://api.github.com/repos/JuanitoFatas/let_it_go/commits{/sha}","git_commits_url":"https://api.github.com/repos/JuanitoFatas/let_it_go/git/commits{/sha}","comments_url":"https://api.github.com/repos/JuanitoFatas/let_it_go/comments{/number}","issue_comment_url":"https://api.github.com/repos/JuanitoFatas/let_it_go/issues/comments{/number}","contents_url":"https://api.github.com/repos/JuanitoFatas/let_it_go/contents/{+path}","compare_url":"https://api.github.com/repos/JuanitoFatas/let_it_go/compare/{base}...{head}","merges_url":"https://api.github.com/repos/JuanitoFatas/let_it_go/merges","archive_url":"https://api.github.com/repos/JuanitoFatas/let_it_go/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/JuanitoFatas/let_it_go/downloads","issues_url":"https://api.github.com/repos/JuanitoFatas/let_it_go/issues{/number}","pulls_url":"https://api.github.com/repos/JuanitoFatas/let_it_go/pulls{/number}","milestones_url":"https://api.github.com/repos/JuanitoFatas/let_it_go/milestones{/number}","notifications_url":"https://api.github.com/repos/JuanitoFatas/let_it_go/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/JuanitoFatas/let_it_go/labels{/name}","releases_url":"https://api.github.com/repos/JuanitoFatas/let_it_go/releases{/id}","deployments_url":"https://api.github.com/repos/JuanitoFatas/let_it_go/deployments","created_at":"2015-08-13T08:17:57Z","updated_at":"2015-08-13T08:17:58Z","pushed_at":"2016-02-02T08:32:18Z","git_url":"git://github.com/JuanitoFatas/let_it_go.git","ssh_url":"git@github.com:JuanitoFatas/let_it_go.git","clone_url":"https://github.com/JuanitoFatas/let_it_go.git","svn_url":"https://github.com/JuanitoFatas/let_it_go","homepage":null,"size":27,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"schneems:master","ref":"master","sha":"c6fd1bf12b21aa6f3257eb17ca4fdfa029054a27","user":{"login":"schneems","id":59744,"avatar_url":"https://avatars.githubusercontent.com/u/59744?v=3","gravatar_id":"","url":"https://api.github.com/users/schneems","html_url":"https://github.com/schneems","followers_url":"https://api.github.com/users/schneems/followers","following_url":"https://api.github.com/users/schneems/following{/other_user}","gists_url":"https://api.github.com/users/schneems/gists{/gist_id}","starred_url":"https://api.github.com/users/schneems/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/schneems/subscriptions","organizations_url":"https://api.github.com/users/schneems/orgs","repos_url":"https://api.github.com/users/schneems/repos","events_url":"https://api.github.com/users/schneems/events{/privacy}","received_events_url":"https://api.github.com/users/schneems/received_events","type":"User","site_admin":false},"repo":{"id":36810503,"name":"let_it_go","full_name":"schneems/let_it_go","owner":{"login":"schneems","id":59744,"avatar_url":"https://avatars.githubusercontent.com/u/59744?v=3","gravatar_id":"","url":"https://api.github.com/users/schneems","html_url":"https://github.com/schneems","followers_url":"https://api.github.com/users/schneems/followers","following_url":"https://api.github.com/users/schneems/following{/other_user}","gists_url":"https://api.github.com/users/schneems/gists{/gist_id}","starred_url":"https://api.github.com/users/schneems/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/schneems/subscriptions","organizations_url":"https://api.github.com/users/schneems/orgs","repos_url":"https://api.github.com/users/schneems/repos","events_url":"https://api.github.com/users/schneems/events{/privacy}","received_events_url":"https://api.github.com/users/schneems/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/schneems/let_it_go","description":"Make sure your string literals are Frozen","fork":false,"url":"https://api.github.com/repos/schneems/let_it_go","forks_url":"https://api.github.com/repos/schneems/let_it_go/forks","keys_url":"https://api.github.com/repos/schneems/let_it_go/keys{/key_id}","collaborators_url":"https://api.github.com/repos/schneems/let_it_go/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/schneems/let_it_go/teams","hooks_url":"https://api.github.com/repos/schneems/let_it_go/hooks","issue_events_url":"https://api.github.com/repos/schneems/let_it_go/issues/events{/number}","events_url":"https://api.github.com/repos/schneems/let_it_go/events","assignees_url":"https://api.github.com/repos/schneems/let_it_go/assignees{/user}","branches_url":"https://api.github.com/repos/schneems/let_it_go/branches{/branch}","tags_url":"https://api.github.com/repos/schneems/let_it_go/tags","blobs_url":"https://api.github.com/repos/schneems/let_it_go/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/schneems/let_it_go/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/schneems/let_it_go/git/refs{/sha}","trees_url":"https://api.github.com/repos/schneems/let_it_go/git/trees{/sha}","statuses_url":"https://api.github.com/repos/schneems/let_it_go/statuses/{sha}","languages_url":"https://api.github.com/repos/schneems/let_it_go/languages","stargazers_url":"https://api.github.com/repos/schneems/let_it_go/stargazers","contributors_url":"https://api.github.com/repos/schneems/let_it_go/contributors","subscribers_url":"https://api.github.com/repos/schneems/let_it_go/subscribers","subscription_url":"https://api.github.com/repos/schneems/let_it_go/subscription","commits_url":"https://api.github.com/repos/schneems/let_it_go/commits{/sha}","git_commits_url":"https://api.github.com/repos/schneems/let_it_go/git/commits{/sha}","comments_url":"https://api.github.com/repos/schneems/let_it_go/comments{/number}","issue_comment_url":"https://api.github.com/repos/schneems/let_it_go/issues/comments{/number}","contents_url":"https://api.github.com/repos/schneems/let_it_go/contents/{+path}","compare_url":"https://api.github.com/repos/schneems/let_it_go/compare/{base}...{head}","merges_url":"https://api.github.com/repos/schneems/let_it_go/merges","archive_url":"https://api.github.com/repos/schneems/let_it_go/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/schneems/let_it_go/downloads","issues_url":"https://api.github.com/repos/schneems/let_it_go/issues{/number}","pulls_url":"https://api.github.com/repos/schneems/let_it_go/pulls{/number}","milestones_url":"https://api.github.com/repos/schneems/let_it_go/milestones{/number}","notifications_url":"https://api.github.com/repos/schneems/let_it_go/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/schneems/let_it_go/labels{/name}","releases_url":"https://api.github.com/repos/schneems/let_it_go/releases{/id}","deployments_url":"https://api.github.com/repos/schneems/let_it_go/deployments","created_at":"2015-06-03T14:52:59Z","updated_at":"2016-01-31T15:39:39Z","pushed_at":"2015-09-25T11:34:18Z","git_url":"git://github.com/schneems/let_it_go.git","ssh_url":"git@github.com:schneems/let_it_go.git","clone_url":"https://github.com/schneems/let_it_go.git","svn_url":"https://github.com/schneems/let_it_go","homepage":null,"size":393,"stargazers_count":62,"watchers_count":62,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"open_issues_count":5,"forks":5,"open_issues":5,"watchers":62,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/schneems/let_it_go/pulls/5"},"html":{"href":"https://github.com/schneems/let_it_go/pull/5"},"issue":{"href":"https://api.github.com/repos/schneems/let_it_go/issues/5"},"comments":{"href":"https://api.github.com/repos/schneems/let_it_go/issues/5/comments"},"review_comments":{"href":"https://api.github.com/repos/schneems/let_it_go/pulls/5/comments"},"review_comment":{"href":"https://api.github.com/repos/schneems/let_it_go/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/schneems/let_it_go/pulls/5/commits"},"statuses":{"href":"https://api.github.com/repos/schneems/let_it_go/statuses/0793804361ff1803451bc5f8782790247781be11"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":1,"review_comments":3,"commits":1,"additions":5,"deletions":5,"changed_files":2}}