Class: DPL::Provider::Cargo
- Inherits:
-
DPL::Provider
- Object
- DPL::Provider
- DPL::Provider::Cargo
- Defined in:
- lib/dpl/provider/cargo.rb
Instance Method Summary collapse
Instance Method Details
#check_auth ⇒ Object
11 12 13 |
# File 'lib/dpl/provider/cargo.rb', line 11 def check_auth option(:token) end |
#needs_key? ⇒ Boolean
7 8 9 |
# File 'lib/dpl/provider/cargo.rb', line 7 def needs_key? false end |
#push_app ⇒ Object
15 16 17 18 19 |
# File 'lib/dpl/provider/cargo.rb', line 15 def push_app if ! context.shell "cargo publish --token #{option(:token)}" raise Error, "Publish failed" end end |