Rakefile in git-branch--stray-1.2.0 vs Rakefile in git-branch--stray-1.3.0
- old
+ new
@@ -6,11 +6,11 @@
task :validate_gemspec do
Bundler.load_gemspec('git-branch--stray.gemspec').validate
end
task :version => :validate_gemspec do
- puts Git::Branch::Stray::VERSION
+ puts Git::Branch::Stray.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]
task :documentation
Rake::Task['build'].enhance([:default, :documentation])