dns_mock 1.2.2 → 1.2.3

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: c8c53fb0d7b9cff62a03c843f181b830e6186150d73c2339515f497b5f9558f4
4
- data.tar.gz: b695d733f4b6c90df3479bc8d5bfb5f4b2d524b602cf02bf3f61b1c8ddd8428a
3
+ metadata.gz: 66e5860c3ab25815cc94543f7703b1318c13fa55492921de37db8649f4f28ea7
4
+ data.tar.gz: 2e2d5ac9dfce7a0fb5d16bc8ac90b0a964face183eb4535e75d291c6613363d8
5
5
  SHA512:
6
- metadata.gz: 8f900aeaad134f70d6b060f8772f97c3913c910064597a659d1bac723e9817dc2fc047054fbb010278139af39778f6b527d3a67d581bc8c6cc0b4a629473062c
7
- data.tar.gz: 8805e95177e44beb21dc9c6dbece5312e69f30d9709b3e5cd5ac8c8a5fa04fa6fe11abbf3174b6c1326968acf934e3b3f6109112d0fedc101ec7684af8028b8c
6
+ metadata.gz: 6a8decdc20ec9e3ae7e829e9baa82b2f736c4e13c0306447c98eae9c84919299811afe25ddaece1b7cf1949aee817c3533fd692e11a40f3332bead029a89fe36
7
+ data.tar.gz: e48f73f649d5ba827362bc7db39c0ad0bd30f67601694ec54ee5038fbae9519f4bffa12303047f6395b15f6be3f6de3a2c738e89583817c454b5472cb3f10bfe
@@ -3,14 +3,19 @@ version: 2.1
3
3
  defaults: &defaults
4
4
  working_directory: ~/ruby-dns-mock
5
5
  docker:
6
- - image: circleci/ruby:2.5.0-node
6
+ - image: cimg/ruby:<< parameters.ruby-version >>
7
7
  environment:
8
8
  CC_TEST_REPORTER_ID: 18fba9e7d6885c48453a80a0f019a60d9ffa3fd80467652a6b3c95fef5ea9a50
9
9
 
10
10
  orbs:
11
- ruby: circleci/ruby@1.1.2
11
+ ruby: circleci/ruby@1.1.3
12
12
 
13
13
  references:
14
+ install_bundler: &install_bundler
15
+ run:
16
+ name: Installing bundler
17
+ command: gem i bundler -v $(tail -1 Gemfile.lock | tr -d ' ')
18
+
14
19
  restore_bundle_cache: &restore_bundle_cache
15
20
  restore_cache:
16
21
  keys:
@@ -29,18 +34,23 @@ references:
29
34
 
30
35
  install_codeclimate_reporter: &install_codeclimate_reporter
31
36
  run:
32
- name: Install Code Climate Test Reporter
37
+ name: Install Code Climate test reporter
33
38
  command: |
34
39
  curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
35
40
  chmod +x ./cc-test-reporter
36
41
 
37
42
  jobs:
38
- linters:
43
+ linters-with-ruby:
44
+ parameters:
45
+ ruby-version:
46
+ type: string
47
+
39
48
  <<: *defaults
40
49
 
41
50
  steps:
42
51
  - checkout
43
52
 
53
+ - <<: *install_bundler
44
54
  - <<: *restore_bundle_cache
45
55
  - <<: *bundle_install
46
56
  - <<: *save_bundle_cache
@@ -51,12 +61,17 @@ jobs:
51
61
  bundle exec overcommit -s
52
62
  SKIP=AuthorEmail,AuthorName bundle exec overcommit -r
53
63
 
54
- tests:
64
+ tests-and-coverage-with-ruby:
65
+ parameters:
66
+ ruby-version:
67
+ type: string
68
+
55
69
  <<: *defaults
56
70
 
57
71
  steps:
58
72
  - checkout
59
73
 
74
+ - <<: *install_bundler
60
75
  - <<: *restore_bundle_cache
61
76
  - <<: *bundle_install
62
77
  - <<: *save_bundle_cache
@@ -65,7 +80,6 @@ jobs:
65
80
  - run:
66
81
  name: Running tests
67
82
  command: |
68
- mkdir /tmp/test-results
69
83
  ./cc-test-reporter before-build
70
84
  bundle exec rspec
71
85
 
@@ -74,12 +88,9 @@ jobs:
74
88
  command: |
75
89
  ./cc-test-reporter format-coverage -t simplecov -o "coverage/codeclimate.$CIRCLE_NODE_INDEX.json"
76
90
 
77
- - store_test_results:
78
- path: /tmp/test-results
79
-
80
91
  - store_artifacts:
81
- path: /tmp/test-results
82
- destination: test-results
92
+ path: ~/ruby-dns-mock/coverage
93
+ destination: coverage
83
94
 
84
95
  - deploy:
85
96
  command: |
@@ -94,7 +105,6 @@ jobs:
94
105
  steps:
95
106
  - checkout
96
107
  - ruby/install-deps:
97
- bundler-version: '1.16.6'
98
108
  with-cache: false
99
109
  path: './vendor/custom_bundle'
100
110
  - run:
@@ -104,8 +114,14 @@ jobs:
104
114
  workflows:
105
115
  build_and_test:
106
116
  jobs:
107
- - linters
108
- - tests
117
+ - linters-with-ruby:
118
+ matrix:
119
+ parameters:
120
+ ruby-version: ["2.5"]
121
+ - tests-and-coverage-with-ruby:
122
+ matrix:
123
+ parameters:
124
+ ruby-version: ["2.5"]
109
125
  - compatibility-with-ruby:
110
126
  matrix:
111
127
  parameters:
data/CHANGELOG.md CHANGED
@@ -2,6 +2,13 @@
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.3] - 2021-05-11
6
+
7
+ ### Changed
8
+
9
+ - Updated gem development dependencies
10
+ - Updated CircleCI config
11
+
5
12
  ## [1.2.2] - 2021-05-06
6
13
 
7
14
  ### Changed
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- dns_mock (1.2.2)
4
+ dns_mock (1.2.3)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -104,10 +104,10 @@ GEM
104
104
  unicode-display_width (2.0.0)
105
105
 
106
106
  PLATFORMS
107
- ruby
107
+ x86_64-darwin-19
108
108
 
109
109
  DEPENDENCIES
110
- bundler (~> 1.16)
110
+ bundler (~> 2.2, >= 2.2.17)
111
111
  bundler-audit (~> 0.8.0)
112
112
  dns_mock!
113
113
  faker (~> 2.17)
@@ -124,4 +124,4 @@ DEPENDENCIES
124
124
  simplecov (~> 0.17.1)
125
125
 
126
126
  BUNDLED WITH
127
- 1.16.6
127
+ 2.2.17
data/dns_mock.gemspec CHANGED
@@ -31,7 +31,7 @@ Gem::Specification.new do |spec|
31
31
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
32
32
  spec.require_paths = ['lib']
33
33
 
34
- spec.add_development_dependency 'bundler', '~> 1.16'
34
+ spec.add_development_dependency 'bundler', '~> 2.2', '>= 2.2.17'
35
35
  spec.add_development_dependency 'bundler-audit', '~> 0.8.0'
36
36
  spec.add_development_dependency 'faker', '~> 2.17'
37
37
  spec.add_development_dependency 'fasterer', '~> 0.9.0'
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module DnsMock
4
- VERSION = '1.2.2'
4
+ VERSION = '1.2.3'
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.2
4
+ version: 1.2.3
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-05-06 00:00:00.000000000 Z
11
+ date: 2021-05-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -16,14 +16,20 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '1.16'
19
+ version: '2.2'
20
+ - - ">="
21
+ - !ruby/object:Gem::Version
22
+ version: 2.2.17
20
23
  type: :development
21
24
  prerelease: false
22
25
  version_requirements: !ruby/object:Gem::Requirement
23
26
  requirements:
24
27
  - - "~>"
25
28
  - !ruby/object:Gem::Version
26
- version: '1.16'
29
+ version: '2.2'
30
+ - - ">="
31
+ - !ruby/object:Gem::Version
32
+ version: 2.2.17
27
33
  - !ruby/object:Gem::Dependency
28
34
  name: bundler-audit
29
35
  requirement: !ruby/object:Gem::Requirement
@@ -232,6 +238,7 @@ executables: []
232
238
  extensions: []
233
239
  extra_rdoc_files: []
234
240
  files:
241
+ - ".circleci/config.yml"
235
242
  - ".codeclimate.yml"
236
243
  - ".github/BRANCH_NAMING_CONVENTION.md"
237
244
  - ".github/ISSUE_TEMPLATE/bug_report.md"
@@ -256,7 +263,6 @@ files:
256
263
  - Rakefile
257
264
  - bin/console
258
265
  - bin/setup
259
- - circle.yml
260
266
  - dns_mock.gemspec
261
267
  - lib/dns_mock.rb
262
268
  - lib/dns_mock/core.rb