Rakefile in parallel_tests-0.7.0 vs Rakefile in parallel_tests-0.7.1

- old
+ new

@@ -6,10 +6,10 @@ # extracted from https://github.com/grosser/project_template rule /^version:bump:.*/ do |t| sh "git status | grep 'nothing to commit'" # ensure we are not dirty index = ['major', 'minor','patch'].index(t.name.split(':').last) - file = 'lib/GEM_NAME/version.rb' + file = 'lib/parallel_tests/version.rb' version_file = File.read(file) old_version, *version_parts = version_file.match(/(\d+)\.(\d+)\.(\d+)/).to_a version_parts[index] = version_parts[index].to_i + 1 version_parts[2] = 0 if index < 2 # remove patch for minor