apill 2.6.1 → 2.7.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: e5a6e959e800c04982e052bcdf0889d7723bbf8a
4
- data.tar.gz: 23c88b2b49291b90273b5547d969d47a0982bc03
3
+ metadata.gz: d6a4cc84fdc111b553ab3c9012a71efb585017a0
4
+ data.tar.gz: 000f98b62eeed8189c9ec9b226b95903ef716efb
5
5
  SHA512:
6
- metadata.gz: 09144a6e3fbd47d3e8a9c1a60c31b666571b509971c3fe86f7797819a50fedc1782510c51ac0067c5d414f3062bb7895eaf88c7ecd1b3d4302ee1ea624c55d9d
7
- data.tar.gz: 2a412fab56ee4b64f6a116d17cefc744fb2d5bc77f0b46e1f42549c6729fe98a3311a965c4ecdac8d57d0cb5ed69c11f827418539d2ced0ca0b642df59f95b15
6
+ metadata.gz: 014f89703a5ce16b2f975c002532d34263f893efae36424f1e5e91c90421f38cba1261ff3353602c9adafe8777c4a1a4e76213a4580fbd9803b805a93ca78921
7
+ data.tar.gz: 566c318db6dcb58d044a2b314a3b157bee49684607727e0d00a4e237be3a999ee103644c8bb734bc73f5448ab1c0d0c1fa100363b1746ce699fd7d96997a8446
@@ -27,7 +27,8 @@ module Queryable
27
27
  end
28
28
 
29
29
  query_params.
30
- slice(*query_attrs)
30
+ slice(*query_attrs).
31
+ reject { |_k, v| v.nil? || v == '' }
31
32
  end
32
33
 
33
34
  def query_method_name_for(query_item, resource)
@@ -26,8 +26,8 @@ module Sortable
26
26
  else
27
27
  send(sorted_model_name)
28
28
  end
29
- resource.
30
- order(sorting_arguments)
29
+
30
+ resource.order(sorting_arguments)
31
31
  end
32
32
  end
33
33
 
data/lib/apill/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Apill
2
- VERSION = '2.6.1'
2
+ VERSION = '2.7.0'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: apill
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.6.1
4
+ version: 2.7.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - jfelchner
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-04-16 00:00:00.000000000 Z
11
+ date: 2015-05-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: human_error