Sha256: b64ae53a2b18901b361816b0b52b7f06bebed90778b944498b8ae75b644ca7e9

Contents?: true

Size: 706 Bytes

Versions: 2

Compression:

Stored size: 706 Bytes

Contents

# encoding: utf-8
#
# This file is part of the bovem gem. Copyright (C) 2013 and above Shogun <shogun@cowtech.it>.
# Licensed under the MIT license, which can be found at http://www.opensource.org/licenses/mit-license.php.
#

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 "i18n"
::I18n.enforce_available_locales = false
require File.dirname(__FILE__) + "/../lib/bovem"
Lazier::I18n.default_locale = :en

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
bovem-4.0.1 spec/spec_helper.rb
bovem-4.0.0 spec/spec_helper.rb