evt-messaging-fixtures 1.1.2.1 → 1.1.2.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: 85e9f2c72d37fc952f66845c220b61ef07bbbf20b104a349c8b5ac00664e5951
4
- data.tar.gz: 1d4dcad3c3c19e475b01539f6086725993051d4449402b2e9ee6e0ea85d174f4
3
+ metadata.gz: 8312a954b5f432236fff5110a3b8e7995aa31eedcdf28ae01c159a25b85ed195
4
+ data.tar.gz: 9d42fd7058998687de8b4317e592129c8ad0564275c697ae61a0b193dde575d7
5
5
  SHA512:
6
- metadata.gz: 9f2f55094442e66f12523930363ba14e9b39f08602d3e4869b34e4914301dbe03b78dfc9ad2420b62e26fb5143c69c9b1a11a417c4a30318af49fb25f798a7a8
7
- data.tar.gz: d67172e081b097e53d85efb55f894e02f80494222794f7976c79e860c3a0fba931c04fd2af247336099aee160784c2dbdb579af65a511ea220a93b22dc0760e2
6
+ metadata.gz: 28d1fc132b099276109c76abdd5ad07783a6a4247664efcbceccf368e481bb7af0a5f954eb9e6497827ca07f256ff3279ad0fb6c4249b4891ebcf095fd5e922f
7
+ data.tar.gz: dec2f6285a30768713723b615de98642103cdcce69f9a6bc05de6c9ffa1ceab68719216dec55a577464f3df1b049bb699fcdc272b56188be0cb95ffd6a86ce11
@@ -23,7 +23,15 @@ module Messaging
23
23
  end
24
24
 
25
25
  def title_context_name
26
- @title_context_name ||= "Message: #{message_type}"
26
+ if @title_context_name.nil?
27
+ @title_context_name = "Message"
28
+
29
+ if not message.nil?
30
+ @title_context_name = "#{@title_context_name}: #{message_type}"
31
+ end
32
+ end
33
+
34
+ @title_context_name
27
35
  end
28
36
 
29
37
  initializer :message, :source_message, na(:title_context_name), :test_block
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: evt-messaging-fixtures
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.2.1
4
+ version: 1.1.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - The Eventide Project
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-08-25 00:00:00.000000000 Z
11
+ date: 2020-08-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: evt-entity_store