parliament-grom-decorators 1.0.4 → 1.0.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/parliament/grom/decorator/laying.rb +10 -0
- data/lib/parliament/grom/decorator/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f4e5d57221401aa24b5bfc8afa58e4bf972be5ad
|
4
|
+
data.tar.gz: 4dd3a25b3486ca4f18f64e0b61a344b06d774c27
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 55fa832acac7fcecaeb6118b71a45904b92afbbec0bea3e26dcbdf8a6f351776e3b658794ab6873a263f714d0db7c86ecd6de1ef2c51d2acbcf0beedea66e651
|
7
|
+
data.tar.gz: 1e9757904e24833b8b5d9ee0a1ad7a6be76556ad5dbfc9dfa6d7c79dcee41d52ce7f0857da2ac8f53e4884355aace2de3b6a32531666b9ca9398ca2974c59720
|
@@ -20,6 +20,16 @@ module Parliament
|
|
20
20
|
@body = Helpers::Utils.type_safe_first(layingHasLayingBody, Parliament::Grom::Decorator::Group)
|
21
21
|
end
|
22
22
|
|
23
|
+
# Alias businessItemHasProcedureStep with fallback.
|
24
|
+
#
|
25
|
+
# @return [Grom::Node, nil] the ProcedureStep of the Grom::Node or nil.
|
26
|
+
def procedure_step
|
27
|
+
return @procedure_step if @procedure_step
|
28
|
+
return nil unless respond_to?(:businessItemHasProcedureStep)
|
29
|
+
|
30
|
+
@procedure_step = Helpers::Utils.type_safe_first(businessItemHasProcedureStep, Parliament::Grom::Decorator::ProcedureStep)
|
31
|
+
end
|
32
|
+
|
23
33
|
# Alias layingHasLayingPerson with fallback.
|
24
34
|
#
|
25
35
|
# @return [Grom::Node, nil] the LayingPerson of the Grom::Node or nil.
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: parliament-grom-decorators
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Rebecca Appleyard
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-12-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|