Sha256: 4e6b0325a33502d91ae02367a70e4f71498018a441bef151d776b618ac907f50
Contents?: true
Size: 497 Bytes
Versions: 119
Compression:
Stored size: 497 Bytes
Contents
module DPL class Provider class Divshot < Provider npm_g 'divshot-cli', 'divshot' def check_auth raise Error, "must supply an api key" unless option(:api_key) end def check_app error "missing divshot.json" unless File.exist? "divshot.json" end def needs_key? false end def push_app context.shell "divshot push #{options[:environment] || "production"} --token #{option(:api_key)}" end end end end
Version data entries
119 entries across 119 versions & 1 rubygems