jsonapi.rb 1.5.1 → 1.5.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: e8ab954fc5d38b6dca31a478d98b73fb98927221
4
- data.tar.gz: 5b3f497a7eabdf96f487f2101f8b5b6783692a03
3
+ metadata.gz: d4ed141ddf2adac710bf79e87e808742dd66faf8
4
+ data.tar.gz: 8dd73ca01704a2611391fbb2d66fbe0792460ea3
5
5
  SHA512:
6
- metadata.gz: 1a7d7d8c51e68f657273c5b4cb4e8441f9f53eddc0c928c2974bc5c0603339cc680e8b5dd0648930dbcc0af0ef9f30673d3f84b994c3a507a590f7a0a5d139e3
7
- data.tar.gz: f2a57cd3c285eb074bc0a05f01e94f510e10eafc0b90f5d1fbdbfca80df86882490145e986b12f6ea29cdf30d4b799ce39dce3f867dd7601a661d82b4274e348
6
+ metadata.gz: 81ba45f8d56a8fc11a40b0a90564a6a16e5f2847de61f0cf37f5f48ba3409b6baccad4b2ac5111640961f7e4a057ab6711b9acf9c92a2dafea416c157a3c572f
7
+ data.tar.gz: c736adcbd1b3ba90353e579d7abef489c00f8f720f013a6e8c53591884a8d56b8880c727052e4e22933a360d10ded30cad706cb062d9af9e3d01d9c8aadaa2fd
@@ -8,7 +8,7 @@ GIT
8
8
  PATH
9
9
  remote: .
10
10
  specs:
11
- jsonapi.rb (1.5.1)
11
+ jsonapi.rb (1.5.2)
12
12
  fast_jsonapi (~> 1.5)
13
13
  rack
14
14
  ransack
@@ -13,7 +13,7 @@ module JSONAPI
13
13
 
14
14
  ActiveSupport::HashWithIndifferentAccess.new.tap do |h|
15
15
  params[:fields].each do |k, v|
16
- h[k] = v.split(',').map(&:strip).compact
16
+ h[k] = v.to_s.split(',').map(&:strip).compact
17
17
  end
18
18
  end
19
19
  end
@@ -1,3 +1,3 @@
1
1
  module JSONAPI
2
- VERSION = '1.5.1'
2
+ VERSION = '1.5.2'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jsonapi.rb
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.5.1
4
+ version: 1.5.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stas Suscov
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-05-10 00:00:00.000000000 Z
11
+ date: 2019-05-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: fast_jsonapi