net-smtp 0.2.0 → 0.2.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/net/smtp.rb +2 -2
  3. data/net-smtp.gemspec +3 -1
  4. metadata +19 -4
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f36274dfebf0d3d7960904ebb1ea198c7a6864adeed057c4095aa59607e0b965
4
- data.tar.gz: c6a5037aae097aca70103a76eb496472541b62286b23299389b368000abb403f
3
+ metadata.gz: 238243a17f2718efcc1c1ca44ac307df60c676d29f719298a599a2ff74e7b321
4
+ data.tar.gz: 7e7e7c04e9a4f570512c30102376b7b53aef1e51f7b4a987ef9c56655e51ab62
5
5
  SHA512:
6
- metadata.gz: e407c785d6f9f7eaf9a243b4be97cadf94485f00027f161f418ad7727a6a968a4e84398e1c797d3066947168c3ec3472f48b77825663b5848072581240097ff8
7
- data.tar.gz: 155b3aaf44e0c39d6084bcded6ca3b17c53679a256214053e0d021c02c5fa2a4e503ca61cea2cc44749b1dbecaab390d5cbc7ab3209429be4b08c8cbb0f2766b
6
+ metadata.gz: f2ee31d1382efcc8757ac8ccea1003060a391d0f809f3e9ce4abcbb3374d7e125344d774875712a32b046ccde0bb5dc7a4c6aafd6aa80da3dc33230a7d3449f8
7
+ data.tar.gz: 19a97301c3d8bb9ad4a0962cb862711d5f1693773b56bbccb4bf25e219aae7899bc174c9b2117747df82fdf88031cce06132b6398215dd645139535b83c57e7d
@@ -168,7 +168,7 @@ module Net
168
168
  # user: 'Your Account', secret: 'Your Password', authtype: :cram_md5)
169
169
  #
170
170
  class SMTP < Protocol
171
- VERSION = "0.2.0"
171
+ VERSION = "0.2.1"
172
172
 
173
173
  Revision = %q$Revision$.split[1]
174
174
 
@@ -765,7 +765,7 @@ module Net
765
765
  def authenticate(user, secret, authtype = DEFAULT_AUTH_TYPE)
766
766
  check_auth_method authtype
767
767
  check_auth_args user, secret
768
- send auth_method(authtype), user, secret
768
+ public_send auth_method(authtype), user, secret
769
769
  end
770
770
 
771
771
  def auth_plain(user, secret)
@@ -16,7 +16,7 @@ Gem::Specification.new do |spec|
16
16
  spec.summary = %q{Simple Mail Transfer Protocol client library for Ruby.}
17
17
  spec.description = %q{Simple Mail Transfer Protocol client library for Ruby.}
18
18
  spec.homepage = "https://github.com/ruby/net-smtp"
19
- spec.license = "BSD-2-Clause"
19
+ spec.licenses = ["Ruby", "BSD-2-Clause"]
20
20
  spec.required_ruby_version = ">= 2.5.0"
21
21
 
22
22
  spec.metadata["homepage_uri"] = spec.homepage
@@ -28,4 +28,6 @@ Gem::Specification.new do |spec|
28
28
  spec.bindir = "exe"
29
29
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
30
30
  spec.require_paths = ["lib"]
31
+
32
+ spec.add_dependency "net-protocol"
31
33
  end
metadata CHANGED
@@ -1,15 +1,29 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: net-smtp
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yukihiro Matsumoto
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-11-14 00:00:00.000000000 Z
12
- dependencies: []
11
+ date: 2020-11-18 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: net-protocol
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: '0'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ version: '0'
13
27
  description: Simple Mail Transfer Protocol client library for Ruby.
14
28
  email:
15
29
  - matz@ruby-lang.org
@@ -30,6 +44,7 @@ files:
30
44
  - net-smtp.gemspec
31
45
  homepage: https://github.com/ruby/net-smtp
32
46
  licenses:
47
+ - Ruby
33
48
  - BSD-2-Clause
34
49
  metadata:
35
50
  homepage_uri: https://github.com/ruby/net-smtp
@@ -49,7 +64,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
49
64
  - !ruby/object:Gem::Version
50
65
  version: '0'
51
66
  requirements: []
52
- rubygems_version: 3.2.0.rc.1
67
+ rubygems_version: 3.2.0.rc.2
53
68
  signing_key:
54
69
  specification_version: 4
55
70
  summary: Simple Mail Transfer Protocol client library for Ruby.