Sha256: 34531a4189e3b788d5ad0afbc204c7223b9f08ee0af9be7409135673675801ce
Contents?: true
Size: 413 Bytes
Versions: 3
Compression:
Stored size: 413 Bytes
Contents
module Snowglobe module DatabaseAdapters class PostgreSQL def self.name :postgresql end attr_reader :database def initialize(database) @database = database end def adapter self.class.name end def require_dependencies require "pg" end end DatabaseConfigurationRegistry.instance.register(PostgreSQL) end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
snowglobe-0.3.0 | lib/snowglobe/database_adapters/postgresql.rb |
snowglobe-0.2.0 | lib/snowglobe/database_adapters/postgresql.rb |
snowglobe-0.1.0 | lib/snowglobe/database_adapters/postgresql.rb |