Sha256: 55747667d79236f23a2bdeaf72bd7cfb1f240f2d2de437a24eb8482657080e99

Contents?: true

Size: 798 Bytes

Versions: 2

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 -%>
require "<%= config[:gem_name] %>"
<%- if config[:pry] -%>
require "pry"
require "pry-remote"
require "pry-rescue"
<%- end -%>

<%- if config[:pry] -%>
case Gem.ruby_engine
  when "ruby"
    require "pry-byebug"
    require "pry-stack_explorer"
  when "jruby"
    require "pry-nav"
  when "rbx"
    require "pry-nav"
    require "pry-stack_explorer"
end
<%- end -%>

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

RSpec.configure do |config|
  # NOTE: Add <%= config[:gem_class] %> specific configuration here. For the common configuration, see the "support/kit" folder.
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
gemsmith-4.3.0 lib/gemsmith/templates/%gem_name%/spec/spec_helper.rb.tt
gemsmith-4.2.0 lib/gemsmith/templates/%gem_name%/spec/spec_helper.rb.tt