Skip to content

Commit

Permalink
BUMP 1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
banker committed Oct 4, 2010
1 parent 36f45da commit 850159c
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion ext/cbson/version.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@
* limitations under the License.
*/

#define VERSION "1.0.9"
#define VERSION "1.1"
7 changes: 3 additions & 4 deletions lib/bson.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@

$:.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))

MINIMUM_BSON_EXT_VERSION = "1.0.9"
MINIMUM_BSON_EXT_VERSION = "1.1"

module BSON
VERSION = "1.0.9"
VERSION = "1.1"
def self.serialize(obj, check_keys=false, move_id=false)
BSON_CODER.serialize(obj, check_keys, move_id)
end
Expand Down Expand Up @@ -55,12 +55,11 @@ module BSON
module BSON
BSON_CODER = BSON_C
end
rescue LoadError => e
rescue LoadError
require 'bson/bson_ruby'
module BSON
BSON_CODER = BSON_RUBY
end
p e
warn "\n**Notice: C extension not loaded. This is required for optimum MongoDB Ruby driver performance."
warn " You can install the extension as follows:\n gem install bson_ext\n"
warn " If you continue to receive this message after installing, make sure that the"
Expand Down
2 changes: 1 addition & 1 deletion lib/mongo.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
$:.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))

module Mongo
VERSION = "1.0.9"
VERSION = "1.1"
end

module Mongo
Expand Down

0 comments on commit 850159c

Please sign in to comment.