Sha256: cb2b76458e05a254d3f2b7aba67ce036d6c9408bc10700d9ca10f6826aaeeb04
Contents?: true
Size: 524 Bytes
Versions: 8
Compression:
Stored size: 524 Bytes
Contents
# coding: utf-8 require File.dirname(__FILE__) + '/github/pull_request' require File.dirname(__FILE__) + '/github/statuses' module Status class Base attr_reader :qa_status def initialize(qa_status="pending") @qa_status = qa_status @statuses = Status::Github::Statuses.new(qa_status) end def update puts "Updating..." pull = Status::Github::PullRequest.new pull.create_pull_request unless pull.pull_request_found? @statuses.request puts "Done." end end end
Version data entries
8 entries across 8 versions & 1 rubygems