<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -7,24 +7,24 @@ job. It won't eat up any CPU on the client or server side as it waits either.
 Also, this works if you have multiple workers connected to beanstalkd taking
 jobs off the queue (it will distribute). See example below:
 
-EM.run {
-  jack = EMJack::Connection.new
-
-	jack.each_job do |job|
-		puts &quot;Got job ##{job.jobid}: #{job}&quot;
-    
-		if process(job)
-			r = jack.delete(job)
-    	r.callback { puts &quot;*Deleted #{job}*&quot; }
-		else
+	EM.run {
+	  jack = EMJack::Connection.new
+	
+		jack.each_job do |job|
+			puts &quot;Got job ##{job.jobid}: #{job}&quot;
+	    
+			if process(job)
+				r = jack.delete(job)
+	    	r.callback { puts &quot;*Deleted #{job}*&quot; }
+			else
+			end
 		end
-	end
+		
+		def process(job)
+			# Some kind of job processing
+		end
+	}
 	
-	def process(job)
-		# Some kind of job processing
-	end
-}
-
 # Open source rocks. Enjoy,
 # Peter
 </diff>
      <filename>README.rdoc</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>568d7eee8488e999dc94bb26bad1e3a8404465f6</id>
    </parent>
  </parents>
  <author>
    <name>Peter Kieltyka</name>
    <email>peter.kieltyka@nulayer.com</email>
  </author>
  <url>http://github.com/pkieltyka/em-jack/commit/41695f1d09676ba2c4d1217d5e477b02a928fcfa</url>
  <id>41695f1d09676ba2c4d1217d5e477b02a928fcfa</id>
  <committed-date>2009-10-18T16:48:21-07:00</committed-date>
  <authored-date>2009-10-15T06:48:07-07:00</authored-date>
  <message>Fix README markup</message>
  <tree>2c69ae1f5c86783d9d2adae389054f27cb950ebf</tree>
  <committer>
    <name>dj2</name>
    <email>dj2@everburning.com</email>
  </committer>
</commit>
