lib/mongo.rb in mongo-1.5.1 vs lib/mongo.rb in mongo-1.5.2
- old
+ new
@@ -14,17 +14,16 @@
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# ++
-$:.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
-
require 'mongo/version'
module Mongo
- ASCENDING = 1
- DESCENDING = -1
- GEO2D = '2d'
+ ASCENDING = 1
+ DESCENDING = -1
+ GEO2D = '2d'
+ GEOHAYSTACK = 'geoHaystack'
DEFAULT_MAX_BSON_SIZE = 4 * 1024 * 1024
module Constants
OP_REPLY = 1