Rakefile in git-multi-2.5.0 vs Rakefile in git-multi-2.6.0
- old
+ new
@@ -6,11 +6,11 @@
task :validate_gemspec do
Bundler.load_gemspec('git-multi.gemspec').validate
end
task :version => :validate_gemspec do
- puts Git::Multi::VERSION
+ puts Git::Multi.version
end
require 'rubocop/rake_task'
RuboCop::RakeTask.new(:rubocop)
@@ -21,10 +21,10 @@
t.libs << 'test'
t.libs << 'lib'
t.test_files = FileList['test/**/*_test.rb']
end
-task :default => [:rubocop, :test]
+task :default => [:version, :rubocop, :test]
require 'git/multi'
git_workarea = File.join(Git::Multi::WORKAREA, 'git', 'git')
documentation = File.join(git_workarea, 'Documentation')