Sha256: 582102803e968811791aa152fa1a87db0baec83354fb28420a51590031ec20e0
Contents?: true
Size: 535 Bytes
Versions: 1
Compression:
Stored size: 535 Bytes
Contents
require 'rubygems' require 'coveralls' Coveralls.wear! require 'rspec' require File.dirname(__FILE__) + '/../lib/tf-idf-similarity' MATRIX_LIBRARY = (ENV['MATRIX_LIBRARY'] || :matrix).to_sym puts "\n==> Running specs with #{MATRIX_LIBRARY}" case MATRIX_LIBRARY when :gsl require 'gsl' when :narray require 'narray' when :nmatrix require 'nmatrix' else require 'matrix' end RSpec.configure do |c| if MATRIX_LIBRARY == :gsl # GSL can't initialize an empty matrix c.filter_run_excluding :empty_matrix => true end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
tf-idf-similarity-0.1.4 | spec/spec_helper.rb |