fastapi 0.1.21 → 0.1.22
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.
- checksums.yaml +4 -4
- data/lib/fastapi.rb +2 -2
- 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: 7f3e9ae20544155cc5bfc4a04478ea6cde0e23a9
|
|
4
|
+
data.tar.gz: 790283c79ba0b1c8958639b749971bb48c059b27
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 0c2b924a361810c2a5be6b37620fe1801bda662bd1a6b722f5563a4fb37c34e183c9d8907844df297b4329778a296243f4f4a1b9005144bc09e1de5269afa9ce
|
|
7
|
+
data.tar.gz: 7834a65f5c3047355d38e5a20c53a27ef15e471f556e8f7631ef38cf4c4991438905bb7740f05ac0cc003eab8ac658d5ea7379c174b07109e6bbfa8ca51b8205
|
data/lib/fastapi.rb
CHANGED
|
@@ -592,11 +592,11 @@ class FastAPI
|
|
|
592
592
|
|
|
593
593
|
elsif comparator == 'contains'
|
|
594
594
|
|
|
595
|
-
'\'%\' || ' + ActiveRecord::Base.connection.quote(value.to_s) + ' || \'%\'
|
|
595
|
+
field_string + ' LIKE \'%\' || ' + ActiveRecord::Base.connection.quote(value.to_s) + ' || \'%\''
|
|
596
596
|
|
|
597
597
|
elsif comparator == 'icontains'
|
|
598
598
|
|
|
599
|
-
'\'%\' || ' + ActiveRecord::Base.connection.quote(value.to_s) + ' || \'%\'
|
|
599
|
+
field_string + ' ILIKE \'%\' || ' + ActiveRecord::Base.connection.quote(value.to_s) + ' || \'%\''
|
|
600
600
|
|
|
601
601
|
elsif comparator == 'is_null'
|
|
602
602
|
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: fastapi
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.22
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Keith Horwood
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2015-
|
|
11
|
+
date: 2015-03-10 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: oj
|