mongomatic 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/mongomatic/cursor.rb +1 -1
  2. metadata +2 -2
@@ -9,7 +9,7 @@ module Mongomatic
9
9
  @mongo_cursor = mongo_cursor
10
10
 
11
11
  @mongo_cursor.public_methods(false).each do |meth|
12
- next if self.methods.include?(meth.to_sym)
12
+ next if self.methods.collect { |meth| meth.to_sym }.include?(meth.to_sym)
13
13
  (class << self; self; end).class_eval do
14
14
  define_method meth do |*args|
15
15
  @mongo_cursor.send meth, *args
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 1
8
- - 0
9
- version: 0.1.0
8
+ - 1
9
+ version: 0.1.1
10
10
  platform: ruby
11
11
  authors:
12
12
  - Ben Myles