userializer 0.1.4 → 0.1.5

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: ffef1e179dd3b2b19e6a55f24edc24c691a0885aa6bcc0585e5600296d6697f8
4
- data.tar.gz: 9f6bfe4b0203808dc37ba579ade7386b0025d6593721fb1a330298e79ee76f75
3
+ metadata.gz: 97fa2e63cfd59d981e9a7f8eac172e31830d53ad572aaab8683e62fa26410d27
4
+ data.tar.gz: 1a6c4b3947dcbe65c7b915ef3f5538e68f0b35805860cd5eb2fe03d01e9b7299
5
5
  SHA512:
6
- metadata.gz: 2f3e01d2b9dbd0324c21d8917b4e1f4bf2909ea73b7f6233ccbff2b3b61e35849b398dbed0bb3b82e140ce38934905c62213b492ee21856b2cc4551996035fad
7
- data.tar.gz: 587444031cec4029296277202efa952b3785b9d3127908205fe0237d115b7fc0ecbd80b6f56533f282d99ec0b9f98bdca3012974377355dd0a9b0a1da6882e4a
6
+ metadata.gz: 1f58f0270860f307e07c2d80a8ee620e338e75db06316e1fedd0f7f916c1cafa96122363b5ff7c775cdc2376483718ca07aa84264a284546d4f9bc72c1e373ab
7
+ data.tar.gz: '0539527fde035a912a6c97dc1e25d83a49e2a1ada7a30ee9df93f890e7e9d5b76e7b120f88704a2b37f2b9dbaa9c170c4229aeb33f602bb4d4a104c9b4419e7c'
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- userializer (0.1.4)
4
+ userializer (0.1.5)
5
5
  activesupport
6
6
  oj
7
7
 
@@ -8,8 +8,8 @@ module USerializer
8
8
  class BaseSerializer
9
9
  class << self
10
10
  def inherited(subclass)
11
- subclass.attrs = self.attrs || { id: Attribute.new(:id, {}, nil) }
12
- subclass.relations = self.relations || {}
11
+ subclass.attrs = self.attrs.dup || { id: Attribute.new(:id, {}, nil) }
12
+ subclass.relations = self.relations.dup || {}
13
13
  end
14
14
 
15
15
  def attributes(*attrs, &block)
@@ -1,3 +1,3 @@
1
1
  module USerializer
2
- VERSION = "0.1.4"
2
+ VERSION = "0.1.5"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: userializer
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alexis Montagne
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-06-03 00:00:00.000000000 Z
11
+ date: 2019-06-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler