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
- #check ⇒ Object
- #clone ⇒ Object
- #fetch_revision ⇒ Object
- #release ⇒ Object
- #test ⇒ Object
- #update ⇒ Object
Instance Method Details
#check ⇒ Object
17 18 19 |
# File 'lib/capistrano/dummy.rb', line 17 def check context.execute '/bin/true' end |
#clone ⇒ Object
21 22 23 |
# File 'lib/capistrano/dummy.rb', line 21 def clone true end |
#fetch_revision ⇒ Object
33 34 35 |
# File 'lib/capistrano/dummy.rb', line 33 def fetch_revision fetch(:branch) end |
#release ⇒ Object
29 30 31 |
# File 'lib/capistrano/dummy.rb', line 29 def release true end |
#test ⇒ Object
13 14 15 |
# File 'lib/capistrano/dummy.rb', line 13 def test true end |
#update ⇒ Object
25 26 27 |
# File 'lib/capistrano/dummy.rb', line 25 def update true end |