mongoid-data_table 1.0.5 → 1.0.6
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile.lock +1 -1
- data/lib/mongoid/data_table/proxy.rb +1 -1
- data/lib/mongoid/data_table/version.rb +1 -1
- metadata +3 -3
data/Gemfile.lock
CHANGED
@@ -16,7 +16,7 @@ module Mongoid
|
|
16
16
|
@fields = options[:fields] || klass.data_table_fields
|
17
17
|
@aliases = options[:aliases] || @fields
|
18
18
|
|
19
|
-
params[:iDisplayLength] = conditions.count if params[:iDisplayLength] == -1
|
19
|
+
params[:iDisplayLength] = conditions.count if (params[:iDisplayLength].to_i rescue 0) == -1
|
20
20
|
end
|
21
21
|
|
22
22
|
def collection(force = false)
|
metadata
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
name: mongoid-data_table
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version: 1.0.
|
5
|
+
version: 1.0.6
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Jason Dew
|
@@ -146,7 +146,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
146
146
|
requirements:
|
147
147
|
- - ">="
|
148
148
|
- !ruby/object:Gem::Version
|
149
|
-
hash:
|
149
|
+
hash: -4201636343347705602
|
150
150
|
segments:
|
151
151
|
- 0
|
152
152
|
version: "0"
|
@@ -155,7 +155,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
155
155
|
requirements:
|
156
156
|
- - ">="
|
157
157
|
- !ruby/object:Gem::Version
|
158
|
-
hash:
|
158
|
+
hash: -4201636343347705602
|
159
159
|
segments:
|
160
160
|
- 0
|
161
161
|
version: "0"
|