Sha256: 9bea94fb3c909f1881d3b29d01d6b290c8ef97a210845f0fba201f581eb35e80

Contents?: true

Size: 240 Bytes

Versions: 10

Compression:

Stored size: 240 Bytes

Contents

module Shipit
  class CreateReleaseStatusesJob < BackgroundJob
    include BackgroundJob::Unique

    queue_as :default

    def perform(commit)
      commit.release_statuses.to_be_created.each(&:create_status_on_github!)
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
shipit-engine-0.31.0 app/jobs/shipit/create_release_statuses_job.rb
shipit-engine-0.30.0 app/jobs/shipit/create_release_statuses_job.rb
shipit-engine-0.29.0 app/jobs/shipit/create_release_statuses_job.rb
shipit-engine-0.28.1 app/jobs/shipit/create_release_statuses_job.rb
shipit-engine-0.28.0 app/jobs/shipit/create_release_statuses_job.rb
shipit-engine-0.27.1 app/jobs/shipit/create_release_statuses_job.rb
shipit-engine-0.27.0 app/jobs/shipit/create_release_statuses_job.rb
shipit-engine-0.26.0 app/jobs/shipit/create_release_statuses_job.rb
shipit-engine-0.25.1 app/jobs/shipit/create_release_statuses_job.rb
shipit-engine-0.25.0 app/jobs/shipit/create_release_statuses_job.rb