Sha256: 1deb1200c803a1634f2feada00db182070cff6b88523060b7dc3291a7087337f

Contents?: true

Size: 313 Bytes

Versions: 47

Compression:

Stored size: 313 Bytes

Contents

Capistrano::Configuration.instance(:must_exist).load do
  define_recipe :stages do |*stages|
    
    set :stages, stages.flatten unless exists?(:stages) && !stages.empty?
    
    unless exists?(:default_stage)
      set :default_stage,     :staging
    end
    
    require 'capistrano/ext/multistage'
  end
end

Version data entries

47 entries across 47 versions & 2 rubygems

Version Path
factorylabs-fdlcap-0.3.0 lib/fdlcap/recipes/stages.rb
factorylabs-fdlcap-0.3.1 lib/fdlcap/recipes/stages.rb
factorylabs-fdlcap-0.3.10 lib/fdlcap/recipes/stages.rb
factorylabs-fdlcap-0.3.11 lib/fdlcap/recipes/stages.rb
factorylabs-fdlcap-0.3.15 lib/fdlcap/recipes/stages.rb
factorylabs-fdlcap-0.3.16 lib/fdlcap/recipes/stages.rb
factorylabs-fdlcap-0.3.17 lib/fdlcap/recipes/stages.rb
factorylabs-fdlcap-0.3.18 lib/fdlcap/recipes/stages.rb
factorylabs-fdlcap-0.3.19 lib/fdlcap/recipes/stages.rb
factorylabs-fdlcap-0.3.2 lib/fdlcap/recipes/stages.rb
factorylabs-fdlcap-0.3.20 lib/fdlcap/recipes/stages.rb
factorylabs-fdlcap-0.3.21 lib/fdlcap/recipes/stages.rb
factorylabs-fdlcap-0.3.23 lib/fdlcap/recipes/stages.rb
factorylabs-fdlcap-0.3.24 lib/fdlcap/recipes/stages.rb
factorylabs-fdlcap-0.3.25 lib/fdlcap/recipes/stages.rb
factorylabs-fdlcap-0.3.26 lib/fdlcap/recipes/stages.rb
factorylabs-fdlcap-0.3.27 lib/fdlcap/recipes/stages.rb
factorylabs-fdlcap-0.3.28 lib/fdlcap/recipes/stages.rb
factorylabs-fdlcap-0.3.3 lib/fdlcap/recipes/stages.rb
factorylabs-fdlcap-0.3.4 lib/fdlcap/recipes/stages.rb