evt-message_store 0.8.0.4 → 0.8.0.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/message_store/read.rb +5 -5
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 427e55cddaa87b3db7541d8c57409ebb494cb819c6709cf41b88596fe5491db5
4
- data.tar.gz: b179e9f3c1270b725b7915ee3d9c149387874120f45abcb839ac905e6463bb03
3
+ metadata.gz: 065e577d3476a500640a4273d4efb4317d1b1685c017b39570f83385a8dc8c77
4
+ data.tar.gz: d13028d7a507148bda0102f6085a48172045d6fbd869d03af4686fe9770cbf37
5
5
  SHA512:
6
- metadata.gz: f4e65084418393b6c073ce4d3330dd97b80b0fca838ea1c342b587ab31dcbefa58568bce2f075330c4d375a96271825f43d17f5a026047ee1a554b1fe93774d6
7
- data.tar.gz: 276dfd9d1597e150f2f96a2d0430d89cdaec72538db9c39f700135d54dc17c9153d9386e8ea6e48695adbdf1b7f4573b3e7116da8e6db0d3c36c14429146e2e0
6
+ metadata.gz: b8d42c73d3f7b223b68d25885729c7576c15f7617720c6c82eec2f68207f91bedcc56859724b4d2c9d93a3bd5128e0e1fbe37a0823196225fb0086f7eeb5b663
7
+ data.tar.gz: 3a445af2490cc86dfab373dae3b2bca6dc5648906acabeda2d5831581521834c0c6bb92812dc744a7f494a75cb8fc3ade84eaf33cc5ba988841216953a4b676b
@@ -45,23 +45,23 @@ module MessageStore
45
45
  end
46
46
 
47
47
  def call(&action)
48
- logger.trace { "Reading (Stream Name: #{stream_name})" }
48
+ logger.trace(tag: :read) { "Reading (Stream Name: #{stream_name})" }
49
49
 
50
50
  if action.nil?
51
51
  error_message = "Reader must be actuated with a block"
52
- logger.error error_message
52
+ logger.error(tag: :read) { error_message }
53
53
  raise Error, error_message
54
54
  end
55
55
 
56
56
  enumerate_message_data(&action)
57
57
 
58
- logger.info { "Reading completed (Stream Name: #{stream_name})" }
58
+ logger.info(tag: :read) { "Reading completed (Stream Name: #{stream_name})" }
59
59
 
60
60
  return AsyncInvocation::Incorrect
61
61
  end
62
62
 
63
63
  def enumerate_message_data(&action)
64
- logger.trace { "Enumerating (Stream Name: #{stream_name})" }
64
+ logger.trace(tag: :read) { "Enumerating (Stream Name: #{stream_name})" }
65
65
 
66
66
  message_data = nil
67
67
 
@@ -73,7 +73,7 @@ module MessageStore
73
73
  action.(message_data)
74
74
  end
75
75
 
76
- logger.debug { "Enumerated (Stream Name: #{stream_name})" }
76
+ logger.debug(tag: :read) { "Enumerated (Stream Name: #{stream_name})" }
77
77
  end
78
78
  end
79
79
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: evt-message_store
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.0.4
4
+ version: 0.8.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - The Eventide Project