Sha256: d0fe7388c3c3e3ba9475f52fdd771e228e09f7ac8474d7c1f880ecda4b7697b7

Contents?: true

Size: 685 Bytes

Versions: 12

Compression:

Stored size: 685 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

12 entries across 12 versions & 1 rubygems

Version Path
amalgalite-0.12.0-x86-mingw32 spec/spec_helper.rb
amalgalite-0.12.0 spec/spec_helper.rb
amalgalite-0.12.0-x86-mswin32 spec/spec_helper.rb
amalgalite-0.11.0-x86-mswin32 spec/spec_helper.rb
amalgalite-0.11.0-x86-mingw32 spec/spec_helper.rb
amalgalite-0.10.2-x86-mswin32 spec/spec_helper.rb
amalgalite-0.10.2-x86-mingw32 spec/spec_helper.rb
amalgalite-0.10.1-x86-mswin32 spec/spec_helper.rb
amalgalite-0.10.1-x86-mingw32 spec/spec_helper.rb
amalgalite-0.11.0 spec/spec_helper.rb
amalgalite-0.10.2 spec/spec_helper.rb
amalgalite-0.10.1 spec/spec_helper.rb