lib/gemsmith/templates/%gem_name%/.travis.yml.tt in gemsmith-6.2.0 vs lib/gemsmith/templates/%gem_name%/.travis.yml.tt in gemsmith-7.0.0
- old
+ new
@@ -1,10 +1,10 @@
language: ruby
rvm:
- - <%= config.fetch(:versions).fetch(:ruby) %>
-<%- if config.fetch(:create).fetch(:rails) -%>
+ - <%= config.dig(:versions, :ruby) %>
+<%- if config.dig(:create, :rails) -%>
gemfile:
- - gemfiles/rails-<%= config.fetch(:versions).fetch(:rails) %>.x.gemfile
+ - gemfiles/rails-<%= config.dig(:versions, :rails) %>.x.gemfile
<%- end -%>
script: bundle exec rake
notifications:
email: false