Rakefile in rantly-0.3.1 vs Rakefile in rantly-0.3.2
- old
+ new
@@ -4,13 +4,13 @@
begin
require 'jeweler'
Jeweler::Tasks.new do |gem|
gem.name = "rantly"
gem.summary = %Q{Ruby Imperative Random Data Generator and Quickcheck}
- gem.email = "hayeah@gmail.com"
- gem.homepage = "http://github.com/hayeah/rantly"
- gem.authors = ["Howard Yeh"]
+ gem.email = ["hayeah@gmail.com", "abargnesi@gmail.com"]
+ gem.homepage = "https://github.com/abargnesi/rantly"
+ gem.authors = ["Howard Yeh", "Anthony Bargnesi"]
# gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
end
rescue LoadError
puts "Jeweler not available. Install it with: sudo gem install technicalpickles-jeweler -s http://gems.github.com"
@@ -21,27 +21,13 @@
test.libs << 'lib' << 'test'
test.pattern = 'test/**/*_test.rb'
test.verbose = true
end
-begin
- require 'rcov/rcovtask'
- Rcov::RcovTask.new do |test|
- test.libs << 'test'
- test.pattern = 'test/**/*_test.rb'
- test.verbose = true
- end
-rescue LoadError
- task :rcov do
- abort "RCov is not available. In order to run rcov, you must: sudo gem install spicycode-rcov"
- end
-end
-
-
task :default => :test
-require 'rake/rdoctask'
+require 'rdoc/task'
Rake::RDocTask.new do |rdoc|
require 'yaml'
if File.exist?('VERSION.yml')
config = YAML.load(File.read('VERSION.yml'))
version = "#{config[:major]}.#{config[:minor]}.#{config[:patch]}"
@@ -52,6 +38,5 @@
rdoc.rdoc_dir = 'rdoc'
rdoc.title = "rant #{version}"
rdoc.rdoc_files.include('README*')
rdoc.rdoc_files.include('lib/**/*.rb')
end
-