imap_mogura 0.4.0 → 0.4.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3889ab4ffaf619e936cb0a0dcf3aa0dd8eb7b5613866028c75ccc10c274f933e
4
- data.tar.gz: e3c626aba3ffab681a53e9ccb8b8f436ba86ee3d790c373ba486b81e26daf6c1
3
+ metadata.gz: 1098d9f2efbc9c5217d93bb2cc3577f90cd64884ccea587163166abfb5160275
4
+ data.tar.gz: 1a9c668019cb0da2093aab3ff88e03956bf43b83c359947085808c10ee2735c8
5
5
  SHA512:
6
- metadata.gz: d4c0fe1d4db3a23912e681cbd17a1bf13ba8b02f961a04ce44497659ec672b22b166a737bb6a258e5c6c10c7d067810064833e595063b56ba1aea25967da9378
7
- data.tar.gz: 30a8d4e087f2c3d0aba2ca58237afba9c9fc1e6da17fef7006822dbbecce1c80164cbf7c3f02b0b95d451303e0e8003346c93bc33bf5989bb5ceee5765986302
6
+ metadata.gz: 0fcf8a3ba59e7d38d88be956308697b278d5db988bfb26544ffaf35f7ccd70292fc1665b6746d763980a1e281c225edbd557d41870d33514d28cad20e90e3100
7
+ data.tar.gz: cf92e40b912996ec5a395ad9722a12f8f303b569354a87911b855d44308cdf69fada23fabbd655eacf65ac3bcc04edb8505e4f86a148b31cd8467b401ed5e376
@@ -39,13 +39,15 @@ module ImapMogura
39
39
 
40
40
  class AndOperator < LogicalOperator
41
41
  def match?(mail)
42
- @operands.all? { |elm| elm.match?(mail) }
42
+ debug_out_before_trying_rule("All of the operands match the rule")
43
+ debug_out_if_it_matches_rule(@operands.all? { |elm| elm.match?(mail) })
43
44
  end
44
45
  end
45
46
 
46
47
  class OrOperator < LogicalOperator
47
48
  def match?(mail)
48
- @operands.any? { |elm| elm.match?(mail) }
49
+ debug_out_before_trying_rule("Any of the operands matches the rule")
50
+ debug_out_if_it_matches_rule(@operands.any? { |elm| elm.match?(mail) })
49
51
  end
50
52
  end
51
53
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module ImapMogura
4
- VERSION = "0.4.0"
4
+ VERSION = "0.4.1"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: imap_mogura
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - ysk
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2025-01-06 00:00:00.000000000 Z
11
+ date: 2025-01-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: base64