jsonapi.rb 1.4.2 → 1.4.3

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: 8b1ee1a4a7cd79049959e65fed77c429414082d3
4
- data.tar.gz: '0026897226e3074b5944b9ceac0dc4185ccb64d2'
3
+ metadata.gz: '078a4013116a56347b75f38cb951c7856634e759'
4
+ data.tar.gz: 880fbb7f75ccf7800c983a440c911011735318af
5
5
  SHA512:
6
- metadata.gz: 74be35a6b3eb14db777853c44b4cb0430e344f9dfb643a9e875fd05b1482b05708e8767aa9b8491ae05956c3492694e5c2a85d243848681c9f8e95c11e172b6d
7
- data.tar.gz: 6b97c6e0e0b7bcebacf25a6895d4b24c5e079e41178d17601440cf341d22e7cba256c67132cc9ea65727859c257e95d5d7c89a1b5c2ca2b7d10dec9575591d5a
6
+ metadata.gz: 2c6cc8f62b6177ef07ccf875afeb25bd683328a6427a6f3178fdabdb0b737b94712c576fda1ad11c1813eea44bd63747134d77c7c18cd1e1123ea17c622c5fa5
7
+ data.tar.gz: 64cd58a070442aeec8784885a0e6566c057e21e0445016f63c644d66c51c14942b1c5381ec5cdd3d155120849140cf183609b1130aee8f43ed57147bfcbf83b3
@@ -11,4 +11,4 @@ env:
11
11
  before_install:
12
12
  - rm -f Gemfile.lock
13
13
  - gem uninstall -v '>= 2' -i $(rvm gemdir)@global -ax bundler || true
14
- - bundler || gem install bundler -v '< 2'
14
+ - bundler --version || gem install bundler -v '< 2'
@@ -8,7 +8,7 @@ GIT
8
8
  PATH
9
9
  remote: .
10
10
  specs:
11
- jsonapi.rb (1.4.1)
11
+ jsonapi.rb (1.4.3)
12
12
  fast_jsonapi (~> 1.5)
13
13
  rack
14
14
  ransack
@@ -33,7 +33,9 @@ module JSONAPI
33
33
  return links if pagination.blank?
34
34
 
35
35
  original_params = params.except(
36
- *request.path_parameters.keys.map(&:to_s)).to_unsafe_h
36
+ *request.path_parameters.keys.map(&:to_s)
37
+ ).to_unsafe_h.with_indifferent_access
38
+
37
39
  original_params[:page] ||= {}
38
40
  original_url = request.base_url + request.path + '?'
39
41
 
@@ -1,3 +1,3 @@
1
1
  module JSONAPI
2
- VERSION = '1.4.2'
2
+ VERSION = '1.4.3'
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.4.2
4
+ version: 1.4.3
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-02-17 00:00:00.000000000 Z
11
+ date: 2019-02-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: fast_jsonapi