net-imap 0.4.21 → 0.4.22

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: ab1b84ea6eac7b0d57793127bc365c79b63eb9564386427eb66cca91cf5df294
4
- data.tar.gz: 3040f462d83f7a364fed076a730d5a9ba0512ea52ab0368765befb0e2d700dd4
3
+ metadata.gz: bf6dcd9dec4a915da25b27d419470818ac35833ff30f75c73f7e5a49946cf20c
4
+ data.tar.gz: d9a3fc1b21be8180434c4700cfbbeeeb4b302e9380e3cad13d2168cb6f9eb5f7
5
5
  SHA512:
6
- metadata.gz: a7565d3002323cdaad204bbd5eceb0b64d265e61daa41d9e3c61b8ea12ff3bbbb5f5e62298138f48a96c32553b1fcf3c6dcab7cae5776a22a521abe77b6e153c
7
- data.tar.gz: 73b9338a55d33e703c86217ee80ee7486e92dbf67b232c152d4115a89a76c4f384c39e34888d24ec8cf389af1d67ca1d1d84e3edc676ecc501495cf6b66d7dfe
6
+ metadata.gz: bb6bf40015deeb1bd40c6473f3373b51775f0f2b90db7cdb19e221e4cf17ab0f4ff1c1c796028fcec48c38c2d8cb65d42f47afce0d99add965ceb588ca2bdec6
7
+ data.tar.gz: 36dab024f741adf40fee30f8d688ef9a17aac95e9cf47a1f48560cf35314b6240a65ad807c4389815af65e034051ce94b99f61c387c0aaa39a6c87753e6f7a3a
@@ -28,11 +28,8 @@ module Net
28
28
  end
29
29
  private_class_method :included
30
30
 
31
- if defined?(Ractor.make_shareable)
32
- def self.safe(...) Ractor.make_shareable nil.instance_eval(...).freeze end
33
- else
34
- def self.safe(...) nil.instance_eval(...).freeze end
35
- end
31
+ # Used in v0.5.8+ for Ractor sharability.
32
+ def self.safe(...) nil.instance_eval(...).freeze end
36
33
  private_class_method :safe
37
34
 
38
35
  Types = Hash.new do |h, type|
data/lib/net/imap.rb CHANGED
@@ -761,7 +761,7 @@ module Net
761
761
  # * {IMAP URLAUTH Authorization Mechanism Registry}[https://www.iana.org/assignments/urlauth-authorization-mechanism-registry/urlauth-authorization-mechanism-registry.xhtml]
762
762
  #
763
763
  class IMAP < Protocol
764
- VERSION = "0.4.21"
764
+ VERSION = "0.4.22"
765
765
 
766
766
  # Aliases for supported capabilities, to be used with the #enable command.
767
767
  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.4.21
4
+ version: 0.4.22
5
5
  platform: ruby
6
6
  authors:
7
7
  - Shugo Maeda