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

Version Path
amalgalite-0.1.0 spec/spec_helper.rb
amalgalite-0.2.0 spec/spec_helper.rb
amalgalite-0.2.2 spec/spec_helper.rb
amalgalite-0.2.3 spec/spec_helper.rb
amalgalite-0.2.1 spec/spec_helper.rb
amalgalite-0.2.4 spec/spec_helper.rb
amalgalite-0.4.0 spec/spec_helper.rb
amalgalite-0.5.0-x86-mswin32-60 spec/spec_helper.rb
amalgalite-0.4.2 spec/spec_helper.rb
amalgalite-0.4.2-x86-mswin32-60 spec/spec_helper.rb
amalgalite-0.4.1 spec/spec_helper.rb
amalgalite-0.5.0 spec/spec_helper.rb
amalgalite-0.5.1-x86-mswin32-60 spec/spec_helper.rb
amalgalite-0.5.1 spec/spec_helper.rb