dns_mock 1.2.1 → 1.2.2

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: 064a09d83281b9b85beb9c30435f5db5bd68b5658389ff9ac8776aa23a148bff
4
- data.tar.gz: d9bb631674d58c3588c76deb8adedd38fd5dcef17cc15e38ad7185e9b1af11cb
3
+ metadata.gz: c8c53fb0d7b9cff62a03c843f181b830e6186150d73c2339515f497b5f9558f4
4
+ data.tar.gz: b695d733f4b6c90df3479bc8d5bfb5f4b2d524b602cf02bf3f61b1c8ddd8428a
5
5
  SHA512:
6
- metadata.gz: dfa19e12835b63f6637f41daa3a7c4fe2c0cecf5b32a6a5e0348398b4201e8e0ad7d2468a068e3c735e438a6e429b82878dc9b9c56c04cdea075cfa0c99b9c3f
7
- data.tar.gz: ed40dcd5e44181d3df023628cbcaef4478dfa152ed2f3e2434561ef85f628a34157274dfe811a27be78b63f80db2719106438ccd8325d436e412dd95c19e8c49
6
+ metadata.gz: 8f900aeaad134f70d6b060f8772f97c3913c910064597a659d1bac723e9817dc2fc047054fbb010278139af39778f6b527d3a67d581bc8c6cc0b4a629473062c
7
+ data.tar.gz: 8805e95177e44beb21dc9c6dbece5312e69f30d9709b3e5cd5ac8c8a5fa04fa6fe11abbf3174b6c1326968acf934e3b3f6109112d0fedc101ec7684af8028b8c
data/.codeclimate.yml CHANGED
@@ -7,7 +7,7 @@ checks:
7
7
  plugins:
8
8
  rubocop:
9
9
  enabled: true
10
- channel: rubocop-1-11
10
+ channel: rubocop-1-14
11
11
 
12
12
  reek:
13
13
  enabled: true
data/.rubocop.yml CHANGED
@@ -124,6 +124,9 @@ Style/IfWithBooleanLiteralBranches:
124
124
  Style/HashConversion:
125
125
  Enabled: true
126
126
 
127
+ Style/StringChars:
128
+ Enabled: true
129
+
127
130
  Layout/LineLength:
128
131
  Max: 150
129
132
 
@@ -269,6 +272,9 @@ Performance/RedundantEqualityComparisonBlock:
269
272
  Performance/RedundantSplitRegexpArgument:
270
273
  Enabled: true
271
274
 
275
+ Performance/MapCompact:
276
+ Enabled: true
277
+
272
278
  RSpec/ExampleLength:
273
279
  Enabled: false
274
280
 
data/CHANGELOG.md CHANGED
@@ -2,6 +2,14 @@
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.2.2] - 2021-05-06
6
+
7
+ ### Changed
8
+
9
+ - Updated gem development dependencies
10
+ - Updated rubocop/codeclimate config
11
+ - Updated ci config
12
+
5
13
  ## [1.2.1] - 2021-03-23
6
14
 
7
15
  ### Changed
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- dns_mock (1.2.1)
4
+ dns_mock (1.2.2)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -24,7 +24,7 @@ GEM
24
24
  fasterer (0.9.0)
25
25
  colorize (~> 0.7)
26
26
  ruby_parser (>= 3.14.1)
27
- i18n (1.8.9)
27
+ i18n (1.8.10)
28
28
  concurrent-ruby (~> 1.0)
29
29
  iniparse (1.5.0)
30
30
  json (2.5.1)
@@ -34,7 +34,7 @@ GEM
34
34
  childprocess (>= 0.6.3, < 5)
35
35
  iniparse (~> 1.4)
36
36
  parallel (1.20.1)
37
- parser (3.0.0.0)
37
+ parser (3.0.1.1)
38
38
  ast (~> 2.4.1)
39
39
  pry (0.13.1)
40
40
  coderay (~> 1.1)
@@ -45,13 +45,13 @@ GEM
45
45
  psych (3.3.1)
46
46
  rainbow (3.0.0)
47
47
  rake (13.0.3)
48
- reek (6.0.3)
48
+ reek (6.0.4)
49
49
  kwalify (~> 0.7.0)
50
50
  parser (~> 3.0.0)
51
51
  psych (~> 3.1)
52
52
  rainbow (>= 2.0, < 4.0)
53
53
  regexp_parser (2.1.1)
54
- rexml (3.2.4)
54
+ rexml (3.2.5)
55
55
  rspec (3.10.0)
56
56
  rspec-core (~> 3.10.0)
57
57
  rspec-expectations (~> 3.10.0)
@@ -69,21 +69,21 @@ GEM
69
69
  diff-lcs (>= 1.2.0, < 2.0)
70
70
  rspec-support (~> 3.10.0)
71
71
  rspec-support (3.10.2)
72
- rubocop (1.11.0)
72
+ rubocop (1.14.0)
73
73
  parallel (~> 1.10)
74
74
  parser (>= 3.0.0.0)
75
75
  rainbow (>= 2.2.2, < 4.0)
76
76
  regexp_parser (>= 1.8, < 3.0)
77
77
  rexml
78
- rubocop-ast (>= 1.2.0, < 2.0)
78
+ rubocop-ast (>= 1.5.0, < 2.0)
79
79
  ruby-progressbar (~> 1.7)
80
80
  unicode-display_width (>= 1.4.0, < 3.0)
81
- rubocop-ast (1.4.1)
82
- parser (>= 2.7.1.5)
83
- rubocop-performance (1.10.2)
84
- rubocop (>= 0.90.0, < 2.0)
81
+ rubocop-ast (1.5.0)
82
+ parser (>= 3.0.1.1)
83
+ rubocop-performance (1.11.3)
84
+ rubocop (>= 1.7.0, < 2.0)
85
85
  rubocop-ast (>= 0.4.0)
86
- rubocop-rspec (2.2.0)
86
+ rubocop-rspec (2.3.0)
87
87
  rubocop (~> 1.0)
88
88
  rubocop-ast (>= 1.1.0)
89
89
  ruby-progressbar (1.11.0)
@@ -115,12 +115,12 @@ DEPENDENCIES
115
115
  overcommit (~> 0.57.0)
116
116
  pry-byebug (~> 3.9)
117
117
  rake (~> 13.0, >= 13.0.3)
118
- reek (~> 6.0, >= 6.0.3)
118
+ reek (~> 6.0, >= 6.0.4)
119
119
  rspec (~> 3.10)
120
120
  rspec-dns (~> 0.1.8)
121
- rubocop (~> 1.11)
122
- rubocop-performance (~> 1.10, >= 1.10.2)
123
- rubocop-rspec (~> 2.2)
121
+ rubocop (~> 1.14)
122
+ rubocop-performance (~> 1.11, >= 1.11.3)
123
+ rubocop-rspec (~> 2.3)
124
124
  simplecov (~> 0.17.1)
125
125
 
126
126
  BUNDLED WITH
@@ -1,3 +1,5 @@
1
+ version: 2.1
2
+
1
3
  defaults: &defaults
2
4
  working_directory: ~/ruby-dns-mock
3
5
  docker:
@@ -5,6 +7,9 @@ defaults: &defaults
5
7
  environment:
6
8
  CC_TEST_REPORTER_ID: 18fba9e7d6885c48453a80a0f019a60d9ffa3fd80467652a6b3c95fef5ea9a50
7
9
 
10
+ orbs:
11
+ ruby: circleci/ruby@1.1.2
12
+
8
13
  references:
9
14
  restore_bundle_cache: &restore_bundle_cache
10
15
  restore_cache:
@@ -29,7 +34,6 @@ references:
29
34
  curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
30
35
  chmod +x ./cc-test-reporter
31
36
 
32
- version: 2
33
37
  jobs:
34
38
  linters:
35
39
  <<: *defaults
@@ -81,9 +85,28 @@ jobs:
81
85
  command: |
82
86
  ./cc-test-reporter sum-coverage --output - --parts $CIRCLE_NODE_TOTAL coverage/codeclimate.*.json | ./cc-test-reporter upload-coverage --debug --input -
83
87
 
88
+ compatibility-with-ruby:
89
+ parameters:
90
+ ruby-version:
91
+ type: string
92
+ docker:
93
+ - image: cimg/ruby:<< parameters.ruby-version >>
94
+ steps:
95
+ - checkout
96
+ - ruby/install-deps:
97
+ bundler-version: '1.16.6'
98
+ with-cache: false
99
+ path: './vendor/custom_bundle'
100
+ - run:
101
+ name: Running compatibility tests
102
+ command: bundle exec rspec
103
+
84
104
  workflows:
85
- version: 2
86
- build:
105
+ build_and_test:
87
106
  jobs:
88
107
  - linters
89
108
  - tests
109
+ - compatibility-with-ruby:
110
+ matrix:
111
+ parameters:
112
+ ruby-version: ["2.6", "2.7", "3.0"]
data/dns_mock.gemspec CHANGED
@@ -38,11 +38,11 @@ Gem::Specification.new do |spec|
38
38
  spec.add_development_dependency 'overcommit', '~> 0.57.0'
39
39
  spec.add_development_dependency 'pry-byebug', '~> 3.9'
40
40
  spec.add_development_dependency 'rake', '~> 13.0', '>= 13.0.3'
41
- spec.add_development_dependency 'reek', '~> 6.0', '>= 6.0.3'
41
+ spec.add_development_dependency 'reek', '~> 6.0', '>= 6.0.4'
42
42
  spec.add_development_dependency 'rspec', '~> 3.10'
43
43
  spec.add_development_dependency 'rspec-dns', '~> 0.1.8'
44
- spec.add_development_dependency 'rubocop', '~> 1.11'
45
- spec.add_development_dependency 'rubocop-performance', '~> 1.10', '>= 1.10.2'
46
- spec.add_development_dependency 'rubocop-rspec', '~> 2.2'
44
+ spec.add_development_dependency 'rubocop', '~> 1.14'
45
+ spec.add_development_dependency 'rubocop-performance', '~> 1.11', '>= 1.11.3'
46
+ spec.add_development_dependency 'rubocop-rspec', '~> 2.3'
47
47
  spec.add_development_dependency 'simplecov', '~> 0.17.1'
48
48
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module DnsMock
4
- VERSION = '1.2.1'
4
+ VERSION = '1.2.2'
5
5
  end
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.2.1
4
+ version: 1.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Vladislav Trotsenko
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-03-23 00:00:00.000000000 Z
11
+ date: 2021-05-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -123,7 +123,7 @@ dependencies:
123
123
  version: '6.0'
124
124
  - - ">="
125
125
  - !ruby/object:Gem::Version
126
- version: 6.0.3
126
+ version: 6.0.4
127
127
  type: :development
128
128
  prerelease: false
129
129
  version_requirements: !ruby/object:Gem::Requirement
@@ -133,7 +133,7 @@ dependencies:
133
133
  version: '6.0'
134
134
  - - ">="
135
135
  - !ruby/object:Gem::Version
136
- version: 6.0.3
136
+ version: 6.0.4
137
137
  - !ruby/object:Gem::Dependency
138
138
  name: rspec
139
139
  requirement: !ruby/object:Gem::Requirement
@@ -168,48 +168,48 @@ dependencies:
168
168
  requirements:
169
169
  - - "~>"
170
170
  - !ruby/object:Gem::Version
171
- version: '1.11'
171
+ version: '1.14'
172
172
  type: :development
173
173
  prerelease: false
174
174
  version_requirements: !ruby/object:Gem::Requirement
175
175
  requirements:
176
176
  - - "~>"
177
177
  - !ruby/object:Gem::Version
178
- version: '1.11'
178
+ version: '1.14'
179
179
  - !ruby/object:Gem::Dependency
180
180
  name: rubocop-performance
181
181
  requirement: !ruby/object:Gem::Requirement
182
182
  requirements:
183
183
  - - "~>"
184
184
  - !ruby/object:Gem::Version
185
- version: '1.10'
185
+ version: '1.11'
186
186
  - - ">="
187
187
  - !ruby/object:Gem::Version
188
- version: 1.10.2
188
+ version: 1.11.3
189
189
  type: :development
190
190
  prerelease: false
191
191
  version_requirements: !ruby/object:Gem::Requirement
192
192
  requirements:
193
193
  - - "~>"
194
194
  - !ruby/object:Gem::Version
195
- version: '1.10'
195
+ version: '1.11'
196
196
  - - ">="
197
197
  - !ruby/object:Gem::Version
198
- version: 1.10.2
198
+ version: 1.11.3
199
199
  - !ruby/object:Gem::Dependency
200
200
  name: rubocop-rspec
201
201
  requirement: !ruby/object:Gem::Requirement
202
202
  requirements:
203
203
  - - "~>"
204
204
  - !ruby/object:Gem::Version
205
- version: '2.2'
205
+ version: '2.3'
206
206
  type: :development
207
207
  prerelease: false
208
208
  version_requirements: !ruby/object:Gem::Requirement
209
209
  requirements:
210
210
  - - "~>"
211
211
  - !ruby/object:Gem::Version
212
- version: '2.2'
212
+ version: '2.3'
213
213
  - !ruby/object:Gem::Dependency
214
214
  name: simplecov
215
215
  requirement: !ruby/object:Gem::Requirement
@@ -232,7 +232,6 @@ executables: []
232
232
  extensions: []
233
233
  extra_rdoc_files: []
234
234
  files:
235
- - ".circleci/config.yml"
236
235
  - ".codeclimate.yml"
237
236
  - ".github/BRANCH_NAMING_CONVENTION.md"
238
237
  - ".github/ISSUE_TEMPLATE/bug_report.md"
@@ -257,6 +256,7 @@ files:
257
256
  - Rakefile
258
257
  - bin/console
259
258
  - bin/setup
259
+ - circle.yml
260
260
  - dns_mock.gemspec
261
261
  - lib/dns_mock.rb
262
262
  - lib/dns_mock/core.rb