Sha256: 51717ed4f753e3515129e5edfb37380007a810d801f56dd295703743a0af7d6e

Contents?: true

Size: 677 Bytes

Versions: 2

Compression:

Stored size: 677 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 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 File.dirname(__FILE__) + "/../lib/lazier"

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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
lazier-4.2.2 spec/spec_helper.rb
lazier-4.2.1 spec/spec_helper.rb