net-smtp 0.5.0 → 0.5.1

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.
Files changed (5) hide show
  1. checksums.yaml +4 -4
  2. data/LICENSE.txt +2 -22
  3. data/lib/net/smtp.rb +1 -1
  4. data/net-smtp.gemspec +31 -0
  5. metadata +4 -6
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1fcccbe34b29672c33aa7515de88e88dba31882e26a4b6c0a5fc30c5a4eb697d
4
- data.tar.gz: 5c47e6453d2cb69365edc7b4e31b17106b73e254e1bc10258f4b14ea780ba889
3
+ metadata.gz: bc084bee5387c51eea4508e77ce6ccd2b220f4d090f91bccfb4fc3626142a3f2
4
+ data.tar.gz: a011fe3a47fc5119090e7beed0900e83f62b34c5ecbd7b2fe8453c2c7518cdd0
5
5
  SHA512:
6
- metadata.gz: 6576c5b7dc21982576fa6c3a6e08641e973136148d5d5bcb27fe1e17b4e5fdd802c5f5a6f9f116dd15bf4f2a0e5f95f071ca19d47119cf60c7da9230a64d3a4c
7
- data.tar.gz: 9b1c54b2d9a48e384d3b1a67f1aa8b8a2614a383dc31b83d49170f3ed93d69a2058f3c310f72d443f54a0947c1066249105087a1a3addc92965c289354c8156a
6
+ metadata.gz: 29c4a47233280c89cc17360933fbdcd460c6b7e70e9023fda38ffa20f89d8afdbbd1c3cbf2d4f7db99e88aeea0e4dab5160a7b9f2d5638918372469fb531632b
7
+ data.tar.gz: a24a46eaada8bfe12b8e8e3f07e0db393a00c6db847581276f9a4263e334c93d29d31fc0792f80002415e9ace43059e160d22723bab89721b275b604cbdb83f3
data/LICENSE.txt CHANGED
@@ -1,22 +1,2 @@
1
- Copyright (C) 1993-2013 Yukihiro Matsumoto. All rights reserved.
2
-
3
- Redistribution and use in source and binary forms, with or without
4
- modification, are permitted provided that the following conditions
5
- are met:
6
- 1. Redistributions of source code must retain the above copyright
7
- notice, this list of conditions and the following disclaimer.
8
- 2. Redistributions in binary form must reproduce the above copyright
9
- notice, this list of conditions and the following disclaimer in the
10
- documentation and/or other materials provided with the distribution.
11
-
12
- THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
13
- ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
14
- IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
15
- ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
16
- FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
17
- DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
18
- OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
19
- HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
20
- LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
21
- OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
22
- SUCH DAMAGE.
1
+ All the files in this distribution are covered under either the Ruby license or
2
+ the BSD-2-Clause license (see the file COPYING).
data/lib/net/smtp.rb CHANGED
@@ -192,7 +192,7 @@ module Net
192
192
  # compatibility, but are deprecated and should be avoided.
193
193
  #
194
194
  class SMTP < Protocol
195
- VERSION = "0.5.0"
195
+ VERSION = "0.5.1"
196
196
 
197
197
  # The default SMTP port number, 25.
198
198
  def SMTP.default_port
data/net-smtp.gemspec ADDED
@@ -0,0 +1,31 @@
1
+ # frozen_string_literal: true
2
+
3
+ name = File.basename(__FILE__, ".gemspec")
4
+ version = ["lib", Array.new(name.count("-"), "..").join("/")].find do |dir|
5
+ break File.foreach(File.join(__dir__, dir, "#{name.tr('-', '/')}.rb"), :encoding => "UTF-8") do |line|
6
+ /^\s*VERSION\s*=\s*"(.*)"/ =~ line and break $1
7
+ end rescue nil
8
+ end
9
+
10
+ Gem::Specification.new do |spec|
11
+ spec.name = name
12
+ spec.version = version
13
+ spec.authors = ["Yukihiro Matsumoto"]
14
+ spec.email = ["matz@ruby-lang.org"]
15
+
16
+ spec.summary = %q{Simple Mail Transfer Protocol client library for Ruby.}
17
+ spec.description = %q{Simple Mail Transfer Protocol client library for Ruby.}
18
+ spec.homepage = "https://github.com/ruby/net-smtp"
19
+ spec.licenses = ["Ruby", "BSD-2-Clause"]
20
+ spec.required_ruby_version = ">= 2.6.0"
21
+
22
+ spec.metadata["homepage_uri"] = spec.homepage
23
+ spec.metadata["source_code_uri"] = spec.homepage
24
+
25
+ spec.files = Dir.chdir(File.expand_path('..', __FILE__)) do
26
+ `git ls-files README.md NEWS.md LICENSE.txt net-smtp.gemspec lib`.split
27
+ end
28
+ spec.require_paths = ["lib"]
29
+
30
+ spec.add_dependency "net-protocol"
31
+ end
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: net-smtp
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.5.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yukihiro Matsumoto
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain: []
11
- date: 2024-03-26 00:00:00.000000000 Z
10
+ date: 2025-02-05 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
13
  name: net-protocol
@@ -40,6 +39,7 @@ files:
40
39
  - lib/net/smtp/auth_plain.rb
41
40
  - lib/net/smtp/auth_xoauth2.rb
42
41
  - lib/net/smtp/authenticator.rb
42
+ - net-smtp.gemspec
43
43
  homepage: https://github.com/ruby/net-smtp
44
44
  licenses:
45
45
  - Ruby
@@ -47,7 +47,6 @@ licenses:
47
47
  metadata:
48
48
  homepage_uri: https://github.com/ruby/net-smtp
49
49
  source_code_uri: https://github.com/ruby/net-smtp
50
- post_install_message:
51
50
  rdoc_options: []
52
51
  require_paths:
53
52
  - lib
@@ -62,8 +61,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
62
61
  - !ruby/object:Gem::Version
63
62
  version: '0'
64
63
  requirements: []
65
- rubygems_version: 3.5.3
66
- signing_key:
64
+ rubygems_version: 3.7.0.dev
67
65
  specification_version: 4
68
66
  summary: Simple Mail Transfer Protocol client library for Ruby.
69
67
  test_files: []