autocomplete_rails 0.2.0 → 0.3.0

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: 4ccdef2296052248af97c0cb75dda8821a4da3b8
4
- data.tar.gz: 607b4b4a1135194a4c8bc9f9361a0f3b7eb41a6e
3
+ metadata.gz: aacb9db7d993a30c57b167a59e0f2fc278235f3d
4
+ data.tar.gz: 6da6d4b6384ba97b341bfe8c03eb15fe5f604f43
5
5
  SHA512:
6
- metadata.gz: 45f795b8b7e7af9f3b4e1c9b75f45598b71edc7abe160f52bef61e6771641e9ee33e01139502b186ab735f4fb2a1c80999cc9f4a67bff85fc63cfd629d0caa45
7
- data.tar.gz: 672f9100ed76f6cc25adcf643477341b6322c32a09720fb11736f956f87fb9fb108ebe45c346d4449500f354f3a0e52fe00ca2de0efbefedb3c10658aadc861c
6
+ metadata.gz: 2eb45a835cd37f3fd345f1ff422597c2dd978eeaffb8866990b0dccf0ca0c81dc2c5a32b2f38299005439140066149314efcd43c526ca961e01aff8b47cfc5cc
7
+ data.tar.gz: 1f979f87b07433ce22fb72bfc16d240070bca964e084779ffb160e243bcafb9c899322214d64e17effe6560ad0c932d371092fe7d80d96531ec7841b56614641
@@ -100,7 +100,7 @@ module AutocompleteRails
100
100
  table_name = model.table_name
101
101
  lower = options[:case_sensitive] ? '' : 'LOWER'
102
102
  ["#{lower}(#{table_name}.#{value_method}) LIKE #{lower}(?)", term] # escape default: \ on postgres, mysql, sqlite
103
- # ["#{lower}(#{table_name}.#{value_method}) LIKE #{lower}(?) ESCAPE \"\\\"", term] # use single-quotes, not double
103
+ #["#{lower}(#{table_name}.#{value_method}) LIKE #{lower}(?) ESCAPE \"\\\"", term] # use single-quotes, not double
104
104
  end
105
105
 
106
106
  def autocomplete_limit_clause(options)
@@ -1,3 +1,3 @@
1
1
  module AutocompleteRails
2
- VERSION = "0.2.0"
2
+ VERSION = "0.3.0"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: autocomplete_rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Justin Tomich
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-08-03 00:00:00.000000000 Z
11
+ date: 2017-03-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: '4.0'
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
- version: '5.1'
22
+ version: '5.2'
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,7 +29,7 @@ dependencies:
29
29
  version: '4.0'
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
- version: '5.1'
32
+ version: '5.2'
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: sqlite3
35
35
  requirement: !ruby/object:Gem::Requirement