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