Sha256: 2c0b4341bd1ad17b5f3669db593ab40dabeeca367091661679c0e46617389dbf

Contents?: true

Size: 636 Bytes

Versions: 8

Compression:

Stored size: 636 Bytes

Contents

# frozen_string_literal: true

require "bundler/setup"

<%- if config.dig(:create, :code_climate) -%>
if ENV["CI"]
  require "codeclimate-test-reporter"
  CodeClimate::TestReporter.start
end

<%- end -%>
<%- if config.dig(:create, :rails) -%>
ENV["RAILS_ENV"] ||= "test"
require File.expand_path "../dummy/config/environment", __FILE__
ENV["RAILS_ROOT"] ||= File.dirname(__FILE__) + "/dummy"

<%- end -%>
require "<%= config.dig(:gem, :name) %>"

Dir[File.join(File.dirname(__FILE__), "support/extensions/**/*.rb")].each { |file| require file }
Dir[File.join(File.dirname(__FILE__), "support/kit/**/*.rb")].each { |file| require file }

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
gemsmith-7.7.0 lib/gemsmith/templates/%gem_name%/spec/spec_helper.rb.tt
gemsmith-7.6.0 lib/gemsmith/templates/%gem_name%/spec/spec_helper.rb.tt
gemsmith-7.5.0 lib/gemsmith/templates/%gem_name%/spec/spec_helper.rb.tt
gemsmith-7.4.0 lib/gemsmith/templates/%gem_name%/spec/spec_helper.rb.tt
gemsmith-7.3.0 lib/gemsmith/templates/%gem_name%/spec/spec_helper.rb.tt
gemsmith-7.2.0 lib/gemsmith/templates/%gem_name%/spec/spec_helper.rb.tt
gemsmith-7.1.0 lib/gemsmith/templates/%gem_name%/spec/spec_helper.rb.tt
gemsmith-7.0.0 lib/gemsmith/templates/%gem_name%/spec/spec_helper.rb.tt