lib/gemsmith/templates/%gem_name%/spec/spec_helper.rb.tt in gemsmith-5.0.0 vs lib/gemsmith/templates/%gem_name%/spec/spec_helper.rb.tt in gemsmith-5.1.0
- old
+ new
@@ -6,21 +6,13 @@
end
<%- end -%>
require "<%= config[:gem_name] %>"
<%- if config[:pry] -%>
require "pry"
+require "pry-byebug"
+require "pry-stack_explorer"
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"
-end
<%- 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.