rcov 0.8.1.0-mswin32 → 0.8.1.1.0-mswin32
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/CHANGES +7 -0
- data/THANKS +3 -0
- data/bin/rcov +12 -1
- data/lib/rcov/report.rb +2 -1
- data/lib/rcov/version.rb +2 -2
- data/lib/rcovrt.so +0 -0
- metadata +2 -2
    
        data/CHANGES
    CHANGED
    
    | @@ -1,6 +1,13 @@ | |
| 1 1 |  | 
| 2 2 | 
             
            User-visible changes.
         | 
| 3 3 |  | 
| 4 | 
            +
            Since 0.8.1 (2007-11-19)
         | 
| 5 | 
            +
            ========================
         | 
| 6 | 
            +
            Bugfixes
         | 
| 7 | 
            +
            --------
         | 
| 8 | 
            +
            * REXML workaround incorrectly applied to 1.8.6 < p110
         | 
| 9 | 
            +
            * --spec-only should work with RSpec trunk and detect when it cannot work
         | 
| 10 | 
            +
             | 
| 4 11 | 
             
            Since 0.8.0 (2007-02-28)
         | 
| 5 12 | 
             
            ========================
         | 
| 6 13 | 
             
            Features
         | 
    
        data/THANKS
    CHANGED
    
    
    
        data/bin/rcov
    CHANGED
    
    | @@ -521,12 +521,23 @@ if options.test_unit_only | |
| 521 521 | 
             
                end
         | 
| 522 522 | 
             
            elsif options.spec_only
         | 
| 523 523 | 
             
                require 'spec'
         | 
| 524 | 
            -
                 | 
| 524 | 
            +
                override_run = lambda do
         | 
| 525 525 | 
             
                    oldrun = instance_method(:run)
         | 
| 526 526 | 
             
                    define_method(:run) do |*args|
         | 
| 527 527 | 
             
                        $rcov_code_coverage_analyzer.run_hooked { oldrun.bind(self).call(*args) }
         | 
| 528 528 | 
             
                    end
         | 
| 529 529 | 
             
                end
         | 
| 530 | 
            +
                if defined? Spec::DSL::Example
         | 
| 531 | 
            +
                    Spec::DSL::Example.instance_eval(&override_run)
         | 
| 532 | 
            +
                elsif defined? Spec::Example::ExampleGroup
         | 
| 533 | 
            +
                    Spec::Example::ExampleGroup.instance_eval(&override_run)
         | 
| 534 | 
            +
                else
         | 
| 535 | 
            +
                    $stderr.puts <<-EOF
         | 
| 536 | 
            +
            Your RSpec version isn't supported. If it's a old one, consider upgrading;
         | 
| 537 | 
            +
            otherwise, please report the problem.
         | 
| 538 | 
            +
                    EOF
         | 
| 539 | 
            +
                    exit(-1)
         | 
| 540 | 
            +
                end
         | 
| 530 541 | 
             
            else
         | 
| 531 542 | 
             
                $rcov_code_coverage_analyzer.install_hook
         | 
| 532 543 | 
             
            end
         | 
    
        data/lib/rcov/report.rb
    CHANGED
    
    | @@ -6,7 +6,8 @@ module Rcov | |
| 6 6 |  | 
| 7 7 | 
             
            # Try to fix bug in the REXML shipped with Ruby 1.8.6
         | 
| 8 8 | 
             
            # This affects Mac OSX 10.5.1 users and motivates endless bug reports.
         | 
| 9 | 
            -
            if RUBY_VERSION == "1.8.6" && defined? REXML
         | 
| 9 | 
            +
            if RUBY_VERSION == "1.8.6" && defined? REXML::Formatters::Transitive &&
         | 
| 10 | 
            +
               RUBY_RELEASE_DATE < "2007-11-04"
         | 
| 10 11 | 
             
                class REXML::Document
         | 
| 11 12 | 
             
                    def write( output=$stdout, indent=-1, trans=false, ie_hack=false )
         | 
| 12 13 | 
             
                        if xml_decl.encoding != "UTF-8" && !output.kind_of?(Output)
         | 
    
        data/lib/rcov/version.rb
    CHANGED
    
    
    
        data/lib/rcovrt.so
    CHANGED
    
    | Binary file | 
    
        metadata
    CHANGED
    
    | @@ -3,8 +3,8 @@ rubygems_version: 0.9.1 | |
| 3 3 | 
             
            specification_version: 1
         | 
| 4 4 | 
             
            name: rcov
         | 
| 5 5 | 
             
            version: !ruby/object:Gem::Version 
         | 
| 6 | 
            -
              version: 0.8.1.0
         | 
| 7 | 
            -
            date: 2007-11- | 
| 6 | 
            +
              version: 0.8.1.1.0
         | 
| 7 | 
            +
            date: 2007-11-20 00:00:00 +01:00
         | 
| 8 8 | 
             
            summary: Code coverage analysis tool for Ruby
         | 
| 9 9 | 
             
            require_paths: 
         | 
| 10 10 | 
             
            - lib
         |