lib/bson.rb in bson-1.1 vs lib/bson.rb in bson-1.1.1

- old
+ new

@@ -1,13 +1,13 @@ # encoding: UTF-8 $:.unshift(File.join(File.dirname(__FILE__), '..', 'lib')) -MINIMUM_BSON_EXT_VERSION = "1.1" +MINIMUM_BSON_EXT_VERSION = "1.1.1" module BSON - VERSION = "1.1" + VERSION = "1.1.1" def self.serialize(obj, check_keys=false, move_id=false) BSON_CODER.serialize(obj, check_keys, move_id) end @@ -32,11 +32,11 @@ end end if RUBY_PLATFORM =~ /java/ jar_dir = File.join(File.dirname(__FILE__), '..', 'ext', 'java', 'jar') - require File.join(jar_dir, 'mongo.jar') - require File.join(jar_dir, 'bson.jar') + require File.join(jar_dir, 'mongo-2.2.jar') + require File.join(jar_dir, 'bson-2.2.jar') require File.join(jar_dir, 'jbson.jar') require 'bson/bson_java' module BSON BSON_CODER = BSON_JAVA end