GitHub PullRequestReviewCommentEvent at 2014-06-05 13:09:36
Repository: osem
Actor: houndci
Payload: {"comment":{"url":"https://api.github.com/repos/openSUSE/osem/pulls/comments/13437944","id":13437944,"diff_hunk":"@@ -35,25 +35,20 @@ class Event < ActiveRecord::Base\n \n   state_machine :initial => :new do\n     state :new\n-    state :review\n     state :withdrawn\n-    state :accepted\n     state :unconfirmed\n     state :confirmed\n     state :canceled\n     state :rejected\n \n-    event :start_review do\n-      transitions :to => :review, :from => [:new, :rejected, :canceled]\n+    event :restart do\n+      transitions :to => :new, :from => [:rejected, :withdrawn, :canceled]\n     end\n     event :withdraw do\n-      transitions :to => :withdrawn, :from => [:new, :review, :unconfirmed, :confirmed]\n+      transitions :to => :withdrawn, :from => [:new, :unconfirmed, :confirmed]\n     end\n     event :accept do\n-      transitions :to => :unconfirmed, :from => [:new, :review], :on_transition => :process_acceptance\n-    end\n-    event :unconfirm do\n-      transitions :to => :review, :from=>[:confirmed]\n+      transitions :to => :unconfirmed, :from => [:new], :on_transition => :process_acceptance","path":"app/models/event.rb","position":26,"original_position":26,"commit_id":"299acf141d6424c1e2e092eeb68900f761ceae01","original_commit_id":"299acf141d6424c1e2e092eeb68900f761ceae01","user":{"login":"houndci","id":6697940,"avatar_url":"https://avatars.githubusercontent.com/u/6697940?","gravatar_id":"38d9cefd9971a05bf447f07c6cd332cc","url":"https://api.github.com/users/houndci","html_url":"https://github.com/houndci","followers_url":"https://api.github.com/users/houndci/followers","following_url":"https://api.github.com/users/houndci/following{/other_user}","gists_url":"https://api.github.com/users/houndci/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci/subscriptions","organizations_url":"https://api.github.com/users/houndci/orgs","repos_url":"https://api.github.com/users/houndci/repos","events_url":"https://api.github.com/users/houndci/events{/privacy}","received_events_url":"https://api.github.com/users/houndci/received_events","type":"User","site_admin":false},"body":"Use the new Ruby 1.9 hash syntax.","created_at":"2014-06-05T13:09:36Z","updated_at":"2014-06-05T13:09:36Z","html_url":"https://github.com/openSUSE/osem/pull/205#discussion_r13437944","pull_request_url":"https://api.github.com/repos/openSUSE/osem/pulls/205","_links":{"self":{"href":"https://api.github.com/repos/openSUSE/osem/pulls/comments/13437944"},"html":{"href":"https://github.com/openSUSE/osem/pull/205#discussion_r13437944"},"pull_request":{"href":"https://api.github.com/repos/openSUSE/osem/pulls/205"}}}}