abc_jsonapi 0.3.0 → 0.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 44cf8738d4c32a565b70155cbc4db4b9311b6deb8eefec37d93303b3097e288a
4
- data.tar.gz: c77da4b0262c50f1ed2e312591f4aea3d88b494a1628b1f5e40f02cae8c42244
3
+ metadata.gz: ed73d0683bdd01717bc79291a3d5bf0fe61d6da4bb31f719615513bdd8631efd
4
+ data.tar.gz: a6e594757abb0973a9322f7f73a112a7d47068a89d310de18e022df3f1d9b870
5
5
  SHA512:
6
- metadata.gz: c51515e94d0bdbe536b9ae61b96f493b1263a5144cc922de56c71c80667ea2c937a3b7e7647d5be392639cf6b5c5cca9a786f432a3ed68f3c0c49fb046a61d20
7
- data.tar.gz: 908a9104627de99ed4d99654bd11d2fba9a2d806e16c2c896de2dc90b5773a5e7539458bdb28fd1cd9ba328280c8fc78046fc7ccec97895ebdb6a5ef3d73a445
6
+ metadata.gz: be341fc1c95e39faa9ba747e9697999fcc9edc90ed7c0e9263bbcc22be3e06ceee4b0b2f29248688dddb52c9422a1979561b956bbfbbc3c84f643453f9dc4f2d
7
+ data.tar.gz: 8216ec14d3167d6219104c9d833acc2282defb3dbb37e5296f4c05fb62a15044e096c5d60f997cffd6a06467d91519ad259526461168766f12293ce2b6dfdbae
@@ -1,19 +1,19 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- abc_jsonapi (0.3.0)
4
+ abc_jsonapi (0.3.1)
5
5
  activesupport (>= 5.2)
6
6
  i18n
7
7
 
8
8
  GEM
9
9
  remote: https://rubygems.org/
10
10
  specs:
11
- activesupport (6.0.0)
11
+ activesupport (6.0.1)
12
12
  concurrent-ruby (~> 1.0, >= 1.0.2)
13
13
  i18n (>= 0.7, < 2)
14
14
  minitest (~> 5.1)
15
15
  tzinfo (~> 1.1)
16
- zeitwerk (~> 2.1, >= 2.1.8)
16
+ zeitwerk (~> 2.2)
17
17
  byebug (11.0.1)
18
18
  coderay (1.1.2)
19
19
  concurrent-ruby (1.1.5)
@@ -44,7 +44,7 @@ GEM
44
44
  thread_safe (0.3.6)
45
45
  tzinfo (1.2.5)
46
46
  thread_safe (~> 0.1)
47
- zeitwerk (2.2.0)
47
+ zeitwerk (2.2.1)
48
48
 
49
49
  PLATFORMS
50
50
  ruby
@@ -25,7 +25,7 @@ module AbcJsonapi
25
25
  end
26
26
 
27
27
  def serializable_hash
28
- return nil if resource.blank?
28
+ return result_hash if resource.blank?
29
29
 
30
30
  result_hash[:meta] = meta if meta.present?
31
31
  result_hash[:data] = data_hash
@@ -1,3 +1,3 @@
1
1
  module AbcJsonapi
2
- VERSION = "0.3.0"
2
+ VERSION = "0.3.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: abc_jsonapi
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Zhmakin Evgeniy
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-10-31 00:00:00.000000000 Z
11
+ date: 2019-11-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler