summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-07-24 17:47:34 +0000
committermame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-07-24 17:47:34 +0000
commit59f23bd421656f8d754e43be6a62824d0b9824ac (patch)
tree14cd40f162860c70fb520b161b822669ba2d4ad3
parenta930fd9b8583de58745254ca544202d19cd82a1f (diff)
* sample/coverage.rb: move from lib/coverage.rb because this remains in
an early phase of development. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18200 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-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]))