net-imap 0.5.6 → 0.5.13
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 +6 -4
- data/lib/net/imap/config/attr_type_coercion.rb +35 -22
- data/lib/net/imap/config/attr_version_defaults.rb +93 -0
- data/lib/net/imap/config.rb +90 -60
- data/lib/net/imap/connection_state.rb +48 -0
- data/lib/net/imap/errors.rb +33 -0
- data/lib/net/imap/esearch_result.rb +42 -3
- data/lib/net/imap/flags.rb +1 -1
- data/lib/net/imap/response_data.rb +0 -1
- data/lib/net/imap/response_reader.rb +73 -0
- data/lib/net/imap/search_result.rb +2 -3
- data/lib/net/imap/sequence_set.rb +577 -190
- data/lib/net/imap/vanished_data.rb +10 -1
- data/lib/net/imap.rb +278 -61
- data/rakelib/string_prep_tables_generator.rb +4 -2
- metadata +6 -3
|
@@ -388,9 +388,11 @@ class StringPrepTablesGenerator
|
|
|
388
388
|
end
|
|
389
389
|
|
|
390
390
|
def asgn_mapping(name, replacement = to_map(tables[name]))
|
|
391
|
+
indent = " " * 2
|
|
392
|
+
replacement = replacement.inspect.gsub(/" => "/, '"=>"')
|
|
391
393
|
cname = name.tr(?., ?_).upcase
|
|
392
|
-
"# Replacements for %s\n%s%s = %
|
|
393
|
-
"IN_#{name}",
|
|
394
|
+
"# Replacements for %s\n%s%s = %s.freeze" % [
|
|
395
|
+
"IN_#{name}", indent, "MAP_#{cname}", replacement,
|
|
394
396
|
]
|
|
395
397
|
end
|
|
396
398
|
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: net-imap
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.5.
|
|
4
|
+
version: 0.5.13
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Shugo Maeda
|
|
8
8
|
- nicholas a. evans
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: net-protocol
|
|
@@ -60,6 +60,8 @@ files:
|
|
|
60
60
|
- lib/net/imap/config/attr_accessors.rb
|
|
61
61
|
- lib/net/imap/config/attr_inheritance.rb
|
|
62
62
|
- lib/net/imap/config/attr_type_coercion.rb
|
|
63
|
+
- lib/net/imap/config/attr_version_defaults.rb
|
|
64
|
+
- lib/net/imap/connection_state.rb
|
|
63
65
|
- lib/net/imap/data_encoding.rb
|
|
64
66
|
- lib/net/imap/data_lite.rb
|
|
65
67
|
- lib/net/imap/deprecated_client_options.rb
|
|
@@ -70,6 +72,7 @@ files:
|
|
|
70
72
|
- lib/net/imap/response_data.rb
|
|
71
73
|
- lib/net/imap/response_parser.rb
|
|
72
74
|
- lib/net/imap/response_parser/parser_utils.rb
|
|
75
|
+
- lib/net/imap/response_reader.rb
|
|
73
76
|
- lib/net/imap/sasl.rb
|
|
74
77
|
- lib/net/imap/sasl/anonymous_authenticator.rb
|
|
75
78
|
- lib/net/imap/sasl/authentication_exchange.rb
|
|
@@ -127,7 +130,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
127
130
|
- !ruby/object:Gem::Version
|
|
128
131
|
version: '0'
|
|
129
132
|
requirements: []
|
|
130
|
-
rubygems_version: 3.6.
|
|
133
|
+
rubygems_version: 3.6.9
|
|
131
134
|
specification_version: 4
|
|
132
135
|
summary: Ruby client api for Internet Message Access Protocol
|
|
133
136
|
test_files: []
|