apill 2.4.0 → 2.5.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: b5498c8281d815067fb85ece899fdf7e2e4ccc3f
4
- data.tar.gz: 78fd720e12713bbcc9f91046bebd97864ba9e003
3
+ metadata.gz: 3dad1e16ddfeef507ea84e6d3afd67250fcc3034
4
+ data.tar.gz: be2140b69aeddf664f2820af825e78a2bf5aeaf6
5
5
  SHA512:
6
- metadata.gz: 81dae0913ba160e54c76c42606e2b21101d29efe23bd05b00df0a635a25a38a1653d7cd167c3e96a53c7fa170595e1f0aef47ea09b01134c95361b0cf8529fad
7
- data.tar.gz: 840617d643e3b4a2a3030dd26765237896e394c4cf41a31ee368fb21ce372337cb56d0ae07163f9eb92dab940e3cd743a3c88fc006fdc436ad22167a38c0ddb5
6
+ metadata.gz: f0b98e54c0b462c2a8b0f73aaebdbdedad81d40bb6993e840c4e9c54e5c8f5e70958cd5059649d166fdc0efab9d27cf9f3b307f4a99177369c255e4b6e0c22c0
7
+ data.tar.gz: a87c7f90490df1b31787f262623f06c1f6047fc99931915ccc7fefbbd016f1ad3ee551c65a9136e3a10ac40d664e94973c7e910f7d2aa760803e3f2dbc8f07fd
@@ -16,7 +16,7 @@ module Queryable
16
16
  private
17
17
 
18
18
  def query_params
19
- @query_params ||= params.fetch(:query_params, {})
19
+ @query_params ||= params[:query_params] || params || {}
20
20
  end
21
21
 
22
22
  def sanitized_query_params
data/lib/apill/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Apill
2
- VERSION = '2.4.0'
2
+ VERSION = '2.5.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.4.0
4
+ version: 2.5.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-02-28 00:00:00.000000000 Z
11
+ date: 2015-03-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: human_error