mongo 0.19.2 → 0.19.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,7 +1,7 @@
1
1
  $:.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
2
2
 
3
3
  module Mongo
4
- VERSION = "0.19.2"
4
+ VERSION = "0.19.3"
5
5
  end
6
6
 
7
7
  begin
@@ -31,7 +31,7 @@ class Hash
31
31
  #:nodoc:
32
32
  def assert_valid_keys(*valid_keys)
33
33
  unknown_keys = keys - [valid_keys].flatten
34
- raise(Mongo::MongoArgumentError, "Unknown key(s): #{unknown_keys.join(", ")}") unless unknown_keys.empty?
34
+ raise(ArgumentError, "Unknown key(s): #{unknown_keys.join(", ")}") unless unknown_keys.empty?
35
35
  end
36
36
 
37
37
  end
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 19
8
- - 2
9
- version: 0.19.2
8
+ - 3
9
+ version: 0.19.3
10
10
  platform: ruby
11
11
  authors:
12
12
  - Jim Menard