net-imap 0.4.10 → 0.4.20
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/BSDL +22 -0
- data/COPYING +56 -0
- data/LICENSE.txt +3 -22
- data/lib/net/imap/command_data.rb +2 -2
- data/lib/net/imap/config/attr_accessors.rb +75 -0
- data/lib/net/imap/config/attr_inheritance.rb +90 -0
- data/lib/net/imap/config/attr_type_coercion.rb +65 -0
- data/lib/net/imap/config.rb +524 -0
- data/lib/net/imap/data_encoding.rb +1 -1
- data/lib/net/imap/deprecated_client_options.rb +3 -3
- data/lib/net/imap/errors.rb +34 -1
- data/lib/net/imap/flags.rb +1 -1
- data/lib/net/imap/response_data.rb +8 -59
- data/lib/net/imap/response_parser/parser_utils.rb +6 -6
- data/lib/net/imap/response_parser.rb +35 -15
- data/lib/net/imap/response_reader.rb +75 -0
- data/lib/net/imap/sasl/external_authenticator.rb +1 -1
- data/lib/net/imap/sasl.rb +1 -1
- data/lib/net/imap/sequence_set.rb +267 -121
- data/lib/net/imap/uidplus_data.rb +326 -0
- data/lib/net/imap.rb +299 -88
- data/net-imap.gemspec +3 -3
- data/rakelib/benchmarks.rake +1 -1
- metadata +12 -11
- data/.github/dependabot.yml +0 -6
- data/.github/workflows/pages.yml +0 -46
- data/.github/workflows/test.yml +0 -31
- data/.gitignore +0 -12
data/net-imap.gemspec
CHANGED
@@ -11,7 +11,7 @@ Gem::Specification.new do |spec|
|
|
11
11
|
spec.name = name
|
12
12
|
spec.version = version
|
13
13
|
spec.authors = ["Shugo Maeda", "nicholas a. evans"]
|
14
|
-
spec.email = ["shugo@ruby-lang.org", "nick@
|
14
|
+
spec.email = ["shugo@ruby-lang.org", "nick@rubinick.dev"]
|
15
15
|
|
16
16
|
spec.summary = %q{Ruby client api for Internet Message Access Protocol}
|
17
17
|
spec.description = %q{Ruby client api for Internet Message Access Protocol}
|
@@ -25,9 +25,9 @@ Gem::Specification.new do |spec|
|
|
25
25
|
|
26
26
|
# Specify which files should be added to the gem when it is released.
|
27
27
|
# The `git ls-files -z` loads the files in the RubyGem that have been added into git.
|
28
|
-
spec.files = Dir.chdir(
|
28
|
+
spec.files = Dir.chdir(__dir__) do
|
29
29
|
`git ls-files -z 2>/dev/null`.split("\x0")
|
30
|
-
.
|
30
|
+
.grep_v(%r{^(\.git(ignore)?|\.mailmap|(\.github|bin|test|spec|benchmarks|features|rfcs)/)})
|
31
31
|
end
|
32
32
|
spec.bindir = "exe"
|
33
33
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
data/rakelib/benchmarks.rake
CHANGED
@@ -26,7 +26,7 @@ file "benchmarks/parser.yml" => PARSER_TEST_FIXTURES do |t|
|
|
26
26
|
files = path.glob("*.yml")
|
27
27
|
tests = files.flat_map {|file|
|
28
28
|
file.read
|
29
|
-
.gsub(%r{([-:]) !ruby/(object|struct):\S+}) { $1 }
|
29
|
+
.gsub(%r{([-:]) !ruby/(object|struct|array):\S+}) { $1 }
|
30
30
|
.then {
|
31
31
|
YAML.safe_load(_1, filename: file,
|
32
32
|
permitted_classes: [Symbol, Regexp], aliases: true)
|
metadata
CHANGED
@@ -1,15 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: net-imap
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.20
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Shugo Maeda
|
8
8
|
- nicholas a. evans
|
9
|
-
autorequire:
|
10
9
|
bindir: exe
|
11
10
|
cert_chain: []
|
12
|
-
date:
|
11
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
13
12
|
dependencies:
|
14
13
|
- !ruby/object:Gem::Dependency
|
15
14
|
name: net-protocol
|
@@ -42,15 +41,13 @@ dependencies:
|
|
42
41
|
description: Ruby client api for Internet Message Access Protocol
|
43
42
|
email:
|
44
43
|
- shugo@ruby-lang.org
|
45
|
-
- nick@
|
44
|
+
- nick@rubinick.dev
|
46
45
|
executables: []
|
47
46
|
extensions: []
|
48
47
|
extra_rdoc_files: []
|
49
48
|
files:
|
50
|
-
-
|
51
|
-
-
|
52
|
-
- ".github/workflows/test.yml"
|
53
|
-
- ".gitignore"
|
49
|
+
- BSDL
|
50
|
+
- COPYING
|
54
51
|
- Gemfile
|
55
52
|
- LICENSE.txt
|
56
53
|
- README.md
|
@@ -59,6 +56,10 @@ files:
|
|
59
56
|
- lib/net/imap.rb
|
60
57
|
- lib/net/imap/authenticators.rb
|
61
58
|
- lib/net/imap/command_data.rb
|
59
|
+
- lib/net/imap/config.rb
|
60
|
+
- lib/net/imap/config/attr_accessors.rb
|
61
|
+
- lib/net/imap/config/attr_inheritance.rb
|
62
|
+
- lib/net/imap/config/attr_type_coercion.rb
|
62
63
|
- lib/net/imap/data_encoding.rb
|
63
64
|
- lib/net/imap/deprecated_client_options.rb
|
64
65
|
- lib/net/imap/errors.rb
|
@@ -67,6 +68,7 @@ files:
|
|
67
68
|
- lib/net/imap/response_data.rb
|
68
69
|
- lib/net/imap/response_parser.rb
|
69
70
|
- lib/net/imap/response_parser/parser_utils.rb
|
71
|
+
- lib/net/imap/response_reader.rb
|
70
72
|
- lib/net/imap/sasl.rb
|
71
73
|
- lib/net/imap/sasl/anonymous_authenticator.rb
|
72
74
|
- lib/net/imap/sasl/authentication_exchange.rb
|
@@ -93,6 +95,7 @@ files:
|
|
93
95
|
- lib/net/imap/stringprep/saslprep_tables.rb
|
94
96
|
- lib/net/imap/stringprep/tables.rb
|
95
97
|
- lib/net/imap/stringprep/trace.rb
|
98
|
+
- lib/net/imap/uidplus_data.rb
|
96
99
|
- net-imap.gemspec
|
97
100
|
- rakelib/benchmarks.rake
|
98
101
|
- rakelib/rdoc.rake
|
@@ -108,7 +111,6 @@ metadata:
|
|
108
111
|
homepage_uri: https://github.com/ruby/net-imap
|
109
112
|
source_code_uri: https://github.com/ruby/net-imap
|
110
113
|
changelog_uri: https://github.com/ruby/net-imap/releases
|
111
|
-
post_install_message:
|
112
114
|
rdoc_options: []
|
113
115
|
require_paths:
|
114
116
|
- lib
|
@@ -123,8 +125,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
123
125
|
- !ruby/object:Gem::Version
|
124
126
|
version: '0'
|
125
127
|
requirements: []
|
126
|
-
rubygems_version: 3.
|
127
|
-
signing_key:
|
128
|
+
rubygems_version: 3.6.7
|
128
129
|
specification_version: 4
|
129
130
|
summary: Ruby client api for Internet Message Access Protocol
|
130
131
|
test_files: []
|
data/.github/dependabot.yml
DELETED
data/.github/workflows/pages.yml
DELETED
@@ -1,46 +0,0 @@
|
|
1
|
-
name: Deploy RDoc site to Pages
|
2
|
-
|
3
|
-
on:
|
4
|
-
push:
|
5
|
-
branches: [ 'master' ]
|
6
|
-
workflow_dispatch:
|
7
|
-
|
8
|
-
permissions:
|
9
|
-
contents: read
|
10
|
-
pages: write
|
11
|
-
id-token: write
|
12
|
-
|
13
|
-
concurrency:
|
14
|
-
group: "pages"
|
15
|
-
cancel-in-progress: true
|
16
|
-
|
17
|
-
jobs:
|
18
|
-
build:
|
19
|
-
runs-on: ubuntu-latest
|
20
|
-
steps:
|
21
|
-
- name: Checkout
|
22
|
-
uses: actions/checkout@v4
|
23
|
-
- name: Setup Ruby
|
24
|
-
uses: ruby/setup-ruby@250fcd6a742febb1123a77a841497ccaa8b9e939 # v1.152.0
|
25
|
-
with:
|
26
|
-
ruby-version: '3.2'
|
27
|
-
bundler-cache: true
|
28
|
-
- name: Setup Pages
|
29
|
-
id: pages
|
30
|
-
uses: actions/configure-pages@v4
|
31
|
-
- name: Build with RDoc
|
32
|
-
run: bundle exec rake rdoc
|
33
|
-
- name: Upload artifact
|
34
|
-
uses: actions/upload-pages-artifact@v3
|
35
|
-
with: { path: 'doc' }
|
36
|
-
|
37
|
-
deploy:
|
38
|
-
environment:
|
39
|
-
name: github-pages
|
40
|
-
url: ${{ steps.deployment.outputs.page_url }}
|
41
|
-
runs-on: ubuntu-latest
|
42
|
-
needs: build
|
43
|
-
steps:
|
44
|
-
- name: Deploy to GitHub Pages
|
45
|
-
id: deployment
|
46
|
-
uses: actions/deploy-pages@v4
|
data/.github/workflows/test.yml
DELETED
@@ -1,31 +0,0 @@
|
|
1
|
-
name: ubuntu
|
2
|
-
|
3
|
-
on: [push, pull_request]
|
4
|
-
|
5
|
-
jobs:
|
6
|
-
ruby-versions:
|
7
|
-
uses: ruby/actions/.github/workflows/ruby_versions.yml@master
|
8
|
-
with:
|
9
|
-
engine: cruby
|
10
|
-
min_version: 2.7
|
11
|
-
|
12
|
-
build:
|
13
|
-
needs: ruby-versions
|
14
|
-
name: build (${{ matrix.ruby }} / ${{ matrix.os }})
|
15
|
-
strategy:
|
16
|
-
matrix:
|
17
|
-
ruby: ${{ fromJson(needs.ruby-versions.outputs.versions) }}
|
18
|
-
os: [ ubuntu-latest, macos-latest ]
|
19
|
-
experimental: [false]
|
20
|
-
runs-on: ${{ matrix.os }}
|
21
|
-
continue-on-error: ${{ matrix.experimental }}
|
22
|
-
steps:
|
23
|
-
- uses: actions/checkout@v4
|
24
|
-
- name: Set up Ruby
|
25
|
-
uses: ruby/setup-ruby@v1
|
26
|
-
with:
|
27
|
-
ruby-version: ${{ matrix.ruby }}
|
28
|
-
bundler-cache: true
|
29
|
-
rubygems: 3.4.22
|
30
|
-
- name: Run test
|
31
|
-
run: bundle exec rake test
|