librails 0.2.1 → 0.2.2

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: 7277bb7e704d7bafe62739abd7a89d944672615b
4
- data.tar.gz: 832563e9d0fb0eb8b13bb2d41b6965da843e3a3c
3
+ metadata.gz: 9234ec434da3d0a83d86f571acce99799397f83a
4
+ data.tar.gz: f5b41cf59bae8a481849a8a53bb92eb8e6215d8f
5
5
  SHA512:
6
- metadata.gz: d22684b43a390bca7a8b40f32fec9d7198437acd14a4e2aca4be4d8dba25ea23f857583f80f73486886daa342d35880c95eaf7ae86e6521b26d0d477bb3ed7df
7
- data.tar.gz: b9d3b554f73ba12e467cbeadb365d5532ba6cb4786505575a12c931fe4a7112fe4cc155a747fa2d7162c2e2750164263b585f7cc465f36341102d03ef6b4facb
6
+ metadata.gz: 92089077f4a17c98cd14e27ff7c5f8128c0fbc559000cb485fa8a88bdbc9885369b7ebabf8b93e221bfbda57536bc2df145e0a733cb7aad4763b5720bcae041b
7
+ data.tar.gz: 1b0da19f0ae0bc90af2804ce2498631a3286793ed335a40a7fae805159f9dbf4b162d140b271d2604273a9231e2293626dbd2646aec6ee17273e533796e04236
@@ -25,7 +25,7 @@ module Librails
25
25
  def ransack_value(params, value_param, query_param = 'q')
26
26
  q = params[query_param]
27
27
  return nil unless q
28
- return nil unless q.kind_of?(Hash)
28
+ return nil unless q.kind_of?(ActionController::Parameters)
29
29
  q[value_param]
30
30
  end
31
31
  end
@@ -1,3 +1,3 @@
1
1
  module Librails
2
- VERSION = "0.2.1"
2
+ VERSION = "0.2.2"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: librails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - src
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-03-16 00:00:00.000000000 Z
11
+ date: 2017-05-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails