brite_verify 0.0.3 → 0.0.4
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 +4 -4
- data/README.md +1 -1
- data/lib/brite_verify/email_fetcher.rb +2 -1
- data/lib/brite_verify/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: e5385c5930330a42a60cbcaa0d65b4bc61315b7f98b71d285b1058489e757139
|
|
4
|
+
data.tar.gz: e1f3d67fdf2ee922e279fb68010550374b8ef4f72a97d7f6ccfae167aece25df
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 54889aba86e72539717ac42b7db0484b986c46a904908937176672cb0f4ecfb490046117c655f92676c5b635df7d06d3786203978cc4c43bf3130bd30d769cbd
|
|
7
|
+
data.tar.gz: 588da87c932fab8b4140defd5d6d4dcb27fd9d4cc62cd66e33e94f57c84ccc615f7d6e733c14f2730e74ac5dac837d04075c645ebf2e2a3f315067542a8ef02f
|
data/README.md
CHANGED
|
@@ -52,7 +52,7 @@ email.error
|
|
|
52
52
|
=> "Email domain invalid"
|
|
53
53
|
```
|
|
54
54
|
|
|
55
|
-
You can skip the API key parameter and specify the `BRITEVERIFY_API_KEY` environment variable for convenience. The connection timeouts can be configured via the `
|
|
55
|
+
You can skip the API key parameter and specify the `BRITEVERIFY_API_KEY` environment variable for convenience. The connection timeouts can be configured via the `BRITEVERIFY_CONTINUE_TIMEOUT`, `BRITEVERIFY_CONTINUE_TIMEOUT` and `BRITEVERIFY_READ_TIMEOUT` environment variables.
|
|
56
56
|
|
|
57
57
|
## Contributing
|
|
58
58
|
|
|
@@ -21,8 +21,9 @@ module BriteVerify
|
|
|
21
21
|
uri = verification_uri(address)
|
|
22
22
|
http = Net::HTTP.new(uri.host, uri.port)
|
|
23
23
|
http.use_ssl = true
|
|
24
|
-
http.read_timeout = ENV.fetch("BRITEVERIFY_READ_TIMEOUT", 60).to_i
|
|
25
24
|
http.continue_timeout = ENV.fetch("BRITEVERIFY_CONTINUE_TIMEOUT", 60).to_i
|
|
25
|
+
http.open_timeout = ENV.fetch("BRITEVERIFY_OPEN_TIMEOUT", 60).to_i
|
|
26
|
+
http.read_timeout = ENV.fetch("BRITEVERIFY_READ_TIMEOUT", 60).to_i
|
|
26
27
|
http.verify_mode = OpenSSL::SSL::VERIFY_PEER
|
|
27
28
|
request = Net::HTTP::Get.new(uri.request_uri)
|
|
28
29
|
response = http.request(request)
|
data/lib/brite_verify/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: brite_verify
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.4
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Simon Schoeters
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2021-02-
|
|
11
|
+
date: 2021-02-17 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: minitest
|