mongomodel 0.2.4 → 0.2.5
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.
- data/lib/mongomodel/support/scope.rb +4 -0
- data/lib/mongomodel/version.rb +1 -1
- data/mongomodel.gemspec +1 -1
- metadata +3 -3
|
@@ -150,6 +150,10 @@ module MongoModel
|
|
|
150
150
|
result
|
|
151
151
|
end
|
|
152
152
|
end
|
|
153
|
+
|
|
154
|
+
def respond_to?(method, include_private = false)
|
|
155
|
+
Array.method_defined?(method) || klass.respond_to?(method, include_private) || super
|
|
156
|
+
end
|
|
153
157
|
|
|
154
158
|
protected
|
|
155
159
|
def method_missing(method, *args, &block)
|
data/lib/mongomodel/version.rb
CHANGED
data/mongomodel.gemspec
CHANGED
metadata
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: mongomodel
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
hash:
|
|
4
|
+
hash: 29
|
|
5
5
|
prerelease: false
|
|
6
6
|
segments:
|
|
7
7
|
- 0
|
|
8
8
|
- 2
|
|
9
|
-
-
|
|
10
|
-
version: 0.2.
|
|
9
|
+
- 5
|
|
10
|
+
version: 0.2.5
|
|
11
11
|
platform: ruby
|
|
12
12
|
authors:
|
|
13
13
|
- Sam Pohlenz
|