Sha256: b29d99f8dc36f3a500fec8f7fa6b9ca12923acc40838764234b67fed8e65d364

Contents?: true

Size: 619 Bytes

Versions: 4

Compression:

Stored size: 619 Bytes

Contents

######################################################################
#                              DB CHECKS                             #
######################################################################
Capistrano::Configuration.instance(:must_exist).load do
  namespace :capabilities do
    namespace :check do
      desc <<-DESC
        [internal] Checks to see if all necessary DB capabilities variables have been set up.
      DESC
      task :db do
        required_variables = [
          :skip_backup_before_migration
        ]

        verify_variables(required_variables)
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
chicken_soup-0.4.1 lib/chicken_soup/capabilities/shared/db-checks.rb
chicken_soup-0.4.0 lib/chicken_soup/capabilities/shared/db-checks.rb
chicken_soup-0.3.0 lib/chicken_soup/capabilities/shared/db-checks.rb
chicken_soup-0.2.0 lib/chicken_soup/capabilities/shared/db-checks.rb