Rakefile in increments-schedule-0.8.0 vs Rakefile in increments-schedule-0.9.0
- old
+ new
@@ -39,6 +39,9 @@
readme = File.read('README.md.erb')
erb = ERB.new(readme, nil, '-')
erb.result(binding)
end
-task ci: %w(spec rubocop readme:validate)
+ci_tasks = %w(spec rubocop)
+# For some reason MRI 2.3 returns the method list with different order.
+ci_tasks << 'readme:validate' if RUBY_VERSION.start_with?('2.2.')
+task ci: ci_tasks