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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 58f407417c90deee860724cf6c7466e8c4770ea5
4
- data.tar.gz: 0031a6ae9339c38c3fb4e64cf93500f3e2f2f448
3
+ metadata.gz: f4e5d57221401aa24b5bfc8afa58e4bf972be5ad
4
+ data.tar.gz: 4dd3a25b3486ca4f18f64e0b61a344b06d774c27
5
5
  SHA512:
6
- metadata.gz: 76c0c9cd7c398a763e401febbc11623c14a8fc8ae714949137bc6499c62753fc201513e5ff8333e3178c617b88ffe8d1a93643a26154a755c03a0c63cac00baa
7
- data.tar.gz: 90547af20b5bb88c608486deeff1bb3aa20a9c7dfcf23435d8cba37800148ca4143da731e8409fe0b4eb720ebabe1af361b0d195f5e6a3c006d0512c3beec2a8
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.
@@ -1,7 +1,7 @@
1
1
  module Parliament
2
2
  module Grom
3
3
  module Decorator
4
- VERSION = '1.0.4'.freeze
4
+ VERSION = '1.0.5'.freeze
5
5
  end
6
6
  end
7
7
  end
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
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-10-25 00:00:00.000000000 Z
11
+ date: 2018-12-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler