Sha256: 75d70462601b3f75fdd729e24c621ee367162d797ba72cc7f8e61ec846ff5968

Contents?: true

Size: 798 Bytes

Versions: 3

Compression:

Stored size: 798 Bytes

Contents

require "bundler/setup"

<%- if config[:code_climate] -%>
if ENV["CODECLIMATE_REPO_TOKEN"]
  require "codeclimate-test-reporter"
  CodeClimate::TestReporter.start
end

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

<%- end -%>
require "<%= config[:gem_name] %>"
<%- if config[:pry] -%>
require "pry"
require "pry-byebug"
require "pry-state"
require "pry-stack_explorer"
require "pry-remote"
require "pry-rescue"
<%- end -%>

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

# Uncomment to add a custom configuration. For the default configuration, see the "support/kit" folder.
# RSpec.configure do |config|
# end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
gemsmith-5.6.0 lib/gemsmith/templates/%gem_name%/spec/spec_helper.rb.tt
gemsmith-5.5.0 lib/gemsmith/templates/%gem_name%/spec/spec_helper.rb.tt
gemsmith-5.4.0 lib/gemsmith/templates/%gem_name%/spec/spec_helper.rb.tt