summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--sample/coverage.rb (renamed from lib/coverage.rb)2
2 files changed, 7 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 8361a62..eefabb3 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Fri Jul 25 02:43:11 2008 Yusuke Endoh <mame@tsg.ne.jp>
+
+ * sample/coverage.rb: move from lib/coverage.rb because this remains in
+ an early phase of development.
+
Fri Jul 25 00:10:23 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
* file.c (rb_find_file_ext, rb_find_file): converts Windows style path
diff --git a/lib/coverage.rb b/sample/coverage.rb
index 1a40535..3f45e9f 100644
--- a/lib/coverage.rb
+++ b/sample/coverage.rb
@@ -1,5 +1,7 @@
require "coverage.so"
+Coverage.start
+
ext = ENV["COVERUBY_EXT"] || ".cov"
accum = ENV["COVERUBY_ACCUM"]
accum = !accum || accum == "" || !(%w(f n 0).include?(accum[0]))