kongo 1.2.2 → 1.2.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. data/lib/kongo.rb +1 -1
  2. data/lib/kongo/version.rb +1 -1
  3. metadata +1 -1
@@ -34,7 +34,7 @@ module Kongo
34
34
  # Otherwise finds by value.
35
35
  #
36
36
  def find_by_id(id)
37
- id = BSON::ObjectId(id) if id.is?(String) && BSON::ObjectId.legal?(id)
37
+ id = BSON::ObjectId(id) if id.is_a?(String) && BSON::ObjectId.legal?(id)
38
38
  find_one(_id: id)
39
39
  end
40
40
 
@@ -1,3 +1,3 @@
1
1
  module Kongo
2
- VERSION = '1.2.2'
2
+ VERSION = '1.2.3'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kongo
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.2
4
+ version: 1.2.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: