<NME> check_open_pulls_job.rb
<BEF> class CheckOpenPullsJob
  # Allow most specs to disable this
  cattr_accessor :enabled
  self.enabled = true

  def initialize(options)
    @owner = options[:owner]
    @user_name = options[:user_name]
    @repo_name = options[:repo_name]
  end

  def run
    return true if !self.enabled

    pull_request_commit_groups.each do |commit_group|
      commit_group.check_and_update
    end
  end

  private

  def pull_request_commit_groups
    pull_mashes.map do |pull_mash|
      commit_group = CommitGroup.new(@user_name, @repo_name)
      commit_group.fetch_from_pull_request(pull_mash.number)

      commit_group
    end
  end

          name: @repo_name
        },
        commits: commit_mashes.map { |mash|
          {
            author: { username: mash.author.login },
            id: mash.sha
          }.tap do |commit_hash|
            if mash.committer
              commit_hash[:committer] = { username: mash.committer.login }
            end
          end
        }
      }.to_json)
    end

<MSG> Handle commits without authors for #56

<DFF> @@ -31,14 +31,11 @@ class CheckOpenPullsJob
           name: @repo_name
         },
         commits: commit_mashes.map { |mash|
-          {
-            author: { username: mash.author.login },
-            id: mash.sha
-          }.tap do |commit_hash|
-            if mash.committer
-              commit_hash[:committer] = { username: mash.committer.login }
-            end
-          end
+          # TODO: Add test case for no author only committer on this phase
+          commit_hash = { id: mash.sha }
+          commit_hash[:author] = { username: mash.author.login } if mash.author
+          commit_hash[:committer] = { username: mash.committer.login } if mash.committer
+          commit_hash
         }
       }.to_json)
     end

Handle commits without authors for #56