Rakefile in blavosync-0.4.0 vs Rakefile in blavosync-0.4.1
- old
+ new
@@ -1,9 +1,9 @@
require 'rubygems'
require 'rake'
-begin
+# begin
require 'jeweler'
Jeweler::Tasks.new do |gem|
gem.name = "blavosync"
gem.summary = %Q{Sync a remote db and rsync content to your development environment.}
gem.description = %Q{Sync a remote db and rsync content to your development environment. Useful for small teams and developers who are not able to do this manually.}
@@ -12,13 +12,13 @@
gem.authors = ["jayronc"]
gem.has_rdoc = false
end
Jeweler::GemcutterTasks.new
-rescue LoadError
- puts "Jeweler (or a dependency) not available. Install it with: gem install jeweler"
-end
+# rescue LoadError
+# puts "Jeweler (or a dependency) not available. Install it with: gem install jeweler"
+# end
require 'rake/testtask'
Rake::TestTask.new(:test) do |test|
test.libs << 'lib' << 'test' << 'recipes'
@@ -37,14 +37,12 @@
task :rcov do
abort "RCov is not available. In order to run rcov, you must: sudo gem install spicycode-rcov"
end
end
-task :test => :check_dependencies
-
task :default => :test
-require 'rake/rdoctask'
+require 'rdoc/task'
Rake::RDocTask.new do |rdoc|
version = File.exist?('VERSION') ? File.read('VERSION') : ""
rdoc.rdoc_dir = 'rdoc'
rdoc.title = "blavosync #{version}"