jsonapi_compliable 0.11.33 → 0.11.34

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
  SHA256:
3
- metadata.gz: 01f3e608b051cfaa5b57ba3a7fb903efa236bd7cd0133ca51f877e9e1075f520
4
- data.tar.gz: 7d22b7ed049c4a2a1102de5dff16f6b7176a3ef101801a26b378432b6b839f6a
3
+ metadata.gz: 2b577a79ded38bd4613b559334071632b188d2b78f14cc0cb882b5375a37b5a4
4
+ data.tar.gz: 49f8349533f4dcd5be4344b4bf54997eaef316cd279611ca830e323ee421f9e0
5
5
  SHA512:
6
- metadata.gz: ff96d1a22840b5a92d2908c9755e3868cedf74d65946823865a94161e9b3654924db34aed625c2d72a6a297fc2bc2e990ddff567f7c03772c3d665cbb892ec37
7
- data.tar.gz: cc56759cd4ba9fe9900ca9295fb46a5683c7fcd2fe03fbd806f7e1d7bb34fe6b7cc865c1c5d427b7b1c24d9ab071f6778dfb614c8feb58f617d76e0957b3432e
6
+ metadata.gz: 5fb80bd50abadabaab56dabc4fb9f20bd2638e2da29cea7b51e5040a388d15f0ce02c2df0dbcd70d7d01b428d4de15fdfd7134a872f45da197e5a39f55776829
7
+ data.tar.gz: 00f3c45f9deb647c227d575d17589b6354025b415e7012c96722f3069eccebd2829cebcfd37987f4180e433826835039aaf3b1b82dabd5634bd760a20c7bafef
@@ -1,7 +1,8 @@
1
- sudo: false
2
1
  language: ruby
3
2
  rvm:
4
3
  - 2.3.3
4
+ dist: xenial
5
+ os: linux
5
6
 
6
7
  script: "bundle exec rake"
7
8
 
@@ -22,7 +22,7 @@ Gem::Specification.new do |spec|
22
22
 
23
23
  spec.add_development_dependency "activerecord", ['>= 4.1', '< 6']
24
24
  spec.add_development_dependency "kaminari", '~> 0.17'
25
- spec.add_development_dependency "bundler", "~> 1.12"
25
+ spec.add_development_dependency "bundler", "~> 2.1.4"
26
26
  spec.add_development_dependency "rake", "~> 10.0"
27
27
  spec.add_development_dependency "sqlite3"
28
28
  spec.add_development_dependency "database_cleaner"
@@ -209,7 +209,7 @@ module JsonapiCompliable
209
209
  key = key.to_sym
210
210
 
211
211
  if association?(key)
212
- symbolized_hash = value.each_with_object({}) do |(k, v), hash|
212
+ symbolized_hash = value.to_h.each_with_object({}) do |(k, v), hash|
213
213
  hash[k.to_sym] = v
214
214
  end
215
215
  hash[key][:filter].merge!(symbolized_hash)
@@ -1,3 +1,3 @@
1
1
  module JsonapiCompliable
2
- VERSION = "0.11.33"
2
+ VERSION = "0.11.34"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jsonapi_compliable
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.11.33
4
+ version: 0.11.34
5
5
  platform: ruby
6
6
  authors:
7
7
  - Lee Richmond
@@ -65,14 +65,14 @@ dependencies:
65
65
  requirements:
66
66
  - - "~>"
67
67
  - !ruby/object:Gem::Version
68
- version: '1.12'
68
+ version: 2.1.4
69
69
  type: :development
70
70
  prerelease: false
71
71
  version_requirements: !ruby/object:Gem::Requirement
72
72
  requirements:
73
73
  - - "~>"
74
74
  - !ruby/object:Gem::Version
75
- version: '1.12'
75
+ version: 2.1.4
76
76
  - !ruby/object:Gem::Dependency
77
77
  name: rake
78
78
  requirement: !ruby/object:Gem::Requirement