Sha256: 145db8ed02990c03ad32bc54cf1169a8a4d6d048ada51e1642a726a8cbe6a7ca

Contents?: true

Size: 507 Bytes

Versions: 14

Compression:

Stored size: 507 Bytes

Contents

require 'rbconfig'

module TinyTds
  module Gem
    class << self
      def root_path
        File.expand_path '../../..', __FILE__
      end

      def ports_root_path
        File.join(root_path,'ports')
      end

      def ports_bin_paths
        Dir.glob(File.join(ports_root_path,ports_host,'**','bin'))
      end

      def ports_lib_paths
        Dir.glob(File.join(ports_root_path,ports_host,'**','lib'))
      end

      def ports_host
        RbConfig::CONFIG["arch"]
      end
    end
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
tiny_tds-3.1.0-x64-mingw-ucrt lib/tiny_tds/gem.rb
tiny_tds-3.1.0-x64-mingw32 lib/tiny_tds/gem.rb
tiny_tds-3.1.0 lib/tiny_tds/gem.rb
tiny_tds-3.0.0-x64-mingw32 lib/tiny_tds/gem.rb
tiny_tds-3.0.0-x64-mingw-ucrt lib/tiny_tds/gem.rb
tiny_tds-3.0.0 lib/tiny_tds/gem.rb
tiny_tds-2.1.7-x64-mingw-ucrt lib/tiny_tds/gem.rb
tiny_tds-2.1.7-x64-mingw32 lib/tiny_tds/gem.rb
tiny_tds-2.1.7-x86-mingw32 lib/tiny_tds/gem.rb
tiny_tds-2.1.7 lib/tiny_tds/gem.rb
tiny_tds-2.1.6-x86-mingw32 lib/tiny_tds/gem.rb
tiny_tds-2.1.6-x64-mingw-ucrt lib/tiny_tds/gem.rb
tiny_tds-2.1.6-x64-mingw32 lib/tiny_tds/gem.rb
tiny_tds-2.1.6 lib/tiny_tds/gem.rb