Sha256: 37a713c6d906eb6ff1ceaa7b3424f98472acd173ff971c8d948e136b6d15c25c

Contents?: true

Size: 723 Bytes

Versions: 2

Compression:

Stored size: 723 Bytes

Contents

#
# This file is part of the apes gem. Copyright (C) 2016 and above Shogun <shogun@cowtech.it>.
# Licensed under the MIT license, which can be found at https://choosealicense.com/licenses/mit.
#

require "bundler/setup"

if ENV["COVERAGE"]
  require "simplecov"
  require "coveralls"

  Coveralls.wear! if ENV["CI"]

  SimpleCov.start do
    root = Pathname.new(File.dirname(__FILE__)) + ".."

    add_filter do |src_file|
      path = Pathname.new(src_file.filename).relative_path_from(root).to_s
      path !~ /^lib/
    end
  end
end

require "active_record"
require "lazier"
::I18n.enforce_available_locales = false
Lazier::I18n.default_locale = :en

require File.dirname(__FILE__) + "/../lib/apes"
Lazier.load!(:hash)

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
apes-1.0.3 spec/spec_helper.rb
apes-1.0.2 spec/spec_helper.rb