queryfy 0.3.0 → 0.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/queryfy.rb +1 -1
- data/lib/queryfy/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: 09be028e81b1de402bd8dab839dc28636fd6caef
|
4
|
+
data.tar.gz: f6f6f2bb7546c1b6b1fc1ad734de0a0118825e24
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 909ace52a6ed147dbbfd4056bdcb43b453be3e179af142caa90f23d8df7f5c61191aac229706881702884587e78fc903395f4d7df4ec9a1c22953b6a7b2b8552
|
7
|
+
data.tar.gz: 097560e5d9972d0b900373d1a6423cf1f7581389c1476205348c51719dc029399731f5e20a586563393d2261a6506a3e8905050b5538ac5a83ca40ffd784977e
|
data/lib/queryfy.rb
CHANGED
@@ -131,7 +131,7 @@ module Queryfy
|
|
131
131
|
split.each do |s|
|
132
132
|
order_char = s[-1, 1]
|
133
133
|
s.chop! if order_char == '+' || order_char == '-'
|
134
|
-
|
134
|
+
order_char = '+' unless order_char == '+' || order_char == '-'
|
135
135
|
field = Queryfy.get_arel_field(arel_table, s)
|
136
136
|
order = :asc
|
137
137
|
if order_char == '-'
|
data/lib/queryfy/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: queryfy
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Bonemind
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-03-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: filter_lexer
|