"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "Rakefile" between
ruport-1.7.1.tar.gz and ruport-1.8.0.tar.gz

About: Ruport (Ruby Reports) is a simple, extensible reporting system built for Rubyists. It provides tools for data acquisition, database interaction, formatting, and parsing/munging.

Rakefile  (ruport-1.7.1):Rakefile  (ruport-1.8.0)
require "rubygems" require "rubygems"
require "bundler/setup" require "bundler/setup"
require "rdoc/task"
require "rake/testtask" require "rake/testtask"
require 'bundler/gem_tasks' require 'bundler/gem_tasks'
task :default => [:test] task :default => [:test]
Rake::TestTask.new do |test| Rake::TestTask.new do |test|
test.libs << "test" test.libs << "test"
if RUBY_VERSION < "1.9" if RUBY_VERSION < "1.9"
test.test_files = Dir["test/*_test.rb", "test18/*_test.rb"] test.test_files = Dir["test/*_test.rb", "test18/*_test.rb"]
else else
test.test_files = Dir[ "test/*_test.rb" ] test.test_files = Dir[ "test/*_test.rb" ]
end end
test.verbose = true test.verbose = true
end end
RDoc::Task.new do |rdoc|
rdoc.rdoc_files.include( "README.rdoc",
"AUTHORS", "COPYING",
"LICENSE", "lib/" )
rdoc.main = "README.rdoc"
rdoc.rdoc_dir = "doc/html"
rdoc.title = "Ruport Documentation"
end
task :run_benchmarks do task :run_benchmarks do
files = FileList["util/bench/**/**/*.rb"] files = FileList["util/bench/**/**/*.rb"]
files.sort! files.sort!
files.uniq! files.uniq!
names = files.map { |r| r.sub("util/bench","").split("/").map { |e| e.capitali ze } } names = files.map { |r| r.sub("util/bench","").split("/").map { |e| e.capitali ze } }
names.map! { |e| e[1..-2].join("::") + " <BENCH: #{e[-1].sub('Bench_','').sub( '.rb','')}>" } names.map! { |e| e[1..-2].join("::") + " <BENCH: #{e[-1].sub('Bench_','').sub( '.rb','')}>" }
start_time = Time.now start_time = Time.now
files.zip(names).each { |f,n| files.zip(names).each { |f,n|
puts "\n#{n}\n\n" puts "\n#{n}\n\n"
sh "ruby -Ilib #{f}" sh "ruby -Ilib #{f}"
 End of changes. 2 change blocks. 
10 lines changed or deleted 0 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)