dns_mock 1.5.0 → 1.5.1
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/.circleci/config.yml +12 -5
- data/.codeclimate.yml +1 -1
- data/.ruby-version +1 -1
- data/CHANGELOG.md +9 -0
- data/LICENSE.txt +1 -1
- data/README.md +1 -1
- data/dns_mock.gemspec +3 -3
- data/dns_mock.gemspec_compatible +42 -0
- data/lib/dns_mock/version.rb +1 -1
- metadata +14 -14
- data/Gemfile.lock +0 -133
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 9069a9d61624fa9e49041b67253d88d812933450d86e7f557266ec2914c1ffe1
|
|
4
|
+
data.tar.gz: 60d488d520030288cca869e464e710bb2606dc4b9e76dd38af355c8b5856fac0
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 5e6c1ec6ad0d6f1e5b0688593b6d40c8b4df3fdefbc292652a33c7641fa4aaa4c382c8dda235f9a303b12e4da3050e45ebba5f85ab565ce454c1bc8a57d2ed62
|
|
7
|
+
data.tar.gz: c195a82ee5a5f88ca8d0c73cc5bee45eaf6120e408dc80553bd687961f62dfc39b7c8e757723183e9590e0a8fca3dbabab5a932487c5f8ff87e5db976cbc8e30
|
data/.circleci/config.yml
CHANGED
|
@@ -6,7 +6,7 @@ defaults: &defaults
|
|
|
6
6
|
- image: cimg/ruby:<< parameters.ruby-version >>
|
|
7
7
|
|
|
8
8
|
orbs:
|
|
9
|
-
ruby: circleci/ruby@1.
|
|
9
|
+
ruby: circleci/ruby@1.4.0
|
|
10
10
|
|
|
11
11
|
references:
|
|
12
12
|
restore_bundle_cache: &restore_bundle_cache
|
|
@@ -34,6 +34,12 @@ references:
|
|
|
34
34
|
curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
|
|
35
35
|
chmod +x ./cc-test-reporter
|
|
36
36
|
|
|
37
|
+
use_compatible_gemspec: &use_compatible_gemspec
|
|
38
|
+
run:
|
|
39
|
+
name: Use compatible gemspec
|
|
40
|
+
command: |
|
|
41
|
+
cp dns_mock.gemspec_compatible dns_mock.gemspec
|
|
42
|
+
|
|
37
43
|
jobs:
|
|
38
44
|
linters-ruby:
|
|
39
45
|
parameters:
|
|
@@ -99,8 +105,9 @@ jobs:
|
|
|
99
105
|
- image: cimg/ruby:<< parameters.ruby-version >>
|
|
100
106
|
steps:
|
|
101
107
|
- checkout
|
|
108
|
+
- <<: *use_compatible_gemspec
|
|
102
109
|
- ruby/install-deps:
|
|
103
|
-
bundler-version: "2.3.
|
|
110
|
+
bundler-version: "2.3.5"
|
|
104
111
|
with-cache: false
|
|
105
112
|
path: './vendor/custom_bundle'
|
|
106
113
|
- run:
|
|
@@ -113,12 +120,12 @@ workflows:
|
|
|
113
120
|
- linters-ruby:
|
|
114
121
|
matrix:
|
|
115
122
|
parameters:
|
|
116
|
-
ruby-version: ["
|
|
123
|
+
ruby-version: ["3.1"]
|
|
117
124
|
- tests-ruby:
|
|
118
125
|
matrix:
|
|
119
126
|
parameters:
|
|
120
|
-
ruby-version: ["
|
|
127
|
+
ruby-version: ["3.1"]
|
|
121
128
|
- compatibility-ruby:
|
|
122
129
|
matrix:
|
|
123
130
|
parameters:
|
|
124
|
-
ruby-version: ["2.
|
|
131
|
+
ruby-version: ["2.5", "2.6", "2.7", "3.0"]
|
data/.codeclimate.yml
CHANGED
data/.ruby-version
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
ruby-
|
|
1
|
+
ruby-3.1.0
|
data/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,15 @@
|
|
|
2
2
|
|
|
3
3
|
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).
|
|
4
4
|
|
|
5
|
+
## [1.5.1] - 2022-01-23
|
|
6
|
+
|
|
7
|
+
### Updated
|
|
8
|
+
|
|
9
|
+
- Updated native Ruby test environment from 2.5 to 3.1
|
|
10
|
+
- Updated codeclimate/circleci configs
|
|
11
|
+
- Updated gem development dependencies
|
|
12
|
+
- Updated gem docs, version
|
|
13
|
+
|
|
5
14
|
## [1.5.0] - 2021-12-29
|
|
6
15
|
|
|
7
16
|
### Added
|
data/LICENSE.txt
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
The MIT License (MIT)
|
|
2
2
|
|
|
3
|
-
Copyright (c) 2020-
|
|
3
|
+
Copyright (c) 2020-2022 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
|
@@ -181,7 +181,7 @@ DnsMock::TestFramework::RSpec::Interface.clear_server! # stops and clears curren
|
|
|
181
181
|
|
|
182
182
|
## Contributing
|
|
183
183
|
|
|
184
|
-
Bug reports and pull requests are welcome on GitHub at https://github.com/mocktools/ruby-dns-mock. 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
|
|
184
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/mocktools/ruby-dns-mock. 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 tickets](https://github.com/mocktools/ruby-dns-mock/issues). Be sure to follow Contributor Code of Conduct below and our [Contributing Guidelines](CONTRIBUTING.md).
|
|
185
185
|
|
|
186
186
|
## License
|
|
187
187
|
|
data/dns_mock.gemspec
CHANGED
|
@@ -40,11 +40,11 @@ Gem::Specification.new do |spec|
|
|
|
40
40
|
spec.add_development_dependency 'overcommit', '~> 0.58.0'
|
|
41
41
|
spec.add_development_dependency 'pry-byebug', '~> 3.9'
|
|
42
42
|
spec.add_development_dependency 'rake', '~> 13.0', '>= 13.0.6'
|
|
43
|
-
spec.add_development_dependency 'reek', '~> 6.
|
|
43
|
+
spec.add_development_dependency 'reek', '~> 6.1'
|
|
44
44
|
spec.add_development_dependency 'rspec', '~> 3.10'
|
|
45
45
|
spec.add_development_dependency 'rspec-dns', '~> 0.1.8'
|
|
46
|
-
spec.add_development_dependency 'rubocop', '~> 1.
|
|
47
|
-
spec.add_development_dependency 'rubocop-performance', '~> 1.13'
|
|
46
|
+
spec.add_development_dependency 'rubocop', '~> 1.25'
|
|
47
|
+
spec.add_development_dependency 'rubocop-performance', '~> 1.13', '>= 1.13.2'
|
|
48
48
|
spec.add_development_dependency 'rubocop-rspec', '~> 2.7'
|
|
49
49
|
spec.add_development_dependency 'simplecov', '~> 0.17.1'
|
|
50
50
|
end
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
lib = ::File.expand_path('lib', __dir__)
|
|
4
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
5
|
+
require 'dns_mock/version'
|
|
6
|
+
|
|
7
|
+
Gem::Specification.new do |spec|
|
|
8
|
+
spec.name = 'dns_mock'
|
|
9
|
+
spec.version = DnsMock::VERSION
|
|
10
|
+
spec.authors = ['Vladislav Trotsenko']
|
|
11
|
+
spec.email = ['admin@bestweb.com.ua']
|
|
12
|
+
|
|
13
|
+
spec.summary = %(dns_mock)
|
|
14
|
+
spec.description = %(💎 Ruby DNS mock. Mimic any DNS records for your test environment and even more.)
|
|
15
|
+
|
|
16
|
+
spec.homepage = 'https://github.com/mocktools/ruby-dns-mock'
|
|
17
|
+
spec.license = 'MIT'
|
|
18
|
+
|
|
19
|
+
spec.metadata = {
|
|
20
|
+
'homepage_uri' => 'https://github.com/mocktools/ruby-dns-mock',
|
|
21
|
+
'changelog_uri' => 'https://github.com/mocktools/ruby-dns-mock/blob/master/CHANGELOG.md',
|
|
22
|
+
'source_code_uri' => 'https://github.com/mocktools/ruby-dns-mock',
|
|
23
|
+
'documentation_uri' => 'https://github.com/mocktools/ruby-dns-mock/blob/master/README.md',
|
|
24
|
+
'bug_tracker_uri' => 'https://github.com/mocktools/ruby-dns-mock/issues'
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
spec.required_ruby_version = '>= 2.5.0'
|
|
28
|
+
|
|
29
|
+
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
|
30
|
+
spec.bindir = 'exe'
|
|
31
|
+
spec.executables = spec.files.grep(%r{^exe/}) { |f| ::File.basename(f) }
|
|
32
|
+
spec.require_paths = ['lib']
|
|
33
|
+
|
|
34
|
+
spec.add_runtime_dependency 'simpleidn', '~> 0.2.1'
|
|
35
|
+
|
|
36
|
+
spec.add_development_dependency 'ffaker', '~> 2.20'
|
|
37
|
+
spec.add_development_dependency 'pry-byebug'
|
|
38
|
+
spec.add_development_dependency 'rake', '~> 13.0', '>= 13.0.6'
|
|
39
|
+
spec.add_development_dependency 'rspec', '~> 3.10'
|
|
40
|
+
spec.add_development_dependency 'rspec-dns', '~> 0.1.8'
|
|
41
|
+
spec.add_development_dependency 'simplecov', '~> 0.17.1'
|
|
42
|
+
end
|
data/lib/dns_mock/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: dns_mock
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.5.
|
|
4
|
+
version: 1.5.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Vladislav Trotsenko
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2022-01-23 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: simpleidn
|
|
@@ -134,20 +134,14 @@ dependencies:
|
|
|
134
134
|
requirements:
|
|
135
135
|
- - "~>"
|
|
136
136
|
- !ruby/object:Gem::Version
|
|
137
|
-
version: '6.
|
|
138
|
-
- - ">="
|
|
139
|
-
- !ruby/object:Gem::Version
|
|
140
|
-
version: 6.0.6
|
|
137
|
+
version: '6.1'
|
|
141
138
|
type: :development
|
|
142
139
|
prerelease: false
|
|
143
140
|
version_requirements: !ruby/object:Gem::Requirement
|
|
144
141
|
requirements:
|
|
145
142
|
- - "~>"
|
|
146
143
|
- !ruby/object:Gem::Version
|
|
147
|
-
version: '6.
|
|
148
|
-
- - ">="
|
|
149
|
-
- !ruby/object:Gem::Version
|
|
150
|
-
version: 6.0.6
|
|
144
|
+
version: '6.1'
|
|
151
145
|
- !ruby/object:Gem::Dependency
|
|
152
146
|
name: rspec
|
|
153
147
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -182,14 +176,14 @@ dependencies:
|
|
|
182
176
|
requirements:
|
|
183
177
|
- - "~>"
|
|
184
178
|
- !ruby/object:Gem::Version
|
|
185
|
-
version: '1.
|
|
179
|
+
version: '1.25'
|
|
186
180
|
type: :development
|
|
187
181
|
prerelease: false
|
|
188
182
|
version_requirements: !ruby/object:Gem::Requirement
|
|
189
183
|
requirements:
|
|
190
184
|
- - "~>"
|
|
191
185
|
- !ruby/object:Gem::Version
|
|
192
|
-
version: '1.
|
|
186
|
+
version: '1.25'
|
|
193
187
|
- !ruby/object:Gem::Dependency
|
|
194
188
|
name: rubocop-performance
|
|
195
189
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -197,6 +191,9 @@ dependencies:
|
|
|
197
191
|
- - "~>"
|
|
198
192
|
- !ruby/object:Gem::Version
|
|
199
193
|
version: '1.13'
|
|
194
|
+
- - ">="
|
|
195
|
+
- !ruby/object:Gem::Version
|
|
196
|
+
version: 1.13.2
|
|
200
197
|
type: :development
|
|
201
198
|
prerelease: false
|
|
202
199
|
version_requirements: !ruby/object:Gem::Requirement
|
|
@@ -204,6 +201,9 @@ dependencies:
|
|
|
204
201
|
- - "~>"
|
|
205
202
|
- !ruby/object:Gem::Version
|
|
206
203
|
version: '1.13'
|
|
204
|
+
- - ">="
|
|
205
|
+
- !ruby/object:Gem::Version
|
|
206
|
+
version: 1.13.2
|
|
207
207
|
- !ruby/object:Gem::Dependency
|
|
208
208
|
name: rubocop-rspec
|
|
209
209
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -259,13 +259,13 @@ files:
|
|
|
259
259
|
- CODE_OF_CONDUCT.md
|
|
260
260
|
- CONTRIBUTING.md
|
|
261
261
|
- Gemfile
|
|
262
|
-
- Gemfile.lock
|
|
263
262
|
- LICENSE.txt
|
|
264
263
|
- README.md
|
|
265
264
|
- Rakefile
|
|
266
265
|
- bin/console
|
|
267
266
|
- bin/setup
|
|
268
267
|
- dns_mock.gemspec
|
|
268
|
+
- dns_mock.gemspec_compatible
|
|
269
269
|
- lib/dns_mock.rb
|
|
270
270
|
- lib/dns_mock/core.rb
|
|
271
271
|
- lib/dns_mock/error/argument_type.rb
|
|
@@ -329,7 +329,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
329
329
|
- !ruby/object:Gem::Version
|
|
330
330
|
version: '0'
|
|
331
331
|
requirements: []
|
|
332
|
-
rubygems_version: 3.
|
|
332
|
+
rubygems_version: 3.3.3
|
|
333
333
|
signing_key:
|
|
334
334
|
specification_version: 4
|
|
335
335
|
summary: dns_mock
|
data/Gemfile.lock
DELETED
|
@@ -1,133 +0,0 @@
|
|
|
1
|
-
PATH
|
|
2
|
-
remote: .
|
|
3
|
-
specs:
|
|
4
|
-
dns_mock (1.5.0)
|
|
5
|
-
simpleidn (~> 0.2.1)
|
|
6
|
-
|
|
7
|
-
GEM
|
|
8
|
-
remote: https://rubygems.org/
|
|
9
|
-
specs:
|
|
10
|
-
ast (2.4.2)
|
|
11
|
-
bundler-audit (0.9.0.1)
|
|
12
|
-
bundler (>= 1.2.0, < 3)
|
|
13
|
-
thor (~> 1.0)
|
|
14
|
-
byebug (11.1.3)
|
|
15
|
-
childprocess (4.1.0)
|
|
16
|
-
coderay (1.1.3)
|
|
17
|
-
colorize (0.8.1)
|
|
18
|
-
date (3.2.2)
|
|
19
|
-
diff-lcs (1.5.0)
|
|
20
|
-
dnsruby (1.61.7)
|
|
21
|
-
simpleidn (~> 0.1)
|
|
22
|
-
docile (1.4.0)
|
|
23
|
-
fasterer (0.9.0)
|
|
24
|
-
colorize (~> 0.7)
|
|
25
|
-
ruby_parser (>= 3.14.1)
|
|
26
|
-
ffaker (2.20.0)
|
|
27
|
-
iniparse (1.5.0)
|
|
28
|
-
io-wait (0.1.0)
|
|
29
|
-
json (2.6.1)
|
|
30
|
-
kwalify (0.7.2)
|
|
31
|
-
method_source (1.0.0)
|
|
32
|
-
net-ftp (0.1.3)
|
|
33
|
-
net-protocol
|
|
34
|
-
time
|
|
35
|
-
net-protocol (0.1.2)
|
|
36
|
-
io-wait
|
|
37
|
-
timeout
|
|
38
|
-
overcommit (0.58.0)
|
|
39
|
-
childprocess (>= 0.6.3, < 5)
|
|
40
|
-
iniparse (~> 1.4)
|
|
41
|
-
rexml (~> 3.2)
|
|
42
|
-
parallel (1.21.0)
|
|
43
|
-
parser (3.0.3.2)
|
|
44
|
-
ast (~> 2.4.1)
|
|
45
|
-
pry (0.13.1)
|
|
46
|
-
coderay (~> 1.1)
|
|
47
|
-
method_source (~> 1.0)
|
|
48
|
-
pry-byebug (3.9.0)
|
|
49
|
-
byebug (~> 11.0)
|
|
50
|
-
pry (~> 0.13.0)
|
|
51
|
-
rainbow (3.0.0)
|
|
52
|
-
rake (13.0.6)
|
|
53
|
-
reek (6.0.6)
|
|
54
|
-
kwalify (~> 0.7.0)
|
|
55
|
-
parser (~> 3.0.0)
|
|
56
|
-
rainbow (>= 2.0, < 4.0)
|
|
57
|
-
regexp_parser (2.2.0)
|
|
58
|
-
rexml (3.2.5)
|
|
59
|
-
rspec (3.10.0)
|
|
60
|
-
rspec-core (~> 3.10.0)
|
|
61
|
-
rspec-expectations (~> 3.10.0)
|
|
62
|
-
rspec-mocks (~> 3.10.0)
|
|
63
|
-
rspec-core (3.10.1)
|
|
64
|
-
rspec-support (~> 3.10.0)
|
|
65
|
-
rspec-dns (0.1.8)
|
|
66
|
-
dnsruby (~> 1.54)
|
|
67
|
-
rake
|
|
68
|
-
rspec (>= 2.9)
|
|
69
|
-
rspec-expectations (3.10.1)
|
|
70
|
-
diff-lcs (>= 1.2.0, < 2.0)
|
|
71
|
-
rspec-support (~> 3.10.0)
|
|
72
|
-
rspec-mocks (3.10.2)
|
|
73
|
-
diff-lcs (>= 1.2.0, < 2.0)
|
|
74
|
-
rspec-support (~> 3.10.0)
|
|
75
|
-
rspec-support (3.10.3)
|
|
76
|
-
rubocop (1.24.0)
|
|
77
|
-
parallel (~> 1.10)
|
|
78
|
-
parser (>= 3.0.0.0)
|
|
79
|
-
rainbow (>= 2.2.2, < 4.0)
|
|
80
|
-
regexp_parser (>= 1.8, < 3.0)
|
|
81
|
-
rexml
|
|
82
|
-
rubocop-ast (>= 1.15.0, < 2.0)
|
|
83
|
-
ruby-progressbar (~> 1.7)
|
|
84
|
-
unicode-display_width (>= 1.4.0, < 3.0)
|
|
85
|
-
rubocop-ast (1.15.1)
|
|
86
|
-
parser (>= 3.0.1.1)
|
|
87
|
-
rubocop-performance (1.13.0)
|
|
88
|
-
rubocop (>= 1.7.0, < 2.0)
|
|
89
|
-
rubocop-ast (>= 0.4.0)
|
|
90
|
-
rubocop-rspec (2.7.0)
|
|
91
|
-
rubocop (~> 1.19)
|
|
92
|
-
ruby-progressbar (1.11.0)
|
|
93
|
-
ruby_parser (3.18.1)
|
|
94
|
-
sexp_processor (~> 4.16)
|
|
95
|
-
sexp_processor (4.16.0)
|
|
96
|
-
simplecov (0.17.1)
|
|
97
|
-
docile (~> 1.1)
|
|
98
|
-
json (>= 1.8, < 3)
|
|
99
|
-
simplecov-html (~> 0.10.0)
|
|
100
|
-
simplecov-html (0.10.2)
|
|
101
|
-
simpleidn (0.2.1)
|
|
102
|
-
unf (~> 0.1.4)
|
|
103
|
-
thor (1.1.0)
|
|
104
|
-
time (0.2.0)
|
|
105
|
-
date
|
|
106
|
-
timeout (0.2.0)
|
|
107
|
-
unf (0.1.4)
|
|
108
|
-
unf_ext
|
|
109
|
-
unf_ext (0.0.8)
|
|
110
|
-
unicode-display_width (2.1.0)
|
|
111
|
-
|
|
112
|
-
PLATFORMS
|
|
113
|
-
x86_64-darwin-20
|
|
114
|
-
|
|
115
|
-
DEPENDENCIES
|
|
116
|
-
bundler-audit (~> 0.9.0.1)
|
|
117
|
-
dns_mock!
|
|
118
|
-
fasterer (~> 0.9.0)
|
|
119
|
-
ffaker (~> 2.20)
|
|
120
|
-
net-ftp (~> 0.1.3)
|
|
121
|
-
overcommit (~> 0.58.0)
|
|
122
|
-
pry-byebug (~> 3.9)
|
|
123
|
-
rake (~> 13.0, >= 13.0.6)
|
|
124
|
-
reek (~> 6.0, >= 6.0.6)
|
|
125
|
-
rspec (~> 3.10)
|
|
126
|
-
rspec-dns (~> 0.1.8)
|
|
127
|
-
rubocop (~> 1.24)
|
|
128
|
-
rubocop-performance (~> 1.13)
|
|
129
|
-
rubocop-rspec (~> 2.7)
|
|
130
|
-
simplecov (~> 0.17.1)
|
|
131
|
-
|
|
132
|
-
BUNDLED WITH
|
|
133
|
-
2.3.3
|