imap_processor 1.8.0 → 1.8.1

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: ce222f1cb8f32b1db12c7d73f70df7651435e2a2a84c0a6a50bd22dc3a07d8b5
4
- data.tar.gz: 6bc68677e713f0d6414995ef51861166d3316131b6ada39c4e506f2fba4c6b7c
3
+ metadata.gz: 1a9e8dcaced2039fb6596ac7aecc23e76454592000b8da87994799ac34ed9843
4
+ data.tar.gz: 2989cac236ba9fee1eec47a1a4882c39adf2195729ed93db7cb1cd4b579904e6
5
5
  SHA512:
6
- metadata.gz: 07f96e7acb7aae8846b6f5c95c8abf4ac981f0ca0ea18506c0d596380fd57687d40b5bddaca06fd8b2383484c1d8da42596e3a93c1558195d111ab396ac1893f
7
- data.tar.gz: 2c869d58045ea7b20916ee5b7f65570af46e1938dc4034e20ab2d9ae11557ea58d9b4a9e568c0e6d35b6c418fbdfb4b681e5bed18b34bc6d02c7f8cb5b4a4c4f
6
+ metadata.gz: f63c1e50661ac9e42a4c1b0ce058f68055b48728212853c1eb713e5a3b7df44345fcc0089640f1ee24d4c8e4f7c87f257aeb48262bcc62daece5ec2b6d03ad40
7
+ data.tar.gz: f94ab9c7c1c232e47caf59cfaab928e2086c2bf355540d2b69a858c3440a5c68b44ed5c379c519e6694d90edffe0900dd44ed18d351514e9c683b03c2d425fce
checksums.yaml.gz.sig CHANGED
Binary file
data/History.rdoc CHANGED
@@ -1,3 +1,9 @@
1
+ === 1.8.1 / 2023-07-27
2
+
3
+ * 1 bug fix:
4
+
5
+ * Cleanse: Use Regexp.escape when searching mailboxen.
6
+
1
7
  === 1.8.0 / 2023-01-09
2
8
 
3
9
  * 1 major enhancement:
@@ -52,7 +52,7 @@ imap_cleanse removes old messages from your IMAP mailboxes.
52
52
  # selected mailbox (see Net::IMAP#select).
53
53
 
54
54
  def find_messages
55
- mailbox = @boxes.find { |box| @mailbox =~ /#{box}/ } # TODO: needs more work
55
+ mailbox = @boxes.find { |box| @mailbox =~ /#{Regexp.escape box}/ }
56
56
  raise unless mailbox
57
57
  age = @cleanse[mailbox]
58
58
  before_date = (Time.now - 86400 * age).imapdate
@@ -28,7 +28,7 @@ class IMAPProcessor
28
28
  ##
29
29
  # The version of IMAPProcessor you are using
30
30
 
31
- VERSION = "1.8.0"
31
+ VERSION = "1.8.1"
32
32
 
33
33
  ##
34
34
  # Base IMAPProcessor error class
data.tar.gz.sig CHANGED
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: imap_processor
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.8.0
4
+ version: 1.8.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ryan Davis
@@ -30,7 +30,7 @@ cert_chain:
30
30
  ROfWo9Uyp8ba/j9eVG14KkYRaLydAY1MNQk2yd3R5CGfeOpD1kttxjoypoUJ2dOG
31
31
  nsNBRuQJ1UfiCG97a6DNm+Fr
32
32
  -----END CERTIFICATE-----
33
- date: 2023-01-09 00:00:00.000000000 Z
33
+ date: 2023-07-27 00:00:00.000000000 Z
34
34
  dependencies:
35
35
  - !ruby/object:Gem::Dependency
36
36
  name: rdoc
@@ -148,7 +148,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
148
148
  - !ruby/object:Gem::Version
149
149
  version: '0'
150
150
  requirements: []
151
- rubygems_version: 3.4.1
151
+ rubygems_version: 3.4.10
152
152
  signing_key:
153
153
  specification_version: 4
154
154
  summary: IMAPProcessor is a client for processing messages on an IMAP server
metadata.gz.sig CHANGED
Binary file