lib/rubysmith/templates/%project_name%/Gemfile.erb in rubysmith-0.8.0 vs lib/rubysmith/templates/%project_name%/Gemfile.erb in rubysmith-0.9.0
- old
+ new
@@ -1,5 +1,7 @@
+ruby File.read(".ruby-version").strip
+
source "https://rubygems.org"
<% unless realm.build_minimum %>
<% if realm.build_refinements %>
gem "refinements", "~> 8.0"
@@ -17,10 +19,10 @@
<% end %>
<% if realm.build_reek %>
gem "reek", "~> 6.0"
<% end %>
<% if realm.build_rubocop %>
- gem "rubocop", "~> 1.5"
+ gem "rubocop", "~> 1.8"
gem "rubocop-performance", "~> 1.9"
gem "rubocop-rake", "~> 0.5"
<% end %>
<% if realm.build_rspec && realm.build_rubocop %>
gem "rubocop-rspec", "~> 2.0"