net-imap 0.4.10 → 0.4.11

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 40824569aad7172418bde7db999c302e9cf0243977526e8ec908083957dd6117
4
- data.tar.gz: 89ce211e3be5c350bf890ecd1e161926824fd547f6225e5a16a0dbec7b62d77b
3
+ metadata.gz: e22c26fdbf5de244369b13bf5fa5661d2c7d2f0bbe60c34d0357f55c149fcdc2
4
+ data.tar.gz: 8be09a272a068e900760f1e06730d48bdc789bf95c016899fcce20d2c0576f14
5
5
  SHA512:
6
- metadata.gz: 1a2712176f738c38b2c81682f5d488c94ea0c2a5902c9e7aa5ef92c83ada7b0534458ff3850384534a06a12c1d44ef8710a36e3cbb926e5d844fe6a9d36c2b3f
7
- data.tar.gz: 64aa5b6a2305d1a34055cdf79a3ce466131e3165c184583d03a21f1183f57a5f3745d926a4feacf93cd670a0454941b4000090a03d109643a412c6298e1b6827
6
+ metadata.gz: 4763081be958834e25897ff73405dc3a7fc635a7871212bde11b04ea2a5ec2bbd97ed97be0d916bd7643a5d43f939d17eaef32e2b9f64ed02cf8876eda7391f8
7
+ data.tar.gz: cf9aaa5a9a8cc36d23b5e8078f9d447379ed63d4534cb7c1ed12ac6fee3b8b344147960293aa14af1220ee66b1a0de400b1f1e352aed5c930786e2fb2276e215
@@ -27,7 +27,7 @@ jobs:
27
27
  bundler-cache: true
28
28
  - name: Setup Pages
29
29
  id: pages
30
- uses: actions/configure-pages@v4
30
+ uses: actions/configure-pages@v5
31
31
  - name: Build with RDoc
32
32
  run: bundle exec rake rdoc
33
33
  - name: Upload artifact
@@ -0,0 +1,38 @@
1
+ name: Publish gem to rubygems.org
2
+
3
+ on:
4
+ push:
5
+ tags:
6
+ - v*
7
+
8
+ jobs:
9
+ push:
10
+ if: github.repository == 'ruby/net-imap'
11
+ runs-on: ubuntu-latest
12
+
13
+ permissions:
14
+ id-token: write # mandatory for trusted publishing
15
+ contents: write # required for `rake release` to push the release tag
16
+
17
+ environment:
18
+ name: RubyGems
19
+ url: https://rubygems.org/gems/net-imap
20
+
21
+ steps:
22
+ - uses: actions/checkout@v4
23
+
24
+ - name: Set up Ruby
25
+ uses: ruby/setup-ruby@v1
26
+ with:
27
+ bundler-cache: true
28
+ ruby-version: 3.2
29
+
30
+ - name: Publish to RubyGems
31
+ uses: rubygems/release-gem@v1
32
+
33
+ - name: Create GitHub release
34
+ run: |
35
+ tag_name="$(git describe --tags --abbrev=0)"
36
+ gh release create "${tag_name}" --verify-tag --draft --generate-notes
37
+ env:
38
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
@@ -1,4 +1,4 @@
1
- name: ubuntu
1
+ name: Run tests
2
2
 
3
3
  on: [push, pull_request]
4
4
 
data/.mailmap ADDED
@@ -0,0 +1,13 @@
1
+ nicholas a. evans <nick@rubinick.dev>
2
+ nicholas a. evans <nick@rubinick.dev> <nick@410labs.com>
3
+ nicholas a. evans <nick@rubinick.dev> <nick@ekenosen.net>
4
+ nicholas a. evans <nick@rubinick.dev> <nicholas.evans@gmail.com>
5
+
6
+ Shugo Maeda <shugo@ruby-lang.org>
7
+ Shugo Maeda <shugo@ruby-lang.org> <shugo@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>
8
+
9
+ Nobuyoshi Nakada <nobu@ruby-lang.org>
10
+ Nobuyoshi Nakada <nobu@ruby-lang.org> <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>
11
+
12
+ Hiroshi SHIBATA <hsbt@ruby-lang.org>
13
+ Hiroshi SHIBATA <hsbt@ruby-lang.org> <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>
@@ -1155,6 +1155,7 @@ module Net
1155
1155
  # RFC3501, RFC9051:
1156
1156
  # body-fld-param = "(" string SP string *(SP string SP string) ")" / nil
1157
1157
  def body_fld_param
1158
+ quirky_SP? # See comments on test_bodystructure_extra_space
1158
1159
  return if NIL?
1159
1160
  param = {}
1160
1161
  lpar
data/lib/net/imap.rb CHANGED
@@ -717,7 +717,7 @@ module Net
717
717
  # * {IMAP URLAUTH Authorization Mechanism Registry}[https://www.iana.org/assignments/urlauth-authorization-mechanism-registry/urlauth-authorization-mechanism-registry.xhtml]
718
718
  #
719
719
  class IMAP < Protocol
720
- VERSION = "0.4.10"
720
+ VERSION = "0.4.11"
721
721
 
722
722
  # Aliases for supported capabilities, to be used with the #enable command.
723
723
  ENABLE_ALIASES = {
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@ekenosen.net"]
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}
@@ -27,7 +27,7 @@ Gem::Specification.new do |spec|
27
27
  # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
28
28
  spec.files = Dir.chdir(File.expand_path('..', __FILE__)) do
29
29
  `git ls-files -z 2>/dev/null`.split("\x0")
30
- .reject {|f| f.match(%r{^(bin|test|spec|benchmarks|features|rfcs)/}) }
30
+ .grep_v(%r{^(\.git|\.mailmap|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) }
@@ -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,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: net-imap
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.10
4
+ version: 0.4.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Shugo Maeda
8
8
  - nicholas a. evans
9
- autorequire:
9
+ autorequire:
10
10
  bindir: exe
11
11
  cert_chain: []
12
- date: 2024-02-04 00:00:00.000000000 Z
12
+ date: 2024-05-08 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: net-protocol
@@ -42,15 +42,17 @@ dependencies:
42
42
  description: Ruby client api for Internet Message Access Protocol
43
43
  email:
44
44
  - shugo@ruby-lang.org
45
- - nick@ekenosen.net
45
+ - nick@rubinick.dev
46
46
  executables: []
47
47
  extensions: []
48
48
  extra_rdoc_files: []
49
49
  files:
50
50
  - ".github/dependabot.yml"
51
51
  - ".github/workflows/pages.yml"
52
+ - ".github/workflows/release-gem.yml"
52
53
  - ".github/workflows/test.yml"
53
54
  - ".gitignore"
55
+ - ".mailmap"
54
56
  - Gemfile
55
57
  - LICENSE.txt
56
58
  - README.md
@@ -108,7 +110,7 @@ metadata:
108
110
  homepage_uri: https://github.com/ruby/net-imap
109
111
  source_code_uri: https://github.com/ruby/net-imap
110
112
  changelog_uri: https://github.com/ruby/net-imap/releases
111
- post_install_message:
113
+ post_install_message:
112
114
  rdoc_options: []
113
115
  require_paths:
114
116
  - lib
@@ -123,8 +125,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
123
125
  - !ruby/object:Gem::Version
124
126
  version: '0'
125
127
  requirements: []
126
- rubygems_version: 3.4.22
127
- signing_key:
128
+ rubygems_version: 3.4.19
129
+ signing_key:
128
130
  specification_version: 4
129
131
  summary: Ruby client api for Internet Message Access Protocol
130
132
  test_files: []