incline 0.2.15 → 0.2.16
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/incline/data_tables_request.rb +4 -2
- data/lib/incline/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f2846685d579c97b8dea5676b5658caffc91c8ce
|
4
|
+
data.tar.gz: f72cb83c349d080073bab59993a94b936fbc903f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f5afc6ca4f6a52f9cabba786848ba7e51c2f4550860ee18967517b65bbd22a599fc8c35fd55da6838b1135b20613ca2cda57f06ae18419a32e394f36c29ff5da
|
7
|
+
data.tar.gz: c9a5a3995188ff87793a9e5e9d40a44862697a943cde1e92ef1b8e06a44f8ac5a40fa778e6310bebf6cac401e315abb8ff6c4a6af727d602a20ef70365bdee62
|
data/Gemfile.lock
CHANGED
@@ -293,7 +293,8 @@ module Incline
|
|
293
293
|
if srch.is_a?(::Regexp)
|
294
294
|
relation.select { |item| item.respond_to?(name) && item.send(name) =~ srch }
|
295
295
|
else
|
296
|
-
|
296
|
+
srch = srch.to_s.upcase
|
297
|
+
relation.select { |item| item.respond_to?(name) && item.send(name).to_s.upcase.include?(srch) }
|
297
298
|
end
|
298
299
|
end
|
299
300
|
|
@@ -304,7 +305,8 @@ module Incline
|
|
304
305
|
if search.is_a?(::Regexp)
|
305
306
|
relation.select{|item| cols.find{|col| item.respond_to?(col) && item.send(col) =~ search} }
|
306
307
|
else
|
307
|
-
|
308
|
+
srch = search.to_s.upcase
|
309
|
+
relation.select{|item| cols.find{|col| item.respond_to?(col) && item.send(col).to_s.upcase.include?(srch) }}
|
308
310
|
end
|
309
311
|
end
|
310
312
|
|
data/lib/incline/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: incline
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.16
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Beau Barker
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-10-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|