Sha256: 60bf95e10aa17291cfcb043ff29a00cd2117114abd9942125fe97d6a30b34b1c
Contents?: true
Size: 531 Bytes
Versions: 1
Compression:
Stored size: 531 Bytes
Contents
if ENV['COVERAGE'] || ENV['TRAVIS'] require 'simplecov' require 'coveralls' SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter[ SimpleCov::Formatter::HTMLFormatter, Coveralls::SimpleCov::Formatter ] SimpleCov.start do add_filter '/vendor/' add_filter '/spec/' end end $LOAD_PATH.unshift File.expand_path('../../lib', __FILE__) require 'sperm' # Some helpers for Enumerable. # module Enumerable def permutation? sort.to_a == (0...count).to_a end def empty? count == 0 end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
sperm-0.1.1 | spec/spec_helper.rb |