{"action":"closed","issue":{"url":"https://api.github.com/repos/steverob/aurs/issues/5","repository_url":"https://api.github.com/repos/steverob/aurs","labels_url":"https://api.github.com/repos/steverob/aurs/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/steverob/aurs/issues/5/comments","events_url":"https://api.github.com/repos/steverob/aurs/issues/5/events","html_url":"https://github.com/steverob/aurs/issues/5","id":184716336,"number":5,"title":"      #FIXME its a total and complete mess!","user":{"login":"debtBot","id":23006766,"avatar_url":"https://avatars.githubusercontent.com/u/23006766?v=3","gravatar_id":"","url":"https://api.github.com/users/debtBot","html_url":"https://github.com/debtBot","followers_url":"https://api.github.com/users/debtBot/followers","following_url":"https://api.github.com/users/debtBot/following{/other_user}","gists_url":"https://api.github.com/users/debtBot/gists{/gist_id}","starred_url":"https://api.github.com/users/debtBot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/debtBot/subscriptions","organizations_url":"https://api.github.com/users/debtBot/orgs","repos_url":"https://api.github.com/users/debtBot/repos","events_url":"https://api.github.com/users/debtBot/events{/privacy}","received_events_url":"https://api.github.com/users/debtBot/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/steverob/aurs/labels/fixme","name":"fixme","color":"FFA500"}],"state":"closed","locked":false,"assignee":{"login":"steverob","id":1220480,"avatar_url":"https://avatars.githubusercontent.com/u/1220480?v=3","gravatar_id":"","url":"https://api.github.com/users/steverob","html_url":"https://github.com/steverob","followers_url":"https://api.github.com/users/steverob/followers","following_url":"https://api.github.com/users/steverob/following{/other_user}","gists_url":"https://api.github.com/users/steverob/gists{/gist_id}","starred_url":"https://api.github.com/users/steverob/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/steverob/subscriptions","organizations_url":"https://api.github.com/users/steverob/orgs","repos_url":"https://api.github.com/users/steverob/repos","events_url":"https://api.github.com/users/steverob/events{/privacy}","received_events_url":"https://api.github.com/users/steverob/received_events","type":"User","site_admin":false},"assignees":[{"login":"steverob","id":1220480,"avatar_url":"https://avatars.githubusercontent.com/u/1220480?v=3","gravatar_id":"","url":"https://api.github.com/users/steverob","html_url":"https://github.com/steverob","followers_url":"https://api.github.com/users/steverob/followers","following_url":"https://api.github.com/users/steverob/following{/other_user}","gists_url":"https://api.github.com/users/steverob/gists{/gist_id}","starred_url":"https://api.github.com/users/steverob/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/steverob/subscriptions","organizations_url":"https://api.github.com/users/steverob/orgs","repos_url":"https://api.github.com/users/steverob/repos","events_url":"https://api.github.com/users/steverob/events{/privacy}","received_events_url":"https://api.github.com/users/steverob/received_events","type":"User","site_admin":false}],"milestone":null,"comments":2,"created_at":"2016-10-23T21:15:20Z","updated_at":"2016-10-23T21:17:00Z","closed_at":"2016-10-23T21:17:00Z","body":"###       #FIXME its a total and complete mess!\n\n**Context**\n```\n      #FIXME its a total and complete mess!\n      cells.length.times do |i|\n        if cells[i].text==\" Hall Ticket No \"\n          next\n        elsif cells[i-1].text==\" Hall Ticket No \"\n          next\n        elsif cells[i-1].text==\" Course \"\n          next\n        elsif cells[i].text==\" Name \"\n          @results[reg_no][:name]=cells[i+1].text\n          next\n        elsif cells[i].text==\" Course \" || cells[i].text=~ /B.E.(.*)/ || cells[i].text==\"Marks Details\" || cells[i].text==\"Subject\" || cells[i].text==\"Grade\" || cells[i].text==\"Status\"\n          next\n        elsif cells[i].text==\"PASS\" || cells[i].text==\"RA\" || cells[i].text==\"A\"|| cells[i].text==\"B\"|| cells[i].text==\"C\"|| cells[i].text==\"D\"|| cells[i].text==\"E\"|| cells[i].text==\"S\"|| cells[i].text==\"U\"|| cells[i].text=~ /WH(.*)/ || cells[i].text==\"AB\"|| cells[i].text==\"W\"|| cells[i].text==\"SA\" || cells[i].text==\"SE\"|| cells[i].text==\"A.B\"|| cells[i].text==\"I\"|| cells[i].text==\"WD\"|| cells[i].text==\" \"|| cells[i].text==\"BRK\"\n          next\n        elsif cells[i+1].text==\" Course \"\n          next\n        else\n          @results[reg_no][:grades][cells[i].text]={:grade=>cells[i+1].text,:result=>cells[i+2].text}\n        end\n      end\n      if @results[reg_no][:name].nil?\n        @results.delete(reg_no)\n      end\n      @count+=1\n      puts @results[reg_no]\n    end\n  end\n\nend\n```\n---\nAuto-opened by [DebTrakr](http://debt-trakr.2016.rubyrampage.com)"}}
{"actor":{"display_login":"steverob"}}