Sha256: a7bff2c78d0511ecd3c2d2965dbf749cb15a97cbf6c8ddf46fa37d2c2b8b4fcc

Contents?: true

Size: 666 Bytes

Versions: 3

Compression:

Stored size: 666 Bytes

Contents

#
# This file is part of the lazier gem. Copyright (C) 2013 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 File.dirname(__FILE__) + "/../lib/lazier"

::I18n.enforce_available_locales = false
Lazier::I18n.default_locale = :en

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
lazier-4.2.9 spec/spec_helper.rb
lazier-4.2.8 spec/spec_helper.rb
lazier-4.2.3 spec/spec_helper.rb