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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2fc1d0e6915ee945c426a61ee049a041382a974c
4
- data.tar.gz: 4d9f896e6af4697c878667732959ae6075ec25aa
3
+ metadata.gz: 09be028e81b1de402bd8dab839dc28636fd6caef
4
+ data.tar.gz: f6f6f2bb7546c1b6b1fc1ad734de0a0118825e24
5
5
  SHA512:
6
- metadata.gz: fc91b3768dc4fae24b95854a1c5f0183df525a593d615a2b74d37cd2f5fdbeaa84174d2f0639adb3d8cb09676ce1b9503bbc010bab3590277bf550d7253ff3f3
7
- data.tar.gz: 4a0de0c99bee227edda239c6047b072e18956c9835496c665e3e7f268cf37880e8e13240ab853c539cc70f65fd132e07abf572bb812db2d1537f1a580dfc7465
6
+ metadata.gz: 909ace52a6ed147dbbfd4056bdcb43b453be3e179af142caa90f23d8df7f5c61191aac229706881702884587e78fc903395f4d7df4ec9a1c22953b6a7b2b8552
7
+ data.tar.gz: 097560e5d9972d0b900373d1a6423cf1f7581389c1476205348c51719dc029399731f5e20a586563393d2261a6506a3e8905050b5538ac5a83ca40ffd784977e
@@ -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
- next unless order_char == '+' || order_char == '-'
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 == '-'
@@ -1,3 +1,3 @@
1
1
  module Queryfy
2
- VERSION = "0.3.0"
2
+ VERSION = "0.3.1"
3
3
  end
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.0
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-02-28 00:00:00.000000000 Z
11
+ date: 2016-03-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: filter_lexer