Sha256: e376584fa92c71049052fd0a3979f129ef4589ba0219d96f71842d1c1c0d26df

Contents?: true

Size: 486 Bytes

Versions: 8

Compression:

Stored size: 486 Bytes

Contents

true_values = %w{ true t 1 }
if true_values.include?(ENV["COVERAGE"].to_s.downcase) and true_values.include?(ENV['ACCEPTANCE_TEST'].to_s.downcase)
  require 'simplecov'
  require 'simplecov-rcov'
  SimpleCov.formatter = SimpleCov::Formatter::RcovFormatter
  SimpleCov.command_name(ENV['COMMAND_NAME'] || 'Cucumber')
  SimpleCov.merge_timeout(Closer.config.merge_timeout)
  SimpleCov.start 'rails'
end

module Closer
  module Rails
    class Railtie < ::Rails::Railtie
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
closer-0.3.0 lib/closer/rails/railtie.rb
closer-0.2.2 lib/closer/rails/railtie.rb
closer-0.2.1 lib/closer/rails/railtie.rb
closer-0.2.0 lib/closer/rails/railtie.rb
closer-0.1.6 lib/closer/rails/railtie.rb
closer-0.1.5 lib/closer/rails/railtie.rb
closer-0.1.4 lib/closer/rails/railtie.rb
closer-0.1.3 lib/closer/rails/railtie.rb