Updated to Java driver 2.4 for JRuby

This commit is contained in:
Kyle Banker 2011-01-03 15:09:46 -05:00
parent 9babfc95bb
commit dbcc9042bf
4 changed files with 2 additions and 2 deletions

View File

@ -14,7 +14,7 @@ Gem::Specification.new do |s|
s.files = ['LICENSE.txt']
s.files += ['lib/bson.rb'] + Dir['lib/bson/**/*.rb']
s.files += ['bin/b2json', 'bin/j2bson']
s.files += ["ext/java/jar/bson-2.2.jar", "ext/java/jar/jbson.jar", "ext/java/jar/mongo-2.2.jar"]
s.files += ["ext/java/jar/bson-2.2.jar", "ext/java/jar/jbson.jar", "ext/java/jar/mongo-2.4.jar"]
s.test_files = Dir['test/bson/*.rb']
s.executables = ['b2json', 'j2bson']

Binary file not shown.

BIN
ext/java/jar/mongo-2.4.jar Normal file

Binary file not shown.

View File

@ -40,7 +40,7 @@ end
if RUBY_PLATFORM =~ /java/
jar_dir = File.join(File.dirname(__FILE__), '..', 'ext', 'java', 'jar')
require File.join(jar_dir, 'mongo-2.2.jar')
require File.join(jar_dir, 'mongo-2.4.jar')
require File.join(jar_dir, 'bson-2.2.jar')
require File.join(jar_dir, 'jbson.jar')
require 'bson/bson_java'