<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array">
    <added>
      <filename>lib/backseat/server.rb</filename>
    </added>
  </added>
  <modified type="array">
    <modified>
      <diff>@@ -1,7 +1,7 @@
 require 'rubygems'
 require 'rjb'
 
-$:.unshift(File.dirname(__FILE__))
+$LOAD_PATH.unshift(File.expand_path(File.dirname(__FILE__))) unless $LOAD_PATH.include?(File.expand_path(File.dirname(__FILE__)))
 require 'backseat/wrappers/abstract_wrapper'
 require 'backseat/wrappers/element_wrapper'
 require 'backseat/wrappers/driver_wrapper'
@@ -9,7 +9,11 @@ require 'backseat/helpers'
 require 'backseat/helpers/xpath_helper'
 require 'backseat/helpers/wait_helper'
 require 'backseat/helpers/by_helper'
+require 'backseat/server'
+
 module Backseat
+  
+  VERSION = '0.0.2'
 
   (class &lt;&lt; self; self; end).class_eval do
     attr_accessor :loaded</diff>
      <filename>lib/backseat.rb</filename>
    </modified>
    <modified>
      <diff>@@ -37,6 +37,26 @@ module Backseat
         STR
       end
      
+      class XpathFunction
+        def initialize(value)
+          @value = value
+        end
+        
+        def escape(string)
+          string.gsub(&quot;'&quot;, &quot;\'&quot;)
+        end 
+      end
+      
+      class Contains &lt; XpathFunction
+        def to_xpath(attribute)
+          &quot;contains(#{attribute}, '#{escape(@value)}')&quot;
+        end
+      end
+
+      def contains(value)
+        Contains.new(value)
+      end
+     
     end
   end
 end
\ No newline at end of file</diff>
      <filename>lib/backseat/helpers/xpath_helper.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>eb5ef93fa37eff6b4396789b99f47fd02e3243ae</id>
    </parent>
  </parents>
  <author>
    <name>Jim Benton</name>
    <email>jim@autonomousmachine.com</email>
  </author>
  <url>http://github.com/jim/backseat/commit/6137b85cb8460168513ac2b6e612602e28ccff40</url>
  <id>6137b85cb8460168513ac2b6e612602e28ccff40</id>
  <committed-date>2009-03-04T08:36:50-08:00</committed-date>
  <authored-date>2009-03-04T08:36:50-08:00</authored-date>
  <message>Working towards a simple Cucumber setup. Added server spawning, contains xpath function, and a property to Backseat that trachs java lib load status</message>
  <tree>109380bca5aca72f538fb4f6aed1303b38913831</tree>
  <committer>
    <name>Jim Benton</name>
    <email>jim@autonomousmachine.com</email>
  </committer>
</commit>
