Sha256: 9185f1fece71f466da1603aec124f449ab60d382eb5c3b3303803b0e30455639
Contents?: true
Size: 578 Bytes
Versions: 6
Compression:
Stored size: 578 Bytes
Contents
module Doggy class CLI::Push attr_reader :options, :ids def initialize(options, ids) @options = options @ids = ids end def run begin if ids.any? Doggy::Dash.upload(ids) Doggy::Monitor.upload(ids) Doggy::Screen.upload(ids) else Doggy::Dash.upload_all Doggy::Monitor.upload_all Doggy::Screen.upload_all Doggy.emit_shipit_deployment if ENV['SHIPIT'] end rescue DoggyError puts "Push failed." exit 1 end end end end
Version data entries
6 entries across 6 versions & 1 rubygems