Module: Capistrano::Dummy::DefaultStrategy

Defined in:
lib/capistrano/dummy.rb

Overview

The Capistrano default strategy for dummy. You should want to use this.

Instance Method Summary collapse

Instance Method Details

#checkObject



17
18
19
# File 'lib/capistrano/dummy.rb', line 17

def check
  context.execute '/bin/true'
end

#cloneObject



21
22
23
# File 'lib/capistrano/dummy.rb', line 21

def clone
  true
end

#fetch_revisionObject



33
34
35
# File 'lib/capistrano/dummy.rb', line 33

def fetch_revision
  fetch(:branch)
end

#releaseObject



29
30
31
# File 'lib/capistrano/dummy.rb', line 29

def release
  true
end

#testObject



13
14
15
# File 'lib/capistrano/dummy.rb', line 13

def test
  true
end

#updateObject



25
26
27
# File 'lib/capistrano/dummy.rb', line 25

def update
  true
end