truemail-rspec 0.3.1 → 0.3.2
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.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 4f30fae25fc68dfd65b890b816256d2076e5f510dd00603af2a323ffa3a600a8
|
|
4
|
+
data.tar.gz: '01493c4350fa53c4097330d5aafae2ace03658bedb7ca4bbee80a43badaa2e10'
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: aac117deb690988d802f91c78b564cbd4a38d833d8299e9868b7903624da59002d36dd11d3ae83417c00ce682d9a9a7979d90bc65ed1ae1fa46a3159f66807e0
|
|
7
|
+
data.tar.gz: 79210f6ea12426c567e11458af6b41764275ffe8192b8dde316067607404588d71a37b6066718dbd1d122e4796318bf33e489e4b86e62f78adfe348aa9bdfb26
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,12 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
3
3
|
|
|
4
|
+
## [0.3.2] - 2020-12-06
|
|
5
|
+
|
|
6
|
+
### Fixed
|
|
7
|
+
|
|
8
|
+
- Namespace collisions for `faker`
|
|
9
|
+
|
|
4
10
|
## [0.3.1] - 2020-12-06
|
|
5
11
|
|
|
6
12
|
### Added
|
|
@@ -5,7 +5,7 @@ module Truemail
|
|
|
5
5
|
module AuditorHelper
|
|
6
6
|
def create_auditor(
|
|
7
7
|
success: true,
|
|
8
|
-
current_host_ip: Faker::Internet.ip_v4_address,
|
|
8
|
+
current_host_ip: ::Faker::Internet.ip_v4_address,
|
|
9
9
|
warnings: { ip: Truemail::Audit::Ip::IPIFY_ERROR },
|
|
10
10
|
configuration: create_configuration
|
|
11
11
|
)
|
|
@@ -12,7 +12,7 @@ module Truemail
|
|
|
12
12
|
end
|
|
13
13
|
|
|
14
14
|
def create_configuration(**configuration_settings)
|
|
15
|
-
configuration_settings[:verifier_email] = Faker::Internet.email unless configuration_settings[:verifier_email]
|
|
15
|
+
configuration_settings[:verifier_email] = ::Faker::Internet.email unless configuration_settings[:verifier_email]
|
|
16
16
|
Truemail::Configuration.new(&configuration_block(**configuration_settings))
|
|
17
17
|
end
|
|
18
18
|
end
|
|
@@ -4,12 +4,12 @@ module Truemail
|
|
|
4
4
|
module RSpec
|
|
5
5
|
module ValidatorHelper
|
|
6
6
|
def create_servers_list
|
|
7
|
-
Array.new(rand(1..4)) { Faker::Internet.ip_v4_address }
|
|
7
|
+
Array.new(rand(1..4)) { ::Faker::Internet.ip_v4_address }
|
|
8
8
|
end
|
|
9
9
|
|
|
10
10
|
def create_validator( # rubocop:disable Metrics/ParameterLists
|
|
11
11
|
validation_type = nil,
|
|
12
|
-
email = Faker::Internet.email,
|
|
12
|
+
email = ::Faker::Internet.email,
|
|
13
13
|
mail_servers = create_servers_list,
|
|
14
14
|
rcptto_error: 'user not found',
|
|
15
15
|
success: true,
|