simple-serializer 0.1.3 → 0.1.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/simple_serializer.rb +2 -2
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1ba5dcaebcf6bf2c8800282c3e1ae64ea01d78ecdd32d94312a8316bccd2b48d
4
- data.tar.gz: 4fba6505710f93bc55e45a1c7b722744033a6121bdfd51b56bc66499e1779bcc
3
+ metadata.gz: b16bb9cbab2643eb539ea0e1dd1ea4a99dcee623e28a5147d1ea91febd1d3e54
4
+ data.tar.gz: 673c7795f0c85abb4d0a3802bdfc8a20d0c4d4d2c86775397a49843abf75e00d
5
5
  SHA512:
6
- metadata.gz: 6393e7a5c842bd51a6503c7545fc8c0080097d5dcd4c78ed0caeb537b90bcdd9091bb041d86a5bf2a83490bd4f5baf808439903f5b31e7f0357471e759d250de
7
- data.tar.gz: '08d4604e98b21e84a9d1243577c2e31b145cefa40519e26bd76841a2ac088008d84c95131209a3fe6e64864b915c8dad3fd99b616a9f2dc6a211d09444150380'
6
+ metadata.gz: b5d36e897bbe0256cb91693ff5863b870fb2a2b9c2dacfba496b6119e34e9f982fd397aea037beb8ba749f34ae8812fc1c684ea5315a0ae8a1c6597f58c445fa
7
+ data.tar.gz: 6e936d6b429421b8c9e53b93fad589ba87ff8218dd29cf8e3c946691c83a1dba95962cc2cf9844f17db92842c4cdb8d29eff9afa981891c43f3d0ea54054dc47
@@ -1,7 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  class SimpleSerializer
4
- VERSION = '0.1.3'
4
+ VERSION = '0.1.4'
5
5
 
6
6
  def initialize(object)
7
7
  @object = object
@@ -17,7 +17,7 @@ class SimpleSerializer
17
17
  attr_reader :fields
18
18
 
19
19
  def inherited(sub)
20
- sub.instance_variable_set(:@fields, fields.to_h)
20
+ sub.instance_variable_set(:@fields, fields.to_h.dup)
21
21
  end
22
22
 
23
23
  def helpers
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: simple-serializer
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mikhail Slyusarev