Sha256: 5053a8a6bc30d846ce38a4a0a54d847017a12305e56af720f6510cde6c32d5ee

Contents?: true

Size: 1 KB

Versions: 114

Compression:

Stored size: 1 KB

Contents

# Copyright 2006-2009 by Mike Bailey. All rights reserved.
Capistrano::Configuration.instance(:must_exist).load do 
  namespace :deprec do 
    namespace :sqlite do

      desc "Install sqlite"
      task :install, :roles => :db do
        install_deps
        gem2.install "sqlite3-ruby"
      end

      # install dependencies for nginx
      task :install_deps, :roles => :db do
        apt.install( {:base => %w(sqlite3 libsqlite3-ruby libsqlite3-dev)}, :stable )
      end
    end
    
    desc "Create a PostgreSQL user"
    task :create_user do
      # Not needed for sqlite
      # We need these stubs for deprec:rails:setup_database
    end
    
    desc "Create a PostgreSQL Database" 
    task :create_database do
      # Not needed for sqlite
      # We need these stubs for deprec:rails:setup_database
    end
    
    desc "Grant user access to Database" 
    task :grant_user_access_to_database do
      # Not needed for sqlite
      # We need these stubs for deprec:rails:setup_database
    end
    
  end
end

Version data entries

114 entries across 114 versions & 3 rubygems

Version Path
deprec-2.0.15 lib/deprec/recipes/db/sqlite.rb
deprec-2.0.11 lib/deprec/recipes/db/sqlite.rb
deprec-2.0.13 lib/deprec/recipes/db/sqlite.rb
deprec-2.0.10 lib/deprec/recipes/db/sqlite.rb
deprec-2.0.0 lib/deprec/recipes/db/sqlite.rb
deprec-2.0.1 lib/deprec/recipes/db/sqlite.rb
deprec-2.0.5 lib/deprec/recipes/db/sqlite.rb
deprec-2.0.4 lib/deprec/recipes/db/sqlite.rb
deprec-2.0.3 lib/deprec/recipes/db/sqlite.rb
deprec-2.0.2 lib/deprec/recipes/db/sqlite.rb
deprec-2.0.8 lib/deprec/recipes/db/sqlite.rb
deprec-2.0.9 lib/deprec/recipes/db/sqlite.rb
deprec-2.0.7 lib/deprec/recipes/db/sqlite.rb
deprec-2.0.6 lib/deprec/recipes/db/sqlite.rb