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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b7f77489a5f69bb5cf159039328259e7a0e52d18453b8777ab312b7051ec0542
4
- data.tar.gz: d2417b81c84dd93424983354ed42995bfc5af9ac30c8c115c75595a7746e5fc5
3
+ metadata.gz: 57bfc92d10c2b8f139254627f6998a5c6e1c83111c41dac22a1cae22fdc11a75
4
+ data.tar.gz: 7ca4ce789ff544967728d1b4b9106617f5c7a1b0b79beae999d0e22505e2b49c
5
5
  SHA512:
6
- metadata.gz: d20e857ab3284f3c2748da9b7324909d99f87cf8bfe52f44f2e77ba49154a34d39f3008106388e8c2cc644b83a72a1c71ef042617b780173a8dbb49e2c11bc6f
7
- data.tar.gz: a60ec27b5db745e3b77d7e9aa2fb75091941a84b4a6b39bf27bfd640361ca082b1861f3828efdfc31fa54090b3f851b68ba8cf5f11def050a4c49b319ce0b42d
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
- sh_enum = Ractor.make_shareable(enum)
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.11"
791
+ VERSION = "0.5.12"
792
792
 
793
793
  # Aliases for supported capabilities, to be used with the #enable command.
794
794
  ENABLE_ALIASES = {
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: net-imap
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.11
4
+ version: 0.5.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - Shugo Maeda