Permalink
Browse files

Adding some comments

  • Loading branch information...
1 parent c93a4e6 commit 99b742e97ff023916ccecdb687de6961ab9ceb60 @clbustos committed Dec 15, 2011
Showing with 5 additions and 4 deletions.
  1. +3 −3 Rakefile
  2. +1 −0 grab_references.rb
  3. +1 −1 test/test_factor_map.rb
View
@@ -40,7 +40,7 @@ h=Hoe.spec('statsample') do
#self.testlib=:minitest
self.rubyforge_name = "ruby-statsample"
self.developer('Claudio Bustos', 'clbustos@gmail.com')
- self.extra_deps << ["spreadsheet","~>0.6.5"] << ["reportbuilder", "~>1.4"] << ["minimization", "~>0.2.0"] << ["fastercsv", ">0"] << ["dirty-memoize", "~>0.0"] << ["extendmatrix","~>0.3.1"] << ["statsample-bivariate-extension", ">0"] << ["rserve-client", "~>0.2.5"] << ["rubyvis", "~>0.4.0"] << ["distribution", "~>0.3"]
+ self.extra_deps << ["spreadsheet","~>0.6.5"] << ["reportbuilder", "~>1.4"] << ["minimization", "~>0.2.0"] << ["fastercsv", ">0"] << ["dirty-memoize", "~>0.0"] << ["extendmatrix","~>0.3.1"] << ["statsample-bivariate-extension", ">0"] << ["rserve-client", "~>0.2.5"] << ["rubyvis", "~>0.5"] << ["distribution", "~>0.6"]
self.extra_dev_deps << ["hoe","~>0"] << ["shoulda","~>0"] << ["minitest", "~>2.0"] << ["rserve-client", "~>0"] << ["gettext", "~>0"] << ["mocha", "~>0"] << ["hoe-git", "~>0"]
@@ -66,7 +66,7 @@ source code first.
EOF
self.need_rdoc=false
end
-
+if Rake.const_defined?(:RDocTask)
Rake::RDocTask.new(:docs) do |rd|
rd.main = h.readme_file
rd.options << '-d' if (`which dot` =~ /\/dot/) unless
@@ -91,7 +91,7 @@ Rake::RDocTask.new(:docs) do |rd|
end
end
-
+end
desc 'Publish rdocs with analytics support'
task :publicar_docs => [:clean, :docs] do
ruby %{agregar_adsense_a_doc.rb}
View
1 grab_references.rb 100644 → 100755
@@ -2,6 +2,7 @@
require 'reportbuilder'
refs=[]
Dir.glob "**/*.rb" do |f|
+ next if f=~/pkg/
reference=false
File.open(f).each_line do |l|
@@ -22,7 +22,7 @@ class StatsampleFactorMpaTestCase < MiniTest::Unit::TestCase
map_assertions(@map)
end
should_with_gsl "return correct values with gsl" do
- require 'ruby-prof'
+ #require 'ruby-prof'
@map.use_gsl=true
map_assertions(@map)

0 comments on commit 99b742e

Please sign in to comment.