Sha256: a92c2b856dc22fb54f030e0a2c7b609dccfed8b9a9086770b52445e689e802bc

Contents?: true

Size: 406 Bytes

Versions: 3

Compression:

Stored size: 406 Bytes

Contents

module Snowglobe
  module DatabaseAdapters
    class SQLite3
      def self.name
        :sqlite3
      end

      def initialize(_database)
      end

      def adapter
        self.class.name
      end

      def database
        "db/db.sqlite3"
      end

      def require_dependencies
        require "sqlite3"
      end
    end

    DatabaseConfigurationRegistry.instance.register(SQLite3)
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
snowglobe-0.3.0 lib/snowglobe/database_adapters/sqlite3.rb
snowglobe-0.2.0 lib/snowglobe/database_adapters/sqlite3.rb
snowglobe-0.1.0 lib/snowglobe/database_adapters/sqlite3.rb