snaptable 0.6.1 → 0.6.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/snaptable/constructor/collection.rb +2 -2
- data/lib/snaptable/rails/version.rb +1 -1
- data/lib/snaptable/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: 1ec427aec2bd8359d265c9924d1b10608043ff3e
|
4
|
+
data.tar.gz: 2433e16ffc85ce6d6fb928a2bc996cd14db4eaf2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 56a42b222ea3bd747334f27f7c16f30e1e2793367a7828e626672a7a863c3e82cb732eddfd2b4345aa5c6bd81b6c44faae322ee46de3a40feb8cd07f016eb183
|
7
|
+
data.tar.gz: 064ddf559ff2b1747e9eb7528ea4b3449677e85e02666675d2aea46ab6c7eefc0ae8a44e813b02d5a61503e8d34f5bea74f86ca4befbde2ed1efa60ef38a6d91
|
@@ -27,8 +27,8 @@ module Snaptable
|
|
27
27
|
def query
|
28
28
|
query_fields.map do |key, values|
|
29
29
|
values.map do |value|
|
30
|
-
|
31
|
-
end
|
30
|
+
"#{key}.#{value} LIKE :query OR"
|
31
|
+
end.join(" ")
|
32
32
|
end.join(" ") + " #{column_name('id')} = :id"
|
33
33
|
end
|
34
34
|
|
data/lib/snaptable/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: snaptable
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.6.
|
4
|
+
version: 0.6.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- khcr
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-09-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|