virgo 0.3.3 → 0.3.4

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 14fa69989115c154fcfb24d204f64bf8558f71f1
4
- data.tar.gz: f2a2e1e456a3926ba1daffc7cdd2f07629079f59
3
+ metadata.gz: 5a2352d32dcc17e1eb41fb8e5d7eb75dd59f3ec6
4
+ data.tar.gz: c4a0ebdffe6dd55086716f5d95a8c28b296aec22
5
5
  SHA512:
6
- metadata.gz: 04130996d4c254973e5494f2b5b8d4addab4afb72653afb4fea0e99fcb741ae55f83f2460d5c701a0462f71340151ac3fa9d2af5277f737a6dc50ea15e077bc6
7
- data.tar.gz: c3987b29653e0f3afc18017cfa276dfbc11316cc10a0ba72bbae8ce26a9dd59f34414c0005a7994116827f523045128e76aee9a15306c3bf20ce8ad5528eb182
6
+ metadata.gz: 98c5f41de3d4d9a0500a9e294bfc609dd684913ec601eeb750147b8227f51013aec25593bd0955fabe485467c8bd6204a21b56e9b39cb939b426dfd2f4ff753b
7
+ data.tar.gz: 42bc83181fb037c6f9794be650ccc13a1a13b7ae2cf3fffaa8ecdb3ca8dff990400d4fe167ce83ec2cfe38aa158ceacb3d5223d507539d981258792266e14b21
@@ -18,11 +18,11 @@ module Virgo
18
18
  vals[:"term_#{i}"] = "%#{part}%"
19
19
 
20
20
  queries << \
21
- "(users.email ILIKE :term_#{i} OR " +
22
- "users.first_name ILIKE :term_#{i} OR " +
23
- "users.last_name ILIKE :term_#{i} OR " +
24
- "users.username ILIKE :term_#{i} OR " +
25
- "users.byline ILIKE :term_#{i})"
21
+ "(virgo_users.email ILIKE :term_#{i} OR " +
22
+ "virgo_users.first_name ILIKE :term_#{i} OR " +
23
+ "virgo_users.last_name ILIKE :term_#{i} OR " +
24
+ "virgo_users.username ILIKE :term_#{i} OR " +
25
+ "virgo_users.byline ILIKE :term_#{i})"
26
26
  end
27
27
 
28
28
  query = queries.join(" OR ")
@@ -1,3 +1,3 @@
1
1
  module Virgo
2
- VERSION = "0.3.3"
2
+ VERSION = "0.3.4"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: virgo
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.3
4
+ version: 0.3.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nicholas Zaillian
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-08-31 00:00:00.000000000 Z
11
+ date: 2015-09-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails