mailosaur 7.1.0 → 7.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/Mailosaur/models/server.rb +0 -4
- data/lib/Mailosaur/servers.rb +2 -2
- data/lib/Mailosaur/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 011e2ac28ac0877666e8773c40e40dc6d0a1a5af9f32aeb73da66d57bdb2b003
|
4
|
+
data.tar.gz: c6dc865d59c1cd2f93a59352a4652deef949673676241cca325d6d23904b72c6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d226ef24c5af4e341d93ccb17f64f0f83788273958ce48aff5c815aaafd3fdc84bef7942355c1507f4d8014d6d42559180cb3d4ae873511610256929f8466dd7
|
7
|
+
data.tar.gz: afb69cdb68ef7f270dee406c34a6c7f576e58cb3bafbc4689edbd4fdcc725786e06a0f177ec0398ef425a76bb99ce9cdb0e6c3fa2aa83785ca36277bd782ea83
|
@@ -3,7 +3,6 @@ module Mailosaur
|
|
3
3
|
class Server < BaseModel
|
4
4
|
def initialize(data = {})
|
5
5
|
@id = data['id']
|
6
|
-
@password = data['password']
|
7
6
|
@name = data['name']
|
8
7
|
@users = data['users']
|
9
8
|
@messages = data['messages']
|
@@ -13,9 +12,6 @@ module Mailosaur
|
|
13
12
|
# SMTP/POP3 authentication.
|
14
13
|
attr_accessor :id
|
15
14
|
|
16
|
-
# @return [String] SMTP/POP3 password.
|
17
|
-
attr_accessor :password
|
18
|
-
|
19
15
|
# @return [String] A name used to identify the server.
|
20
16
|
attr_accessor :name
|
21
17
|
|
data/lib/Mailosaur/servers.rb
CHANGED
@@ -92,8 +92,8 @@ module Mailosaur
|
|
92
92
|
end
|
93
93
|
|
94
94
|
def generate_email_address(server)
|
95
|
-
host = ENV['MAILOSAUR_SMTP_HOST'] || 'mailosaur.
|
96
|
-
'%s.%s
|
95
|
+
host = ENV['MAILOSAUR_SMTP_HOST'] || 'mailosaur.net'
|
96
|
+
'%s@%s.%s' % [SecureRandom.hex(3), server, host]
|
97
97
|
end
|
98
98
|
end
|
99
99
|
end
|
data/lib/Mailosaur/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mailosaur
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 7.
|
4
|
+
version: 7.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mailosaur
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-04-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|
@@ -203,7 +203,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
203
203
|
- !ruby/object:Gem::Version
|
204
204
|
version: '0'
|
205
205
|
requirements: []
|
206
|
-
rubygems_version: 3.
|
206
|
+
rubygems_version: 3.2.3
|
207
207
|
signing_key:
|
208
208
|
specification_version: 4
|
209
209
|
summary: The Mailosaur Ruby library
|