From 7b76120649d91dc1585035423ef89a7b5b020a80 Mon Sep 17 00:00:00 2001 From: Christoph Olszowka Date: Thu, 6 Jan 2011 19:44:50 +0100 Subject: [PATCH] Load VERSION file... --- lib/simplecov.rb | 3 +++ lib/simplecov/result.rb | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/lib/simplecov.rb b/lib/simplecov.rb index 7ecf8780..78bec5a7 100644 --- a/lib/simplecov.rb +++ b/lib/simplecov.rb @@ -113,6 +113,9 @@ def usable? require 'simplecov/merge_helpers' require 'simplecov/result_merger' require 'simplecov/command_guesser' +require 'simplecov/version' + +# Load formatter gem require 'simplecov-html' # Default configuration diff --git a/lib/simplecov/result.rb b/lib/simplecov/result.rb index 6c6034a2..dc8f344c 100644 --- a/lib/simplecov/result.rb +++ b/lib/simplecov/result.rb @@ -6,7 +6,7 @@ module SimpleCov # A simplecov code coverage result, initialized from the Hash Ruby 1.9's built-in coverage # library generates (Coverage.result). # - class Result + class Result # Returns the original Coverage.result used for this instance of SimpleCov::Result attr_reader :original_result # Returns all files that are applicable to this result (sans filters!) as instances of SimpleCov::SourceFile. Aliased as :source_files