net-imap 0.5.11 → 0.5.12
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 +4 -4
- data/Gemfile +3 -3
- data/lib/net/imap/config/attr_type_coercion.rb +1 -2
- data/lib/net/imap.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 57bfc92d10c2b8f139254627f6998a5c6e1c83111c41dac22a1cae22fdc11a75
|
4
|
+
data.tar.gz: 7ca4ce789ff544967728d1b4b9106617f5c7a1b0b79beae999d0e22505e2b49c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8ec55fe5a02b72fa061cb77f23c592806fd8361d4b371f8f124fed106c93ac01359af7bb4f194341ad66035ba24e1ddee3a100ab2de08d60367e0af2a9c3c94b
|
7
|
+
data.tar.gz: b97339aae765227112a0e7308a68e969028495b243438e0dc37f049cfa310c385f4735bf5bd2460711d907c99a43abb1f8411aa72d742b5e4a3c337916500167
|
data/Gemfile
CHANGED
@@ -19,7 +19,7 @@ gem "benchmark-driver", require: false
|
|
19
19
|
gem "vernier", require: false, platform: :mri
|
20
20
|
|
21
21
|
group :test do
|
22
|
-
gem "simplecov", require: false
|
23
|
-
gem "simplecov-html", require: false
|
24
|
-
gem "simplecov-json", require: false
|
22
|
+
gem "simplecov", require: false, platforms: %i[mri windows]
|
23
|
+
gem "simplecov-html", require: false, platforms: %i[mri windows]
|
24
|
+
gem "simplecov-json", require: false, platforms: %i[mri windows]
|
25
25
|
end
|
@@ -60,8 +60,7 @@ module Net
|
|
60
60
|
NilOrInteger = safe{->val { Integer val unless val.nil? }}
|
61
61
|
|
62
62
|
Enum = ->(*enum) {
|
63
|
-
|
64
|
-
safe_enum = safe{sh_enum}
|
63
|
+
safe_enum = safe{enum}
|
65
64
|
expected = -"one of #{safe_enum.map(&:inspect).join(", ")}"
|
66
65
|
safe{->val {
|
67
66
|
return val if safe_enum.include?(val)
|
data/lib/net/imap.rb
CHANGED
@@ -788,7 +788,7 @@ module Net
|
|
788
788
|
# * {IMAP URLAUTH Authorization Mechanism Registry}[https://www.iana.org/assignments/urlauth-authorization-mechanism-registry/urlauth-authorization-mechanism-registry.xhtml]
|
789
789
|
#
|
790
790
|
class IMAP < Protocol
|
791
|
-
VERSION = "0.5.
|
791
|
+
VERSION = "0.5.12"
|
792
792
|
|
793
793
|
# Aliases for supported capabilities, to be used with the #enable command.
|
794
794
|
ENABLE_ALIASES = {
|