Sha256: 7eb79ffb74d4a310b23eec2c4b7d223a11315a3b6c7f85c9a82122351dec1278

Contents?: true

Size: 565 Bytes

Versions: 5

Compression:

Stored size: 565 Bytes

Contents

$LOAD_PATH.unshift File.expand_path('../../lib', __FILE__)
require 'alf'
require "rspec"

Alf::Lispy.extend(Alf::Lispy)

def _(path, file)
  File.expand_path("../#{path}", file)
end

def wlang(str, binding)
  str.gsub(/\$\(([\S]+)\)/){ Kernel.eval($1, binding) }
end

require 'shared/an_operator_class'
require 'shared/a_valid_type_implementation'
require 'shared/a_value'

RSpec.configure do |config|
  config.treat_symbols_as_metadata_keys_with_true_values = true
  config.filter_run :hash_ordering => lambda{|val|
    not(val) or (RUBY_VERSION >= "1.9")
  }
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
alf-0.12.2 spec/spec_helper.rb
alf-0.12.1 spec/spec_helper.rb
alf-0.12.0 spec/spec_helper.rb
alf-0.11.1 spec/spec_helper.rb
alf-0.11.0 spec/spec_helper.rb