ializer 0.10.1 → 0.10.2

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: 22e363b5f9082ce3f410332d2d64ade84a64fa5411142df02a114442dae11c8f
4
- data.tar.gz: 620228e102aff724fa2e92ffccaed8869b3cb5c8f8aaa11408d37b5d730fa2fb
3
+ metadata.gz: c00a69cfd664143494407679066729ac9251cbf300d6168d1a6fa43dec1966c2
4
+ data.tar.gz: 0dc7bb3dcc2354ed6faf3d677297194aa730ea5a5f72547796eb786b09972722
5
5
  SHA512:
6
- metadata.gz: 6afc73be2994f056f271eef6f5961d633b50f3acc0b02e3ca70f2839cf85654d4225ce2a1801cd0d784ad3693d09a71f4b9fa7618d03e0d92d6db2946dde5c62
7
- data.tar.gz: 4a5ea3d806fd72c893a7128dc57ccf22fa916b5bcdb6a275ccec3ba4733a8da05f8af968793289babfafff8b6b24b6345220ef64cfd0fa48375e9f59a3c62d4b
6
+ metadata.gz: 7ccbcefea07e0df88dd2114fa53df0e98e27da13a2eaaeb54fff01663055f8a6304c9d39f0c691318cd5a54d7abaef6c9bb48f7b5068dfe8a6c33de0bcde67d5
7
+ data.tar.gz: d7cb6b38f6c6408131552a5dc93aa48bd70582ed6a0af1720cb326323bdf30db29b65e01d5b69f824f16f578a8961764371191eaf40ab9bcaa8cbf284655b875
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Ializer
4
- VERSION = '0.10.1'
4
+ VERSION = '0.10.2'
5
5
  end
@@ -11,7 +11,7 @@ module Ser
11
11
  end
12
12
  end
13
13
 
14
- attr_reader :name, :setter, :key, :deser, :model_class, :if_condition, :block, :description
14
+ attr_reader :name, :setter, :key, :deser, :model_class, :if_condition, :block, :description, :documentation
15
15
 
16
16
  def initialize(name, options, config, &block)
17
17
  @name = name
@@ -21,6 +21,7 @@ module Ser
21
21
  @if_condition = options[:if]
22
22
  @model_class = options[:model_class]
23
23
  @description = options[:desc]
24
+ @documentation = options[:documentation]
24
25
  @block = block
25
26
  end
26
27
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ializer
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.10.1
4
+ version: 0.10.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jeremy Steinberg
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-02-04 00:00:00.000000000 Z
11
+ date: 2022-02-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport