<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -62,10 +62,14 @@ module Spec
 
       def parse_backtrace(backtrace)
         backtrace.collect do |trace_line|
-          split_line = trace_line.split(':')
-          [split_line[0], Integer(split_line[1])]
+          # match c:/somepath/file.rb:999:in 'method'
+          # -or-  ./somepath.file.rb:999
+          trace_line =~ /(.*)\:(\d*)(\:|$)/
+          file, number = $1, $2
+          [file, Integer(number)]
         end
       end
+
     end
   end
 end</diff>
      <filename>lib/spec/runner/spec_parser.rb</filename>
    </modified>
    <modified>
      <diff>@@ -82,4 +82,13 @@ describe &quot;SpecParser&quot; do
     parser.spec_name_for(file, 63).should == &quot;e f 11&quot;
   end
 
+  it &quot;should handle paths which contain colons&quot; do
+    fixture =
+       { &quot;c:/somepath/somefile.rb:999:in 'method'&quot; =&gt; &quot;c:/somepath/somefile.rb&quot;,
+         &quot;./somepath/somefile:999&quot;                 =&gt; &quot;./somepath/somefile&quot; }
+    fixture.each_pair do |input, expected|
+      parser.send(:parse_backtrace, input ).should == [[expected, 999]]
+    end
+  end
+
 end</diff>
      <filename>spec/spec/runner/spec_parser_spec.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>a8bbb6de851579f10bed69123e8257b3d762d31a</id>
    </parent>
  </parents>
  <author>
    <name>John-Mason P. Shackelford</name>
    <email>jpshack@gmail.com</email>
  </author>
  <url>http://github.com/jpshackelford/rspec/commit/466b8e27e36bb0e6073a460f01341882ee881d8c</url>
  <id>466b8e27e36bb0e6073a460f01341882ee881d8c</id>
  <committed-date>2008-08-22T12:34:51-07:00</committed-date>
  <authored-date>2008-08-22T12:34:51-07:00</authored-date>
  <message>SpecParser now handles backtrace paths which contain colons (common on Windows). Lighthouse Ticket #505</message>
  <tree>dafb045043f7412e4787db21aafad7443ffd09c3</tree>
  <committer>
    <name>John-Mason P. Shackelford</name>
    <email>jpshack@gmail.com</email>
  </committer>
</commit>
