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 +4 -4
- data/lib/ializer/version.rb +1 -1
- data/lib/ser/ializer/field.rb +2 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c00a69cfd664143494407679066729ac9251cbf300d6168d1a6fa43dec1966c2
|
4
|
+
data.tar.gz: 0dc7bb3dcc2354ed6faf3d677297194aa730ea5a5f72547796eb786b09972722
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7ccbcefea07e0df88dd2114fa53df0e98e27da13a2eaaeb54fff01663055f8a6304c9d39f0c691318cd5a54d7abaef6c9bb48f7b5068dfe8a6c33de0bcde67d5
|
7
|
+
data.tar.gz: d7cb6b38f6c6408131552a5dc93aa48bd70582ed6a0af1720cb326323bdf30db29b65e01d5b69f824f16f578a8961764371191eaf40ab9bcaa8cbf284655b875
|
data/lib/ializer/version.rb
CHANGED
data/lib/ser/ializer/field.rb
CHANGED
@@ -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.
|
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-
|
11
|
+
date: 2022-02-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|