Rakefile in syslogger-1.6.4 vs Rakefile in syslogger-1.6.5
- old
+ new
@@ -1,24 +1,13 @@
-require 'bundler'
-Bundler.require
-
require 'rspec/core/rake_task'
require 'rdoc/task'
-$LOAD_PATH.unshift(File.expand_path('../lib', __FILE__))
+RSpec::Core::RakeTask.new(:spec)
+task default: :spec
-RSpec::Core::RakeTask.new(:spec) do |spec|
-end
-
-RSpec::Core::RakeTask.new(:rcov) do |spec|
- spec.rcov = true
-end
-
Rake::RDocTask.new do |rdoc|
require 'syslogger'
rdoc.rdoc_dir = 'rdoc'
rdoc.title = "syslogger #{Syslogger::VERSION}"
rdoc.rdoc_files.include('README*')
rdoc.rdoc_files.include('lib/**/*.rb')
end
-
-task :default => :spec