truemail-rspec 0.1.2 → 0.1.3

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: 49305d8964deb2dc468449602fbc5a7b5317fd788f61d3a6dbdbee0bf53c8d06
4
- data.tar.gz: a0e563dd6cc72f70fbe557328d7a7b057c109c174151ddd88ff30fd39cb3e339
3
+ metadata.gz: da5963e4ac15443d4412310fe26af7b908a459a5697d4975532149741dbc3a62
4
+ data.tar.gz: e4e478a4f490fc6f48ee4d975203becf8efd91d4014ef8d0bfd6dc287dbdefa8
5
5
  SHA512:
6
- metadata.gz: 9c5eb691fb7d2d6f458677a21c85a96b910d62734d90424183f51dd7ecfe4d277fe89d4601189c925e8ebce511de99a8ec11c87ed9b75f3d6d8831ad7a366867
7
- data.tar.gz: 54192d19f578f7906fb452eef77a35d1eeb5453144d6cb08222219f5b9b852f1167cc29d059f5c1e2014ac3b131342db32bde1ed287e6ca4410f34cabea3de25
6
+ metadata.gz: 2eb99db638aaa8ad2e7f8bd33fb595421fcafb3d6885ea67f1e81a62a9e09fc489a7b00bf29d85ef0f09dcc3f7a489eeb4da0a737779a56584449fa63354705e
7
+ data.tar.gz: a8e61ef6b120d3a05bd7ffcc33c98eb6bd1b934ccfc5fd5d70da1b1a919e59eb9d2737da1aa4c4d59856dfde3fc5f00c5e9bde5bc4c401b1aa16eafc105b95a1
@@ -4,21 +4,14 @@ require:
4
4
  AllCops:
5
5
  DisplayCopNames: true
6
6
  DisplayStyleGuide: true
7
- StyleGuideCopsOnly: true
8
7
  TargetRubyVersion: 2.5
9
8
 
10
- Metrics/LineLength:
11
- Max: 140
12
-
13
9
  Metrics/ClassLength:
14
10
  Max: 150
15
11
 
16
12
  Metrics/MethodLength:
17
13
  Max: 15
18
14
 
19
- Metrics/AbcSize:
20
- Enabled: false
21
-
22
15
  Metrics/BlockLength:
23
16
  Enabled: false
24
17
 
@@ -28,6 +21,12 @@ Metrics/CyclomaticComplexity:
28
21
  Metrics/PerceivedComplexity:
29
22
  Enabled: false
30
23
 
24
+ Naming/VariableNumber:
25
+ Enabled: false
26
+
27
+ Naming/RescuedExceptionsVariableName:
28
+ Enabled: false
29
+
31
30
  Style/Documentation:
32
31
  Enabled: false
33
32
 
@@ -40,6 +39,9 @@ Style/EmptyCaseCondition:
40
39
  Style/RescueStandardError:
41
40
  Enabled: false
42
41
 
42
+ Layout/LineLength:
43
+ Max: 140
44
+
43
45
  Layout/ClassStructure:
44
46
  Enabled: true
45
47
  Categories:
@@ -62,6 +64,12 @@ Layout/ClassStructure:
62
64
  - protected_methods
63
65
  - private_methods
64
66
 
67
+ Layout/EmptyLineAfterGuardClause:
68
+ Enabled: false
69
+
70
+ Lint/NonDeterministicRequireOrder:
71
+ Enabled: false
72
+
65
73
  RSpec/ExampleLength:
66
74
  Enabled: false
67
75
 
@@ -82,3 +90,120 @@ RSpec/AnyInstance:
82
90
 
83
91
  RSpec/MessageSpies:
84
92
  Enabled: false
93
+
94
+ RSpec/MultipleDescribes:
95
+ Enabled: false
96
+
97
+ RSpec/MultipleMemoizedHelpers:
98
+ Enabled: false
99
+
100
+ Layout/EmptyLinesAroundAttributeAccessor:
101
+ Enabled: true
102
+
103
+ Layout/SpaceAroundMethodCallOperator:
104
+ Enabled: true
105
+
106
+ Lint/BinaryOperatorWithIdenticalOperands:
107
+ Enabled: true
108
+
109
+ Lint/DeprecatedOpenSSLConstant:
110
+ Enabled: true
111
+
112
+ Lint/DuplicateElsifCondition:
113
+ Enabled: true
114
+
115
+ Lint/DuplicateRescueException:
116
+ Enabled: true
117
+
118
+ Lint/EmptyConditionalBody:
119
+ Enabled: true
120
+
121
+ Lint/FloatComparison:
122
+ Enabled: true
123
+
124
+ Lint/MissingSuper:
125
+ Enabled: true
126
+
127
+ Lint/MixedRegexpCaptureTypes:
128
+ Enabled: true
129
+
130
+ Lint/OutOfRangeRegexpRef:
131
+ Enabled: true
132
+
133
+ Lint/RaiseException:
134
+ Enabled: true
135
+
136
+ Lint/SelfAssignment:
137
+ Enabled: true
138
+
139
+ Lint/StructNewOverride:
140
+ Enabled: true
141
+
142
+ Lint/TopLevelReturnWithArgument:
143
+ Enabled: true
144
+
145
+ Lint/UnreachableLoop:
146
+ Enabled: true
147
+
148
+ Style/AccessorGrouping:
149
+ Enabled: true
150
+
151
+ Style/ArrayCoercion:
152
+ Enabled: true
153
+
154
+ Style/BisectedAttrAccessor:
155
+ Enabled: true
156
+
157
+ Style/CaseLikeIf:
158
+ Enabled: true
159
+
160
+ Style/ExplicitBlockArgument:
161
+ Enabled: true
162
+
163
+ Style/ExponentialNotation:
164
+ Enabled: true
165
+
166
+ Style/GlobalStdStream:
167
+ Enabled: true
168
+
169
+ Style/HashAsLastArrayItem:
170
+ Enabled: true
171
+
172
+ Style/HashEachMethods:
173
+ Enabled: true
174
+
175
+ Style/HashLikeCase:
176
+ Enabled: true
177
+
178
+ Style/HashTransformKeys:
179
+ Enabled: true
180
+
181
+ Style/HashTransformValues:
182
+ Enabled: true
183
+
184
+ Style/OptionalBooleanParameter:
185
+ Enabled: true
186
+
187
+ Style/RedundantAssignment:
188
+ Enabled: true
189
+
190
+ Style/RedundantFetchBlock:
191
+ Enabled: true
192
+
193
+ Style/RedundantFileExtensionInRequire:
194
+ Enabled: true
195
+
196
+ Style/RedundantRegexpCharacterClass:
197
+ Enabled: true
198
+
199
+ Style/RedundantRegexpEscape:
200
+ Enabled: true
201
+
202
+ Style/SingleArgumentDig:
203
+ Enabled: true
204
+
205
+ Style/SlicingWithRange:
206
+ Enabled: true
207
+
208
+ Style/StringConcatenation:
209
+ Enabled: true
@@ -1,6 +1,17 @@
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.1.3] - 2020-08-24
5
+
6
+ ### Added
7
+
8
+ - gem public documentation
9
+
10
+ ### Changed
11
+
12
+ - gem development dependencies
13
+ - linters configs
14
+
4
15
  ## [0.1.2] - 2020-05-08
5
16
 
6
17
  ### Changed
@@ -1,19 +1,19 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- truemail-rspec (0.1.2)
4
+ truemail-rspec (0.1.3)
5
5
  rspec (~> 3.9)
6
6
  truemail (~> 1.4, >= 1.4.1)
7
7
 
8
8
  GEM
9
9
  remote: https://rubygems.org/
10
10
  specs:
11
- ast (2.4.0)
12
- bundler-audit (0.6.1)
11
+ ast (2.4.1)
12
+ bundler-audit (0.7.0.1)
13
13
  bundler (>= 1.2.0, < 3)
14
- thor (~> 0.18)
14
+ thor (>= 0.18, < 2)
15
15
  byebug (11.1.3)
16
- childprocess (3.0.0)
16
+ childprocess (4.0.0)
17
17
  coderay (1.1.2)
18
18
  colorize (0.8.1)
19
19
  diff-lcs (1.3)
@@ -21,18 +21,17 @@ GEM
21
21
  fasterer (0.8.3)
22
22
  colorize (~> 0.7)
23
23
  ruby_parser (>= 3.14.1)
24
- ffaker (2.14.0)
24
+ ffaker (2.17.0)
25
25
  iniparse (1.5.0)
26
- jaro_winkler (1.5.4)
27
26
  json (2.3.0)
28
27
  kwalify (0.7.2)
29
28
  method_source (1.0.0)
30
- overcommit (0.53.0)
31
- childprocess (>= 0.6.3, < 4)
29
+ overcommit (0.55.0)
30
+ childprocess (>= 0.6.3, < 5)
32
31
  iniparse (~> 1.4)
33
- parallel (1.19.1)
34
- parser (2.7.1.2)
35
- ast (~> 2.4.0)
32
+ parallel (1.19.2)
33
+ parser (2.7.1.4)
34
+ ast (~> 2.4.1)
36
35
  pry (0.13.1)
37
36
  coderay (~> 1.1)
38
37
  method_source (~> 1.0)
@@ -42,11 +41,13 @@ GEM
42
41
  psych (3.1.0)
43
42
  rainbow (3.0.0)
44
43
  rake (13.0.1)
45
- reek (6.0.0)
44
+ reek (6.0.1)
46
45
  kwalify (~> 0.7.0)
47
46
  parser (>= 2.5.0.0, < 2.8, != 2.5.1.1)
48
47
  psych (~> 3.1.0)
49
48
  rainbow (>= 2.0, < 4.0)
49
+ regexp_parser (1.7.1)
50
+ rexml (3.2.4)
50
51
  rspec (3.9.0)
51
52
  rspec-core (~> 3.9.0)
52
53
  rspec-expectations (~> 3.9.0)
@@ -60,15 +61,19 @@ GEM
60
61
  diff-lcs (>= 1.2.0, < 2.0)
61
62
  rspec-support (~> 3.9.0)
62
63
  rspec-support (3.9.3)
63
- rubocop (0.76.0)
64
- jaro_winkler (~> 1.5.1)
64
+ rubocop (0.89.1)
65
65
  parallel (~> 1.10)
66
- parser (>= 2.6)
66
+ parser (>= 2.7.1.1)
67
67
  rainbow (>= 2.2.2, < 4.0)
68
+ regexp_parser (>= 1.7)
69
+ rexml
70
+ rubocop-ast (>= 0.3.0, < 1.0)
68
71
  ruby-progressbar (~> 1.7)
69
- unicode-display_width (>= 1.4.0, < 1.7)
70
- rubocop-rspec (1.39.0)
71
- rubocop (>= 0.68.1)
72
+ unicode-display_width (>= 1.4.0, < 2.0)
73
+ rubocop-ast (0.3.0)
74
+ parser (>= 2.7.1.4)
75
+ rubocop-rspec (1.43.1)
76
+ rubocop (~> 0.87)
72
77
  ruby-progressbar (1.10.1)
73
78
  ruby_parser (3.14.2)
74
79
  sexp_processor (~> 4.9)
@@ -80,29 +85,29 @@ GEM
80
85
  simplecov-html (0.10.2)
81
86
  simpleidn (0.1.1)
82
87
  unf (~> 0.1.4)
83
- thor (0.20.3)
88
+ thor (1.0.1)
84
89
  truemail (1.6.1)
85
90
  simpleidn (~> 0.1.1)
86
91
  unf (0.1.4)
87
92
  unf_ext
88
93
  unf_ext (0.0.7.7)
89
- unicode-display_width (1.6.1)
94
+ unicode-display_width (1.7.0)
90
95
 
91
96
  PLATFORMS
92
97
  ruby
93
98
 
94
99
  DEPENDENCIES
95
100
  bundler (~> 1.16)
96
- bundler-audit (~> 0.6.1)
101
+ bundler-audit (~> 0.7.0.1)
97
102
  fasterer (~> 0.8.3)
98
- ffaker (~> 2.14)
99
- overcommit (~> 0.53.0)
103
+ ffaker (~> 2.17)
104
+ overcommit (~> 0.55.0)
100
105
  pry-byebug (~> 3.9)
101
106
  rake (~> 13.0, >= 13.0.1)
102
- reek (~> 6.0)
107
+ reek (~> 6.0, >= 6.0.1)
103
108
  rspec (~> 3.9)
104
- rubocop (~> 0.76.0)
105
- rubocop-rspec (~> 1.36)
109
+ rubocop (~> 0.89.1)
110
+ rubocop-rspec (~> 1.43, >= 1.43.1)
106
111
  simplecov (~> 0.17.1)
107
112
  truemail-rspec!
108
113
 
@@ -1,6 +1,6 @@
1
1
  The MIT License (MIT)
2
2
 
3
- Copyright (c) 2019 Vladislav Trotsenko
3
+ Copyright (c) 2020 Vladislav Trotsenko
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
data/README.md CHANGED
@@ -35,7 +35,7 @@ Ruby MRI 2.5.0+
35
35
 
36
36
  ## Installation
37
37
 
38
- Add this line to your application's Gemfile:
38
+ Add this line to your application's `Gemfile`:
39
39
 
40
40
  ```ruby
41
41
  group :development, :test do
@@ -65,7 +65,7 @@ Or install it yourself as:
65
65
 
66
66
  ### Create configuration instance
67
67
 
68
- Allow to create configuration instance with random or with predefined params.
68
+ Allows to create configuration instance with random or with predefined params.
69
69
 
70
70
  #### Configuration instance with default random params
71
71
 
@@ -87,7 +87,7 @@ create_configuration(verifier_email: 'email@domain.com', verifier_domain: 'other
87
87
 
88
88
  ### Create validator instance
89
89
 
90
- Allow to create validator instance with default random or with predefined params.
90
+ Allows to create validator instance with default random or with predefined params.
91
91
 
92
92
  #### create_servers_list
93
93
 
File without changes
@@ -0,0 +1,8 @@
1
+ ![logo](https://repository-images.githubusercontent.com/222414074/393c9600-09f9-11ea-8d21-345619b97b11)
2
+
3
+ # truemail-rspec
4
+
5
+ > Truemail Configuration and Validator helpers for your RSpec environment.
6
+
7
+ [Get Started](introduction)
8
+ [GitHub](https://github.com/truemail-rb/truemail-rspec)
@@ -0,0 +1,9 @@
1
+ - [Introduction](introduction)
2
+ - [Quick Start](quick-start)
3
+ - [Usage](usage)
4
+ - [Contact & Support](contact-support)
5
+ - [Truemail Family](truemail-family)
6
+ - [Changelog](changelog)
7
+ - **Links**
8
+ - [![GitHub](https://icongram.jgog.in/simple/github.svg?color=808080&size=16)GitHub](https://github.com/truemail-rb/truemail-rspec)
9
+ - [![Ruby Gems](https://icongr.am/devicon/ruby-plain.svg?size=16&color=currentColor&size=16)Ruby Gems](https://rubygems.org/gems/truemail-rspec)
@@ -0,0 +1,14 @@
1
+ # Contact & Support
2
+
3
+ ## Contributing
4
+
5
+ Bug reports and pull requests are welcome on GitHub at https://github.com/truemail-rb/truemail-rspec. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct. Please check the [open tikets](https://github.com/truemail-rb/truemail-rspec/issues). Be shure to follow Contributor Code of Conduct below and our [Contributing Guidelines](CONTRIBUTING.md).
6
+
7
+ ## Code of Conduct
8
+
9
+ Everyone interacting in the `truemail-rspec` project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](CODE_OF_CONDUCT.md).
10
+
11
+ ## Credits
12
+
13
+ - [The Contributors](https://github.com/truemail-rb/truemail-rspec/graphs/contributors) for code and awesome suggestions
14
+ - [The Stargazers](https://github.com/truemail-rb/truemail-rspec/stargazers) for showing their support
@@ -0,0 +1,40 @@
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="UTF-8">
5
+ <title>truemail-rspec docs</title>
6
+ <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
7
+ <meta name="description" content="truemail-rspec gem documentation">
8
+ <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
9
+ <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/docsify-themeable@0/dist/css/theme-simple.css">
10
+ </head>
11
+ <body>
12
+ <div id="app"></div>
13
+ <script>
14
+ window.$docsify = {
15
+ name: 'truemail-rspec',
16
+ repo: 'https://github.com/truemail-rb/truemail-rspec',
17
+ coverpage: true,
18
+ loadSidebar: true,
19
+ homepage: 'introduction.md',
20
+ alias: {
21
+ '.*?/changelog': 'https://raw.githubusercontent.com/truemail-rb/truemail-rspec/master/CHANGELOG.md',
22
+ },
23
+ auto2top: true,
24
+ maxLevel: 3,
25
+ subMaxLevel: 3,
26
+ search: {
27
+ depth: 3,
28
+ noData: 'No results!',
29
+ placeholder: 'Search...'
30
+ }
31
+ };
32
+ </script>
33
+ <script src="//cdn.jsdelivr.net/npm/docsify/lib/docsify.min.js"></script>
34
+ <script src="//cdn.jsdelivr.net/npm/docsify-copy-code@2"></script>
35
+ <script src="//cdn.jsdelivr.net/npm/docsify-pagination@2/dist/docsify-pagination.min.js"></script>
36
+ <script src="//cdn.jsdelivr.net/npm/docsify/lib/plugins/search.min.js"></script>
37
+ <script src="//cdn.jsdelivr.net/npm/prismjs@1/components/prism-ruby.min.js"></script>
38
+ <script src="//cdn.jsdelivr.net/npm/prismjs@1/components/prism-bash.min.js"></script>
39
+ </body>
40
+ </html>
@@ -0,0 +1,18 @@
1
+ # Introduction
2
+
3
+ [![Maintainability](https://api.codeclimate.com/v1/badges/d23d82c1c1bdbc271b81/maintainability)](https://codeclimate.com/github/truemail-rb/truemail-rspec/maintainability) [![Test Coverage](https://api.codeclimate.com/v1/badges/d23d82c1c1bdbc271b81/test_coverage)](https://codeclimate.com/github/truemail-rb/truemail-rspec/test_coverage) [![CircleCI](https://circleci.com/gh/truemail-rb/truemail-rspec/tree/master.svg?style=svg)](https://circleci.com/gh/truemail-rb/truemail-rspec/tree/master) [![Gem Version](https://badge.fury.io/rb/truemail-rspec.svg)](https://badge.fury.io/rb/truemail-rspec) [![Downloads](https://img.shields.io/gem/dt/truemail-rspec.svg?colorA=004d99&colorB=0073e6)](https://rubygems.org/gems/truemail-rspec) [![Contributor Covenant](https://img.shields.io/badge/Contributor%20Covenant-v1.4%20adopted-ff69b4.svg)](CODE_OF_CONDUCT.md)
4
+
5
+ `truemail-rspec` gem helps you create `Truemail::Configuration` and `Truemail::Validator` instances for your RSpec environment.
6
+
7
+ ## Features
8
+
9
+ - Ability to create `Truemail::Configuration` instance with random or with predefined params
10
+ - Ability to create `Truemail::Validator` instance with random or with predefined params
11
+
12
+ ## License
13
+
14
+ The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
15
+
16
+ ## Versioning
17
+
18
+ `truemail-rspec` uses [Semantic Versioning 2.0.0](https://semver.org)
@@ -0,0 +1,33 @@
1
+ # Quick Start
2
+
3
+ ## Requirements
4
+
5
+ !> Ruby MRI 2.5.0+
6
+
7
+ ## Installation
8
+
9
+ Add this line to your application's `Gemfile`:
10
+
11
+ ```ruby
12
+ group :development, :test do
13
+ gem 'truemail-rspec', require: false
14
+ end
15
+ ```
16
+
17
+ And add into your `spec_helper.rb` or `rails_helper.rb`:
18
+
19
+ ```ruby
20
+ require 'truemail/rspec'
21
+
22
+ RSpec.configure do |config|
23
+ config.include Truemail::RSpec
24
+ end
25
+ ```
26
+
27
+ And then execute:
28
+
29
+ $ bundle
30
+
31
+ Or install it yourself as:
32
+
33
+ $ gem install truemail-rspec
@@ -0,0 +1,11 @@
1
+ # Truemail Family
2
+
3
+ ?> All Truemail extensions: https://github.com/truemail-rb
4
+
5
+ | Name | Type | Description |
6
+ | --- | --- | --- |
7
+ | [truemail](https://github.com/rubygarage/truemail) | ruby gem | Configurable plain Ruby email validator, main core |
8
+ | [truemail server](https://github.com/truemail-rb/truemail-rack) | ruby app | Lightweight rack based web API wrapper for Truemail |
9
+ | [truemail-rack-docker](https://github.com/truemail-rb/truemail-rack-docker-image) | docker image | Lightweight rack based web API [dockerized image](https://hub.docker.com/r/truemail/truemail-rack) :whale: of Truemail server |
10
+ | [truemail-ruby-client](https://github.com/truemail-rb/truemail-ruby-client) | ruby gem | Truemail web API client library for Ruby |
11
+ | [truemail-crystal-client](https://github.com/truemail-rb/truemail-crystal-client) | crystal shard | Truemail web API client library for Crystal |
@@ -0,0 +1,47 @@
1
+ # Usage
2
+
3
+ ## Create configuration instance
4
+
5
+ Allows to create configuration instance with random or with predefined params.
6
+
7
+ ### Configuration instance with default random params
8
+
9
+ ```ruby
10
+ create_configuration
11
+
12
+ # => returns Truemail::Configuration instance with
13
+ # random verifier_email and default Truemail::Configuration params
14
+ ```
15
+
16
+ ### Configuration instance with predefined params
17
+
18
+ All `Truemail::Configuration` [available params](https://github.com/rubygarage/truemail#setting-global-configuration)
19
+
20
+ ```ruby
21
+ create_configuration(verifier_email: 'email@domain.com', verifier_domain: 'other-domain.com')
22
+ # => returns Truemail::Configuration instance with custom settings
23
+ ```
24
+
25
+ ## Create validator instance
26
+
27
+ Allows to create validator instance with default random or with predefined params.
28
+
29
+ ### create_servers_list
30
+
31
+ ```ruby
32
+ create_servers_list # => returns array with random ip addresses
33
+ ```
34
+
35
+ ### create_validator DSL
36
+
37
+ ```ruby
38
+ create_validator(
39
+ validation_type, # optional, type:Symbol, can be :regex, :mx or :smtp, by default creates :smtp validation
40
+ email, # optional, type:String, by default random email
41
+ mail_servers, # optional, type:Array(String), by default array with random ip addresses
42
+ success: true, # optional, type:Bool, by default true
43
+ configuration: create_configuration # optional, type:Truemail::Configuration, by default creates random configuration
44
+ )
45
+
46
+ # => returns Truemail::Validator instance follow passed params
47
+ ```
@@ -41,7 +41,7 @@ module Truemail
41
41
  end
42
42
  end
43
43
 
44
- def unstub_validation_layers
44
+ def unstub_validation_layers # rubocop:disable Metrics/AbcSize
45
45
  allow_any_instance_of(Truemail::Validate::Regex).to receive(:match_regex_pattern?).and_call_original
46
46
  allow(Truemail::Validate::Regex).to receive(:check).and_call_original
47
47
  allow_any_instance_of(Truemail::Validate::Mx).to receive(:mx_records).and_call_original
@@ -80,7 +80,7 @@ module Truemail
80
80
  request
81
81
  end
82
82
 
83
- def smtp_layer
83
+ def smtp_layer # rubocop:disable Metrics/AbcSize
84
84
  allow(Truemail::Validate::Regex).to receive(:check).and_return(true)
85
85
  allow_any_instance_of(Truemail::Validate::Mx).to receive(:mx_records).and_return(mail_servers)
86
86
  allow_any_instance_of(Truemail::Validate::Mx).to receive(:domain_not_include_null_mx).and_return(true)
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Truemail
4
4
  module RSpec
5
- VERSION = '0.1.2'
5
+ VERSION = '0.1.3'
6
6
  end
7
7
  end
@@ -24,16 +24,16 @@ Gem::Specification.new do |spec|
24
24
  spec.require_paths = ['lib']
25
25
 
26
26
  spec.add_development_dependency 'bundler', '~> 1.16'
27
- spec.add_development_dependency 'bundler-audit', '~> 0.6.1'
27
+ spec.add_development_dependency 'bundler-audit', '~> 0.7.0.1'
28
28
  spec.add_development_dependency 'fasterer', '~> 0.8.3'
29
- spec.add_development_dependency 'ffaker', '~> 2.14'
30
- spec.add_development_dependency 'overcommit', '~> 0.53.0'
29
+ spec.add_development_dependency 'ffaker', '~> 2.17'
30
+ spec.add_development_dependency 'overcommit', '~> 0.55.0'
31
31
  spec.add_development_dependency 'pry-byebug', '~> 3.9'
32
32
  spec.add_development_dependency 'rake', '~> 13.0', '>= 13.0.1'
33
- spec.add_development_dependency 'reek', '~> 6.0'
33
+ spec.add_development_dependency 'reek', '~> 6.0', '>= 6.0.1'
34
34
  spec.add_development_dependency 'rspec', '~> 3.9'
35
- spec.add_development_dependency 'rubocop', '~> 0.76.0'
36
- spec.add_development_dependency 'rubocop-rspec', '~> 1.36'
35
+ spec.add_development_dependency 'rubocop', '~> 0.89.1'
36
+ spec.add_development_dependency 'rubocop-rspec', '~> 1.43', '>= 1.43.1'
37
37
  spec.add_development_dependency 'simplecov', '~> 0.17.1'
38
38
  spec.add_runtime_dependency 'rspec', '~> 3.9'
39
39
  spec.add_runtime_dependency 'truemail', '~> 1.4', '>= 1.4.1'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: truemail-rspec
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Vladislav Trotsenko
8
- autorequire:
8
+ autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-05-07 00:00:00.000000000 Z
11
+ date: 2020-08-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -30,14 +30,14 @@ dependencies:
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: 0.6.1
33
+ version: 0.7.0.1
34
34
  type: :development
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: 0.6.1
40
+ version: 0.7.0.1
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: fasterer
43
43
  requirement: !ruby/object:Gem::Requirement
@@ -58,28 +58,28 @@ dependencies:
58
58
  requirements:
59
59
  - - "~>"
60
60
  - !ruby/object:Gem::Version
61
- version: '2.14'
61
+ version: '2.17'
62
62
  type: :development
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
66
  - - "~>"
67
67
  - !ruby/object:Gem::Version
68
- version: '2.14'
68
+ version: '2.17'
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: overcommit
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
73
  - - "~>"
74
74
  - !ruby/object:Gem::Version
75
- version: 0.53.0
75
+ version: 0.55.0
76
76
  type: :development
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
80
  - - "~>"
81
81
  - !ruby/object:Gem::Version
82
- version: 0.53.0
82
+ version: 0.55.0
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: pry-byebug
85
85
  requirement: !ruby/object:Gem::Requirement
@@ -121,6 +121,9 @@ dependencies:
121
121
  - - "~>"
122
122
  - !ruby/object:Gem::Version
123
123
  version: '6.0'
124
+ - - ">="
125
+ - !ruby/object:Gem::Version
126
+ version: 6.0.1
124
127
  type: :development
125
128
  prerelease: false
126
129
  version_requirements: !ruby/object:Gem::Requirement
@@ -128,6 +131,9 @@ dependencies:
128
131
  - - "~>"
129
132
  - !ruby/object:Gem::Version
130
133
  version: '6.0'
134
+ - - ">="
135
+ - !ruby/object:Gem::Version
136
+ version: 6.0.1
131
137
  - !ruby/object:Gem::Dependency
132
138
  name: rspec
133
139
  requirement: !ruby/object:Gem::Requirement
@@ -148,28 +154,34 @@ dependencies:
148
154
  requirements:
149
155
  - - "~>"
150
156
  - !ruby/object:Gem::Version
151
- version: 0.76.0
157
+ version: 0.89.1
152
158
  type: :development
153
159
  prerelease: false
154
160
  version_requirements: !ruby/object:Gem::Requirement
155
161
  requirements:
156
162
  - - "~>"
157
163
  - !ruby/object:Gem::Version
158
- version: 0.76.0
164
+ version: 0.89.1
159
165
  - !ruby/object:Gem::Dependency
160
166
  name: rubocop-rspec
161
167
  requirement: !ruby/object:Gem::Requirement
162
168
  requirements:
163
169
  - - "~>"
164
170
  - !ruby/object:Gem::Version
165
- version: '1.36'
171
+ version: '1.43'
172
+ - - ">="
173
+ - !ruby/object:Gem::Version
174
+ version: 1.43.1
166
175
  type: :development
167
176
  prerelease: false
168
177
  version_requirements: !ruby/object:Gem::Requirement
169
178
  requirements:
170
179
  - - "~>"
171
180
  - !ruby/object:Gem::Version
172
- version: '1.36'
181
+ version: '1.43'
182
+ - - ">="
183
+ - !ruby/object:Gem::Version
184
+ version: 1.43.1
173
185
  - !ruby/object:Gem::Dependency
174
186
  name: simplecov
175
187
  requirement: !ruby/object:Gem::Requirement
@@ -246,6 +258,15 @@ files:
246
258
  - Rakefile
247
259
  - bin/console
248
260
  - bin/setup
261
+ - docs/.nojekyll
262
+ - docs/_coverpage.md
263
+ - docs/_sidebar.md
264
+ - docs/contact-support.md
265
+ - docs/index.html
266
+ - docs/introduction.md
267
+ - docs/quick-start.md
268
+ - docs/truemail-family.md
269
+ - docs/usage.md
249
270
  - lib/truemail/rspec.rb
250
271
  - lib/truemail/rspec/configuration_helper.rb
251
272
  - lib/truemail/rspec/validator_helper.rb
@@ -255,7 +276,7 @@ homepage: https://github.com/truemail-rb/truemail-rspec
255
276
  licenses:
256
277
  - MIT
257
278
  metadata: {}
258
- post_install_message:
279
+ post_install_message:
259
280
  rdoc_options: []
260
281
  require_paths:
261
282
  - lib
@@ -270,9 +291,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
270
291
  - !ruby/object:Gem::Version
271
292
  version: '0'
272
293
  requirements: []
273
- rubyforge_project:
274
- rubygems_version: 2.7.9
275
- signing_key:
294
+ rubyforge_project:
295
+ rubygems_version: 2.7.3
296
+ signing_key:
276
297
  specification_version: 4
277
298
  summary: truemail-rspec
278
299
  test_files: []