mincer 0.2.15 → 0.2.16
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/mincer/processors/pg_search/processor.rb +1 -1
- data/lib/mincer/version.rb +1 -1
- data/mincer.gemspec +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: 8d1d887604bc5061bb53fb2caafbaa789eb69523
|
4
|
+
data.tar.gz: 4fb0e9c8367666cf1f83e5193b3ed172f3cf9c8c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 36f3e8f3c6b502d0e37a0952f44eb4d4c3f843191ce2e8aa36b4fbfba4b50e995a55f761f7c696e1261ae1e7d3e6249d957cbe76c4adfb14d7bd3041c598e950
|
7
|
+
data.tar.gz: 8568e3abd658b9a114856601d25b2d58e02d961992ccbf09978dd480141e91f29eb5e4fd01a15611ed1576303b9fbd3830011b4c446bf91c676591680c2266dd
|
@@ -47,7 +47,7 @@ module Mincer
|
|
47
47
|
join_expressions(conditions, :+)
|
48
48
|
end.compact
|
49
49
|
rank = join_expressions(search_statements_conditions, :+).try(:to_sql)
|
50
|
-
"#{rank} DESC" if rank.present?
|
50
|
+
Arel.sql("#{rank} DESC") if rank.present?
|
51
51
|
end
|
52
52
|
|
53
53
|
def pg_search_engines(args, search_statement)
|
data/lib/mincer/version.rb
CHANGED
data/mincer.gemspec
CHANGED
@@ -22,7 +22,7 @@ Gem::Specification.new do |spec|
|
|
22
22
|
|
23
23
|
spec.add_development_dependency 'bundler'
|
24
24
|
spec.add_development_dependency 'rake'
|
25
|
-
spec.add_development_dependency 'pg'
|
25
|
+
spec.add_development_dependency 'pg'#, '~> 0.18'
|
26
26
|
spec.add_development_dependency 'sqlite3'
|
27
27
|
spec.add_development_dependency 'kaminari'
|
28
28
|
spec.add_development_dependency 'will_paginate'
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mincer
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.16
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Alex Krasinsky
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-04-
|
11
|
+
date: 2018-04-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activerecord
|