Sha256: 8cd41a1403f20889f1c932e61f30b28a0be431fb3fb9271f36890e1bb8dd8766

Contents?: true

Size: 629 Bytes

Versions: 3

Compression:

Stored size: 629 Bytes

Contents

require "bundler/setup"

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

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

<%- end -%>
require "<%= config.fetch(:gem).fetch(: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

3 entries across 3 versions & 1 rubygems

Version Path
gemsmith-6.2.0 lib/gemsmith/templates/%gem_name%/spec/spec_helper.rb.tt
gemsmith-6.1.0 lib/gemsmith/templates/%gem_name%/spec/spec_helper.rb.tt
gemsmith-6.0.0 lib/gemsmith/templates/%gem_name%/spec/spec_helper.rb.tt