Permalink
Browse files

move code into old/

  • Loading branch information...
1 parent f1f0bfc commit 83b3d53710059eed3d7e10eaf35362503af653b8 @tmm1 committed Aug 24, 2008
View
@@ -1 +0,0 @@
-BASE=/Users/aem/Sites/10gen/platform/appserver/libraries
@@ -274,8 +274,8 @@ def extract
end
if $0 =~ /bacon/ or $0 == __FILE__
- require 'rubygems'
require 'bacon'
+ Bacon.summary_on_exit
include Mongo
describe Buffer do
View
@@ -0,0 +1,41 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+ <classpathentry kind="src" path="src"/>
+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
+ <classpathentry kind="lib" path="/Users/aman/code/10gen/appserver/build"/>
+ <classpathentry kind="lib" path="/Users/aman/code/10gen/appserver/include/xercesImpl.jar"/>
+ <classpathentry kind="lib" path="/Users/aman/code/10gen/appserver/include/wsdl4j-1.5.1.jar"/>
+ <classpathentry kind="lib" path="/Users/aman/code/10gen/appserver/include/wsdl2js.jar"/>
+ <classpathentry kind="lib" path="/Users/aman/code/10gen/appserver/include/testng-5.8-jdk15.jar"/>
+ <classpathentry kind="lib" path="/Users/aman/code/10gen/appserver/include/slf4j-log4j.jar"/>
+ <classpathentry kind="lib" path="/Users/aman/code/10gen/appserver/include/simplecaptcha-20050925.jar"/>
+ <classpathentry kind="lib" path="/Users/aman/code/10gen/appserver/include/saaj.jar"/>
+ <classpathentry kind="lib" path="/Users/aman/code/10gen/appserver/include/pircbot.jar"/>
+ <classpathentry kind="lib" path="/Users/aman/code/10gen/appserver/include/pcj.jar"/>
+ <classpathentry kind="lib" path="/Users/aman/code/10gen/appserver/include/nekohtml.jar"/>
+ <classpathentry kind="lib" path="/Users/aman/code/10gen/appserver/include/mysql.jar"/>
+ <classpathentry kind="lib" path="/Users/aman/code/10gen/appserver/include/mina-core-1.0.2.jar"/>
+ <classpathentry kind="lib" path="/Users/aman/code/10gen/appserver/include/mailapi.jar"/>
+ <classpathentry kind="lib" path="/Users/aman/code/10gen/appserver/include/mail.jar"/>
+ <classpathentry kind="lib" path="/Users/aman/code/10gen/appserver/include/log4j.jar"/>
+ <classpathentry kind="lib" path="/Users/aman/code/10gen/appserver/include/log4j-1.2.8.jar"/>
+ <classpathentry kind="lib" path="/Users/aman/code/10gen/appserver/include/jruby.jar"/>
+ <classpathentry kind="lib" path="/Users/aman/code/10gen/appserver/include/jnotify-0.91.jar"/>
+ <classpathentry kind="lib" path="/Users/aman/code/10gen/appserver/include/jline-0.9.91.jar"/>
+ <classpathentry kind="lib" path="/Users/aman/code/10gen/appserver/include/jaxrpc.jar"/>
+ <classpathentry kind="lib" path="/Users/aman/code/10gen/appserver/include/httpunit.jar"/>
+ <classpathentry kind="lib" path="/Users/aman/code/10gen/appserver/include/ftpserver-core-1.0-incubator-SNAPSHOT.jar"/>
+ <classpathentry kind="lib" path="/Users/aman/code/10gen/appserver/include/ftplet-api-1.0-incubator-SNAPSHOT.jar"/>
+ <classpathentry kind="lib" path="/Users/aman/code/10gen/appserver/include/fast-md5.jar"/>
+ <classpathentry kind="lib" path="/Users/aman/code/10gen/appserver/include/ecj.jar"/>
+ <classpathentry kind="lib" path="/Users/aman/code/10gen/appserver/include/dnsjava-2.0.0.jar"/>
+ <classpathentry kind="lib" path="/Users/aman/code/10gen/appserver/include/commons-logging-1.0.4.jar"/>
+ <classpathentry kind="lib" path="/Users/aman/code/10gen/appserver/include/commons-discovery-0.2.jar"/>
+ <classpathentry kind="lib" path="/Users/aman/code/10gen/appserver/include/commons-cli-1.1.jar"/>
+ <classpathentry kind="lib" path="/Users/aman/code/10gen/appserver/include/bsf.jar"/>
+ <classpathentry kind="lib" path="/Users/aman/code/10gen/appserver/include/backport-util-concurrent-2.2.jar"/>
+ <classpathentry kind="lib" path="/Users/aman/code/10gen/appserver/include/axis.jar"/>
+ <classpathentry kind="lib" path="/Users/aman/code/10gen/appserver/include/axis-ant.jar"/>
+ <classpathentry kind="lib" path="/Users/aman/code/10gen/appserver/include/activation.jar"/>
+ <classpathentry kind="output" path="bin"/>
+</classpath>
View
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>rmongo</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ <buildCommand>
+ <name>org.eclipse.jdt.core.javabuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ </buildSpec>
+ <natures>
+ <nature>org.eclipse.jdt.core.javanature</nature>
+ </natures>
+</projectDescription>
@@ -0,0 +1 @@
+BASE=/Users/aman/code/10gen/appserver/libraries
File renamed without changes.
File renamed without changes.
File renamed without changes.
@@ -14,7 +14,7 @@ def initialize opts = {}
@id = 0
@responses = {}
@namespace = 'default.test'
- timeout 0.5
+ timeout opts[:timeout] || 0.5
errback{
raise Error, 'could not connect to server'
}
@@ -288,7 +288,7 @@ def desc
# switch to editors namespace
mongo.namespace = 'default.editors'
-
+
# delete all rows
mongo.remove({})
@@ -308,6 +308,11 @@ def desc
mongo.insert(:name => 'platforms', :ns => 'default.editors', :key => { :platform => true })
end
+ # match multiple tags
+ mongo.find(:platform.in [:linux, :osx]) do |results|
+
+ end
+
# find objects with linux tag # XXX how can i find an object with two tags?
mongo.find(:platform => :linux) do |results|

0 comments on commit 83b3d53

Please sign in to comment.