Sha256: ce5bf34e4150baaaa6097a276612a261130963871c2ce54c0b62e7fff0e9caa6
Contents?: true
Size: 379 Bytes
Versions: 2
Compression:
Stored size: 379 Bytes
Contents
class Baza::InfoSqlite3 attr_reader :db def initialize(args = {}) require "sqlite3" unless RUBY_ENGINE == "jruby" @db = Baza::Db.new({ type: :sqlite3, path: "#{Dir.tmpdir}/#{SecureRandom.hex(8)}.sqlite3", index_append_table_name: true, sql_to_error: true, debug: false }.merge(args)) end def before; end def after; end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
baza-0.0.38 | spec/info_sqlite3.rb |
baza-0.0.37 | spec/info_sqlite3.rb |