<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -514,10 +514,19 @@ elsif options.spec_only
             $rcov_code_coverage_analyzer.run_hooked { oldrun.bind(self).call(*args) }
         end
     end
-    if defined? Spec::DSL::Example
-        Spec::DSL::Example.instance_eval(&amp;override_run)
-    elsif defined? Spec::Example::ExampleGroup
-        Spec::Example::ExampleGroup.instance_eval(&amp;override_run)
+
+    if defined?(Spec::DSL::Example)
+      Spec::DSL::Example.instance_eval(&amp;override_run)
+    elsif defined?(Spec::Example::ExampleMethods)
+      override_run = lambda do
+          oldexecute = instance_method(:execute)
+          define_method(:execute) do |*args|
+              $rcov_code_coverage_analyzer.run_hooked { oldexecute.bind(self).call(*args) }
+          end
+      end
+      Spec::Example::ExampleMethods.instance_eval(&amp;override_run)
+    elsif defined?(Spec::Example::ExampleGroup)
+      Spec::Example::ExampleGroup.instance_eval(&amp;override_run)
     else
         $stderr.puts &lt;&lt;-EOF
 Your RSpec version isn't supported. If it's a old one, consider upgrading;</diff>
      <filename>bin/rcov</filename>
    </modified>
    <modified>
      <diff>@@ -1,3 +1,7 @@
+0.8.1.5
+=============================
+- --spec-only works on the current rspec (1.1.10+)
+
 0.8.1.4
 =============================
 - Fixed problem in gemspec that was including non existant file</diff>
      <filename>changelog</filename>
    </modified>
    <modified>
      <diff>@@ -85,9 +85,11 @@ class Formatter # :nodoc:
         /\btest\//,
         /\bvendor\//,
         /\A#{Regexp.escape(__FILE__)}\z/]
+        
     DEFAULT_OPTS = {:ignore =&gt; ignore_files, :sort =&gt; :name, :sort_reverse =&gt; false,
                     :output_threshold =&gt; 101, :dont_ignore =&gt; [],
                     :callsite_analyzer =&gt; nil, :comments_run_by_default =&gt; false}
+                    
     def initialize(opts = {})
         options = DEFAULT_OPTS.clone.update(opts)
         @files = {}
@@ -527,7 +529,6 @@ EOF
     end
 end
 
-
 class HTMLCoverage &lt; Formatter # :nodoc:
     include XX::XHTML
     include XX::XMLish
@@ -701,25 +702,26 @@ EOS
                     :validator_links =&gt; true, :charset =&gt; nil
                    }
     def initialize(opts = {})
-        options = DEFAULT_OPTS.clone.update(opts)
-        super(options)
-        @dest = options[:destdir]
-        @color = options[:color]
-        @fsr = options[:fsr]
-        @do_callsites = options[:callsites]
-        @do_cross_references = options[:cross_references]
-        @span_class_index = 0
-        @show_validator_links = options[:validator_links]
-        @charset = options[:charset]
+      options = DEFAULT_OPTS.clone.update(opts)
+      super(options)
+      @dest = options[:destdir]
+      @color = options[:color]
+      @fsr = options[:fsr]
+      @do_callsites = options[:callsites]
+      @do_cross_references = options[:cross_references]
+      @span_class_index = 0
+      @show_validator_links = options[:validator_links]
+      @charset = options[:charset]
     end
 
     def execute
-        return if @files.empty?
-        FileUtils.mkdir_p @dest
-        create_index(File.join(@dest, &quot;index.html&quot;))
-        each_file_pair_sorted do |filename, fileinfo|
-            create_file(File.join(@dest, mangle_filename(filename)), fileinfo)
-        end
+      return if @files.empty?
+      FileUtils.mkdir_p @dest
+      create_index(File.join(@dest, &quot;index.html&quot;))
+      
+      each_file_pair_sorted do |filename, fileinfo|
+        create_file(File.join(@dest, mangle_filename(filename)), fileinfo)
+      end
     end
 
     private
@@ -737,15 +739,15 @@ EOS
     end
 
     def output_color_table?
-        true
+      true
     end
 
     def default_color
-        &quot;rgb(240, 240, 245)&quot;
+      &quot;rgb(240, 240, 245)&quot;
     end
 
     def default_title
-        &quot;C0 code coverage information&quot;
+      &quot;C0 code coverage information&quot;
     end
 
     def format_overview(*file_infos)
@@ -811,11 +813,31 @@ EOS
     end
 
     class SummaryFileInfo  # :nodoc:
-        def initialize(obj); @o = obj end
-        %w[num_lines num_code_lines code_coverage total_coverage].each do |m|
-            define_method(m){ @o.send(m) }
-        end
-        def name; &quot;TOTAL&quot; end
+        
+      def initialize(obj)
+        @o = obj 
+      end
+      
+      def num_lines
+        @o.num_lines
+      end
+      
+      def num_code_lines
+        @o.num_code_lines
+      end
+      
+      def code_coverage
+        @o.code_coverage
+      end
+      
+      def total_coverage
+        @o.total_coverage
+      end
+      
+      def name
+        &quot;TOTAL&quot; 
+      end
+
     end
 
     def create_index(destname)
@@ -1119,8 +1141,7 @@ class HTMLProfiling &lt; HTMLCoverage # :nodoc:
         max = 2 if max == 1
         if marked == true
             count = 1 if !count || count == 0
-            idx = 50 + 1.0 * (500/full_scale_range) * Math.log(count/median) /
-                Math.log(10)
+            idx = 50 + 1.0 * (500/full_scale_range) * Math.log(count/median) / Math.log(10)
             idx = idx.to_i
             idx = 0 if idx &lt; 0
             idx = 100 if idx &gt; 100
@@ -1129,6 +1150,7 @@ class HTMLProfiling &lt; HTMLCoverage # :nodoc:
             nil
         end
     end
+    
 end
 
 class RubyAnnotation &lt; Formatter # :nodoc:</diff>
      <filename>lib/rcov/report.rb</filename>
    </modified>
    <modified>
      <diff>@@ -1,6 +1,6 @@
 Gem::Specification.new do |s|
   s.name = %q{rcov}
-  s.version = &quot;0.8.1.4.0&quot;
+  s.version = &quot;0.8.1.5.0&quot;
 
   s.required_rubygems_version = nil if s.respond_to? :required_rubygems_version=
   s.authors = [&quot;Mauricio Fernandez&quot;]</diff>
      <filename>rcov-jruby.gemspec</filename>
    </modified>
    <modified>
      <diff>@@ -1,6 +1,6 @@
 Gem::Specification.new do |s|
   s.name = %q{rcov}
-  s.version = &quot;0.8.1.4.0&quot;
+  s.version = &quot;0.8.1.5.0&quot;
 
   s.required_rubygems_version = nil if s.respond_to? :required_rubygems_version=
   s.authors = [&quot;Mauricio Fernandez&quot;]</diff>
      <filename>rcov.gemspec</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>9ec97cbd09d96ede7904666a1ec4b5cc234c260d</id>
    </parent>
  </parents>
  <author>
    <name>Chad Humphries</name>
    <email>chad@spicycode.com</email>
  </author>
  <url>http://github.com/spicycode/rcov/commit/225f5d0b281227779cf5dba822e106ed62ab8118</url>
  <id>225f5d0b281227779cf5dba822e106ed62ab8118</id>
  <committed-date>2008-10-29T18:33:17-07:00</committed-date>
  <authored-date>2008-10-29T18:33:17-07:00</authored-date>
  <message>--spec-only works on latest rspec!!!</message>
  <tree>ffdf2e7a0f8b68108a4ff85e0b8927d05924f7e1</tree>
  <committer>
    <name>Chad Humphries</name>
    <email>chad@spicycode.com</email>
  </committer>
</commit>
