Rakefile in statsample-0.12.0 vs Rakefile in statsample-0.13.0
- old
+ new
@@ -21,45 +21,46 @@
task :release do
system %{git push origin master}
end
desc "Update pot/po files."
-task :updatepo do
+task "gettext:updatepo" do
require 'gettext/tools'
GetText.update_pofiles("statsample", Dir.glob("{lib,bin}/**/*.{rb,rhtml}"), "statsample #{Statsample::VERSION}")
end
desc "Create mo-files"
-task :makemo do
+task "gettext:makemo" do
require 'gettext/tools'
GetText.create_mofiles()
# GetText.create_mofiles(true, "po", "locale") # This is for "Ruby on Rails".
end
h=Hoe.spec('statsample') do
self.version=Statsample::VERSION
#self.testlib=:minitest
self.rubyforge_name = "ruby-statsample"
self.developer('Claudio Bustos', 'clbustos@gmail.com')
- self.extra_deps << ["spreadsheet","~>0.6.0"] << ["svg-graph", "~>1.0"] << ["reportbuilder", "~>1.0"] << ["minimization", "~>0.2.0"] << ["fastercsv"] << ["dirty-memoize", "~>0.0"] << ["extendmatrix","~>0.2.0"]
+ self.extra_deps << ["spreadsheet","~>0.6.0"] << ["svg-graph", "~>1.0"] << ["reportbuilder", "~>1.0"] << ["minimization", "~>0.2.0"] << ["fastercsv"] << ["dirty-memoize", "~>0.0"] << ["extendmatrix","~>0.2.0"] << ["statsample-bivariate-extension", "~>0.13.0"]
+
self.extra_dev_deps << ["shoulda"]
self.clean_globs << "test/images/*" << "demo/item_analysis/*" << "demo/Regression"
self.post_install_message = <<-EOF
***************************************************
Thanks for installing statsample.
On *nix, you should install statsample-optimization
to retrieve gems gsl, statistics2 and a C extension
to speed some methods.
- $sudo gem install statsample-optimization
+ $ sudo gem install statsample-optimization
-To use it, on Ubuntu I recommend install
-build-essential and libgsl0-dev using apt-get and
-compile ruby 1.8 or 1.9 from source code first.
+On Ubuntu, install build-essential and libgsl0-dev
+using apt-get and compile ruby 1.8 or 1.9 from
+source code first.
- $sudo apt-get install build-essential libgsl0-dev
+ $ sudo apt-get install build-essential libgsl0-dev
*****************************************************
EOF
self.need_rdoc=false
@@ -88,10 +89,10 @@
rd.options << '--title' << title
end
end
-desc 'publicar a rdocs con analytics'
+desc 'Publish rdocs with analytics support'
task :publicar_docs => [:clean, :docs] do
ruby %{agregar_adsense_a_doc.rb}
path = File.expand_path("~/.rubyforge/user-config.yml")
config = YAML.load(File.read(path))
host = "#{config["username"]}@rubyforge.org"