Sha256: 8d9d5667ea4d197d7d0aae47a98d5be4508b42946dea3aa873e37db015faf839

Contents?: true

Size: 754 Bytes

Versions: 10

Compression:

Stored size: 754 Bytes

Contents

require 'rubygems'
require 'spec'

$: << File.expand_path(File.join(File.dirname(__FILE__),"..","lib"))
$: << File.expand_path(File.join(File.dirname(__FILE__),"..","ext"))

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

10 entries across 10 versions & 1 rubygems

Version Path
amalgalite-0.10.0-x86-mswin32-60 spec/spec_helper.rb
amalgalite-0.10.0 spec/spec_helper.rb
amalgalite-0.7.6-x86-mswin32-60 spec/spec_helper.rb
amalgalite-0.7.7 spec/spec_helper.rb
amalgalite-0.7.6 spec/spec_helper.rb
amalgalite-0.7.7-x86-mswin32-60 spec/spec_helper.rb
amalgalite-0.9.0-x86-mswin32-60 spec/spec_helper.rb
amalgalite-0.8.0-x86-mswin32-60 spec/spec_helper.rb
amalgalite-0.8.0 spec/spec_helper.rb
amalgalite-0.9.0 spec/spec_helper.rb