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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8b9d262bc1f0a4dd93041c55f69da8626b781484472c385e25cc295574aeca9c
4
- data.tar.gz: bbfbf992de2cef4c0cef262c485e1d9dd3865efc0810f87beb6b865cf8f1166a
3
+ metadata.gz: 011e2ac28ac0877666e8773c40e40dc6d0a1a5af9f32aeb73da66d57bdb2b003
4
+ data.tar.gz: c6dc865d59c1cd2f93a59352a4652deef949673676241cca325d6d23904b72c6
5
5
  SHA512:
6
- metadata.gz: e2c3c188f5566e7b954aab311965c314df36eb246a2c72703bb471bb4173ea53cebfa0eb4cc07189781943929ea72bbb43cd93a550a370c9243f3d95767a53f8
7
- data.tar.gz: 68196c95d59b08b16069bf9c7142fb6b1319fffff32600d9fab2875c7f5ab0959bad0cb685804f130a1941f82b2fc190d14477db858d9dc0e7af9998cdfe84fc
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
 
@@ -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.io'
96
- '%s.%s@%s' % [SecureRandom.hex(3), server, host]
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
@@ -1,3 +1,3 @@
1
1
  module Mailosaur
2
- VERSION = '7.1.0'.freeze
2
+ VERSION = '7.2.0'.freeze
3
3
  end
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.1.0
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-01-25 00:00:00.000000000 Z
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.1.4
206
+ rubygems_version: 3.2.3
207
207
  signing_key:
208
208
  specification_version: 4
209
209
  summary: The Mailosaur Ruby library