Sha256: 66f7448e24d65b93c5daaed8507a119b332ba2f164e80dfbb74342cd42719a34
Contents?: true
Size: 683 Bytes
Versions: 14
Compression:
Stored size: 683 Bytes
Contents
require 'rubygems' require 'spec' $: << File.expand_path(File.join(File.dirname(__FILE__),"..","lib")) require 'amalgalite' class SpecInfo class << self def test_db @test_db ||= File.expand_path(File.join(File.dirname(__FILE__), "test.db")) end def test_schema_file @test_schema_file ||= File.expand_path(File.join(File.dirname(__FILE__),"iso-3166-schema.sql")) end def make_iso_db @iso_db ||= File.expand_path(File.join(File.dirname(__FILE__), "iso-3166.db")) @new_is_db = File.expand_path(File.join(File.dirname(__FILE__), "iso-3166-testing.db")) FileUtils.cp @iso_db, @new_is_db return @new_is_db end end end
Version data entries
14 entries across 14 versions & 1 rubygems