backframe 0.0.36 → 0.0.37

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7c08222333120f8ddb4658a7a589992273f5478f
4
- data.tar.gz: 6c0f8a8233ad2722f4c5dd46087598c638cf2031
3
+ metadata.gz: a5dc4894e2e9c7c46f973d3bc3f930cacc941d0c
4
+ data.tar.gz: 7c470b6d33b5bfd67965945446b6bebbe70f1c0e
5
5
  SHA512:
6
- metadata.gz: 919db8249dd9811691aad06a271f3dbce8e264950645d555f63ab75503cc9b4dc47aac1e9c606a4c0cbb5d0fab466bb175b1e1ace0f792e7b7b7ac67aee16058
7
- data.tar.gz: 2fb9992bfdba1cabd6f4ceb34be8e6843684ccafc44c0a3cf1892fb94df88a979d751467808b1c1ceab5f9c3dfb975bc69cabfd437cc7e174cc86190bbbc1378
6
+ metadata.gz: 557ac5c9a0eaab81f78602a21ed1e675a4f2198edc01aa2d93f84163356e94a8e38bdb9512ed032fc208dd6b11578ab416731d5e5ce2dd3e10b7ed91ba41837c
7
+ data.tar.gz: 564a72e19e769d3752c62d7ee2fa91c06c31611f95a702ad796d613dd63011cf32b643171743ee778df7eaf2882001596dcbd5d96f99c747c814a3f6bb2040fd
@@ -10,7 +10,7 @@ module Backframe
10
10
  conditions = []
11
11
  params = []
12
12
  fields.each do |field|
13
- column = (field.match(/.*\..*/)) ? field : "LOWER(\"#{self.table_name}\".\"#{field}\""
13
+ column = (field.match(/.*\..*/)) ? field : "\"#{self.table_name}\".\"#{field}\""
14
14
  conditions << "LOWER(#{column}::VARCHAR) LIKE ?"
15
15
  params << '%'+filters[:q].downcase+'%'
16
16
  end
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
2
 
3
3
  module Backframe
4
- VERSION = '0.0.36'
4
+ VERSION = '0.0.37'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: backframe
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.36
4
+ version: 0.0.37
5
5
  platform: ruby
6
6
  authors:
7
7
  - Greg Kops