<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -10,7 +10,7 @@ class BugGuard &lt; VersionGuard
     major, minor, tiny, patch = str.split &quot;.&quot;
     tiny = 99 unless tiny
     patch = 9999 unless patch
-    &quot;%02d%02d%02d%04d&quot; % [major, minor, tiny, patch].map { |x| x.to_i }
+    (&quot;1%02d%02d%02d%04d&quot; % [major, minor, tiny, patch].map { |x| x.to_i }).to_i
   end
 
   def match?</diff>
      <filename>lib/mspec/guards/bug.rb</filename>
    </modified>
    <modified>
      <diff>@@ -7,13 +7,13 @@ describe BugGuard, &quot;#to_v&quot; do
   end
 
   it &quot;returns a version string containing only digits&quot; do
-    @guard.to_v(&quot;1.8.6.22&quot;).should == &quot;0108060022&quot;
+    @guard.to_v(&quot;1.8.6.22&quot;).should == 10108060022
   end
 
   it &quot;replaces missing version parts with zeros&quot; do
-    @guard.to_v(&quot;1.8&quot;).should == &quot;0108999999&quot;
-    @guard.to_v(&quot;1.8.6&quot;).should == &quot;0108069999&quot;
-    @guard.to_v(&quot;1.8.7.333&quot;).should == &quot;0108070333&quot;
+    @guard.to_v(&quot;1.8&quot;).should == 10108999999
+    @guard.to_v(&quot;1.8.6&quot;).should == 10108069999
+    @guard.to_v(&quot;1.8.7.333&quot;).should == 10108070333
   end
 end
 </diff>
      <filename>spec/guards/bug_spec.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>f54c60ac9c4ac2c62b3d807d7b5f31666a7414f4</id>
    </parent>
  </parents>
  <author>
    <name>Brian Ford</name>
    <email>bford@engineyard.com</email>
  </author>
  <url>http://github.com/brixen/mspec/commit/4218fed7333151c4fd737056aee4175a5cd1638a</url>
  <id>4218fed7333151c4fd737056aee4175a5cd1638a</id>
  <committed-date>2008-05-23T22:04:42-07:00</committed-date>
  <authored-date>2008-05-23T22:04:13-07:00</authored-date>
  <message>Fixed ruby_bug guard to use Integers internally.</message>
  <tree>76724ed61d0b7ec64e97bcf072270d010ac9ba01</tree>
  <committer>
    <name>Brian Ford</name>
    <email>bford@engineyard.com</email>
  </committer>
</commit>
