dns_mock 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (61) hide show
  1. checksums.yaml +7 -0
  2. data/.circleci/config.yml +89 -0
  3. data/.codeclimate.yml +13 -0
  4. data/.github/BRANCH_NAMING_CONVENTION.md +36 -0
  5. data/.github/ISSUE_TEMPLATE/bug_report.md +28 -0
  6. data/.github/ISSUE_TEMPLATE/feature_request.md +27 -0
  7. data/.github/ISSUE_TEMPLATE/issue_report.md +28 -0
  8. data/.github/ISSUE_TEMPLATE/question.md +22 -0
  9. data/.github/PULL_REQUEST_TEMPLATE.md +49 -0
  10. data/.gitignore +10 -0
  11. data/.overcommit.yml +32 -0
  12. data/.reek.yml +46 -0
  13. data/.rspec +2 -0
  14. data/.rubocop.yml +273 -0
  15. data/.ruby-gemset +1 -0
  16. data/.ruby-version +1 -0
  17. data/CHANGELOG.md +9 -0
  18. data/CODE_OF_CONDUCT.md +74 -0
  19. data/CONTRIBUTING.md +46 -0
  20. data/Gemfile +5 -0
  21. data/Gemfile.lock +127 -0
  22. data/LICENSE.txt +21 -0
  23. data/README.md +79 -0
  24. data/Rakefile +8 -0
  25. data/bin/console +15 -0
  26. data/bin/setup +8 -0
  27. data/dns_mock.gemspec +48 -0
  28. data/lib/dns_mock.rb +19 -0
  29. data/lib/dns_mock/core.rb +56 -0
  30. data/lib/dns_mock/error/argument_type.rb +11 -0
  31. data/lib/dns_mock/error/helper.rb +22 -0
  32. data/lib/dns_mock/error/port_in_use.rb +11 -0
  33. data/lib/dns_mock/error/random_free_port.rb +11 -0
  34. data/lib/dns_mock/error/record_context.rb +11 -0
  35. data/lib/dns_mock/error/record_context_type.rb +15 -0
  36. data/lib/dns_mock/error/record_host_type.rb +11 -0
  37. data/lib/dns_mock/error/record_not_found.rb +11 -0
  38. data/lib/dns_mock/error/record_type.rb +11 -0
  39. data/lib/dns_mock/record/builder/a.rb +9 -0
  40. data/lib/dns_mock/record/builder/aaaa.rb +9 -0
  41. data/lib/dns_mock/record/builder/base.rb +26 -0
  42. data/lib/dns_mock/record/builder/cname.rb +13 -0
  43. data/lib/dns_mock/record/builder/mx.rb +22 -0
  44. data/lib/dns_mock/record/builder/ns.rb +9 -0
  45. data/lib/dns_mock/record/builder/soa.rb +19 -0
  46. data/lib/dns_mock/record/builder/txt.rb +9 -0
  47. data/lib/dns_mock/record/factory/a.rb +15 -0
  48. data/lib/dns_mock/record/factory/aaaa.rb +15 -0
  49. data/lib/dns_mock/record/factory/base.rb +54 -0
  50. data/lib/dns_mock/record/factory/cname.rb +15 -0
  51. data/lib/dns_mock/record/factory/mx.rb +15 -0
  52. data/lib/dns_mock/record/factory/ns.rb +15 -0
  53. data/lib/dns_mock/record/factory/soa.rb +15 -0
  54. data/lib/dns_mock/record/factory/txt.rb +15 -0
  55. data/lib/dns_mock/response/answer.rb +32 -0
  56. data/lib/dns_mock/response/message.rb +29 -0
  57. data/lib/dns_mock/server.rb +82 -0
  58. data/lib/dns_mock/server/random_available_port.rb +48 -0
  59. data/lib/dns_mock/server/records_dictionary_builder.rb +52 -0
  60. data/lib/dns_mock/version.rb +5 -0
  61. metadata +334 -0
@@ -0,0 +1 @@
1
+ dns_mock
@@ -0,0 +1 @@
1
+ ruby-2.5.0
@@ -0,0 +1,9 @@
1
+ # Changelog
2
+
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
+
5
+ ## [0.1.0] - 2021-01-19
6
+
7
+ ### First release
8
+
9
+ Implemented first version of `DnsMock`. Thanks [@le0pard](https://github.com/le0pard) for idea & support 🚀
@@ -0,0 +1,74 @@
1
+ # Contributor Covenant Code of Conduct
2
+
3
+ ## Our Pledge
4
+
5
+ In the interest of fostering an open and welcoming environment, we as
6
+ contributors and maintainers pledge to making participation in our project and
7
+ our community a harassment-free experience for everyone, regardless of age, body
8
+ size, disability, ethnicity, gender identity and expression, level of experience,
9
+ nationality, personal appearance, race, religion, or sexual identity and
10
+ orientation.
11
+
12
+ ## Our Standards
13
+
14
+ Examples of behavior that contributes to creating a positive environment
15
+ include:
16
+
17
+ * Using welcoming and inclusive language
18
+ * Being respectful of differing viewpoints and experiences
19
+ * Gracefully accepting constructive criticism
20
+ * Focusing on what is best for the community
21
+ * Showing empathy towards other community members
22
+
23
+ Examples of unacceptable behavior by participants include:
24
+
25
+ * The use of sexualized language or imagery and unwelcome sexual attention or
26
+ advances
27
+ * Trolling, insulting/derogatory comments, and personal or political attacks
28
+ * Public or private harassment
29
+ * Publishing others' private information, such as a physical or electronic
30
+ address, without explicit permission
31
+ * Other conduct which could reasonably be considered inappropriate in a
32
+ professional setting
33
+
34
+ ## Our Responsibilities
35
+
36
+ Project maintainers are responsible for clarifying the standards of acceptable
37
+ behavior and are expected to take appropriate and fair corrective action in
38
+ response to any instances of unacceptable behavior.
39
+
40
+ Project maintainers have the right and responsibility to remove, edit, or
41
+ reject comments, commits, code, wiki edits, issues, and other contributions
42
+ that are not aligned to this Code of Conduct, or to ban temporarily or
43
+ permanently any contributor for other behaviors that they deem inappropriate,
44
+ threatening, offensive, or harmful.
45
+
46
+ ## Scope
47
+
48
+ This Code of Conduct applies both within project spaces and in public spaces
49
+ when an individual is representing the project or its community. Examples of
50
+ representing a project or community include using an official project e-mail
51
+ address, posting via an official social media account, or acting as an appointed
52
+ representative at an online or offline event. Representation of a project may be
53
+ further defined and clarified by project maintainers.
54
+
55
+ ## Enforcement
56
+
57
+ Instances of abusive, harassing, or otherwise unacceptable behavior may be
58
+ reported by contacting the project team at admin@bestweb.com.ua. All
59
+ complaints will be reviewed and investigated and will result in a response that
60
+ is deemed necessary and appropriate to the circumstances. The project team is
61
+ obligated to maintain confidentiality with regard to the reporter of an incident.
62
+ Further details of specific enforcement policies may be posted separately.
63
+
64
+ Project maintainers who do not follow or enforce the Code of Conduct in good
65
+ faith may face temporary or permanent repercussions as determined by other
66
+ members of the project's leadership.
67
+
68
+ ## Attribution
69
+
70
+ This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
71
+ available at [http://contributor-covenant.org/version/1/4][version]
72
+
73
+ [homepage]: http://contributor-covenant.org
74
+ [version]: http://contributor-covenant.org/version/1/4/
@@ -0,0 +1,46 @@
1
+ # Contributing to DnsMock
2
+
3
+ Please take a moment to review this document in order to make the contribution process easy and effective for everyone involved.
4
+
5
+ Following these guidelines helps to communicate that you respect the time of the developers managing and developing this open source project. In return, they should reciprocate that respect in addressing your issue or assessing patches and features.
6
+
7
+ ## Using the issue tracker
8
+
9
+ The issue tracker is the preferred channel for [issue/bug reports](#issuebug-reports), [feature requests](#feature-requests), [questions](#questions) and submitting [pull requests](#pull-requests).
10
+
11
+ ## Issue/bug reports
12
+
13
+ A bug is a _demonstrable problem_ that is caused by the code in the repository. Good bug reports are extremely helpful - thank you!
14
+
15
+ Guidelines for issue/bug reports:
16
+
17
+ 1. **Use the GitHub issue search** — check if the issue has already been reported
18
+ 2. **Check if the issue has been fixed** — try to reproduce it using the latest `master` or `develop` branch in the repository
19
+ 3. DnsMock [issue template](.github/ISSUE_TEMPLATE/issue_report.md)/[bug template](.github/ISSUE_TEMPLATE/bug_report.md)
20
+
21
+ A good bug report shouldn't leave others needing to chase you up for more information. Please try to be as detailed as possible in your report. What is your environment? What steps will reproduce the issue? What would you expect to be the outcome? All these details will help people to fix any potential bugs.
22
+
23
+ ## Feature requests
24
+
25
+ Feature requests are welcome. But take a moment to find out whether your idea fits with the scope and aims of the project. It's up to *you* to make a strong case to convince the project's developers of the merits of this feature. Please provide as much detail and context as possible.
26
+
27
+ ## Questions
28
+
29
+ We're always open to a new conversations. So if you have any questions just ask us.
30
+
31
+ ## Pull requests
32
+
33
+ Good pull requests - patches, improvements, new features - are a fantastic help. They should remain focused in scope and avoid containing unrelated commits.
34
+
35
+ **Please ask first** before embarking on any significant pull request (e.g. implementing features, refactoring code, porting to a different language), otherwise you risk spending a lot of time working on something that the project's developers might not want to merge into the project.
36
+
37
+ Please adhere to the coding conventions used throughout a project (indentation, accurate comments, etc.) and any other requirements (such as test coverage). Not all features proposed will be added but we are open to having a conversation about a feature you are championing.
38
+
39
+ Guidelines for pull requests:
40
+
41
+ 1. DnsMock [pull request template](.github/PULL_REQUEST_TEMPLATE.md)
42
+ 2. Fork the repo, checkout to `develop` branch
43
+ 3. Run the tests. This is to make sure your starting point works
44
+ 4. Read our [branch naming convention](.github/BRANCH_NAMING_CONVENTION.md)
45
+ 5. Create a new branch and make your changes. This includes tests for features!
46
+ 6. Push to your fork and submit a pull request to `develop` branch
data/Gemfile ADDED
@@ -0,0 +1,5 @@
1
+ # frozen_string_literal: true
2
+
3
+ source 'https://rubygems.org'
4
+ git_source(:github) { |repo_name| "https://github.com/#{repo_name}" }
5
+ gemspec
@@ -0,0 +1,127 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ dns_mock (0.1.0)
5
+
6
+ GEM
7
+ remote: https://rubygems.org/
8
+ specs:
9
+ ast (2.4.1)
10
+ bundler-audit (0.7.0.1)
11
+ bundler (>= 1.2.0, < 3)
12
+ thor (>= 0.18, < 2)
13
+ byebug (11.1.3)
14
+ childprocess (4.0.0)
15
+ coderay (1.1.3)
16
+ colorize (0.8.1)
17
+ concurrent-ruby (1.1.7)
18
+ diff-lcs (1.4.4)
19
+ dnsruby (1.61.5)
20
+ simpleidn (~> 0.1)
21
+ docile (1.3.5)
22
+ faker (2.15.1)
23
+ i18n (>= 1.6, < 2)
24
+ fasterer (0.8.3)
25
+ colorize (~> 0.7)
26
+ ruby_parser (>= 3.14.1)
27
+ i18n (1.8.7)
28
+ concurrent-ruby (~> 1.0)
29
+ iniparse (1.5.0)
30
+ json (2.5.1)
31
+ kwalify (0.7.2)
32
+ method_source (1.0.0)
33
+ overcommit (0.57.0)
34
+ childprocess (>= 0.6.3, < 5)
35
+ iniparse (~> 1.4)
36
+ parallel (1.20.1)
37
+ parser (3.0.0.0)
38
+ ast (~> 2.4.1)
39
+ pry (0.13.1)
40
+ coderay (~> 1.1)
41
+ method_source (~> 1.0)
42
+ pry-byebug (3.9.0)
43
+ byebug (~> 11.0)
44
+ pry (~> 0.13.0)
45
+ psych (3.3.0)
46
+ rainbow (3.0.0)
47
+ rake (13.0.3)
48
+ reek (6.0.3)
49
+ kwalify (~> 0.7.0)
50
+ parser (~> 3.0.0)
51
+ psych (~> 3.1)
52
+ rainbow (>= 2.0, < 4.0)
53
+ regexp_parser (2.0.3)
54
+ rexml (3.2.4)
55
+ rspec (3.10.0)
56
+ rspec-core (~> 3.10.0)
57
+ rspec-expectations (~> 3.10.0)
58
+ rspec-mocks (~> 3.10.0)
59
+ rspec-core (3.10.1)
60
+ rspec-support (~> 3.10.0)
61
+ rspec-dns (0.1.8)
62
+ dnsruby (~> 1.54)
63
+ rake
64
+ rspec (>= 2.9)
65
+ rspec-expectations (3.10.1)
66
+ diff-lcs (>= 1.2.0, < 2.0)
67
+ rspec-support (~> 3.10.0)
68
+ rspec-mocks (3.10.1)
69
+ diff-lcs (>= 1.2.0, < 2.0)
70
+ rspec-support (~> 3.10.0)
71
+ rspec-support (3.10.1)
72
+ rubocop (1.8.1)
73
+ parallel (~> 1.10)
74
+ parser (>= 3.0.0.0)
75
+ rainbow (>= 2.2.2, < 4.0)
76
+ regexp_parser (>= 1.8, < 3.0)
77
+ rexml
78
+ rubocop-ast (>= 1.2.0, < 2.0)
79
+ ruby-progressbar (~> 1.7)
80
+ unicode-display_width (>= 1.4.0, < 3.0)
81
+ rubocop-ast (1.4.0)
82
+ parser (>= 2.7.1.5)
83
+ rubocop-performance (1.9.2)
84
+ rubocop (>= 0.90.0, < 2.0)
85
+ rubocop-ast (>= 0.4.0)
86
+ rubocop-rspec (2.1.0)
87
+ rubocop (~> 1.0)
88
+ rubocop-ast (>= 1.1.0)
89
+ ruby-progressbar (1.11.0)
90
+ ruby_parser (3.15.1)
91
+ sexp_processor (~> 4.9)
92
+ sexp_processor (4.15.2)
93
+ simplecov (0.17.1)
94
+ docile (~> 1.1)
95
+ json (>= 1.8, < 3)
96
+ simplecov-html (~> 0.10.0)
97
+ simplecov-html (0.10.2)
98
+ simpleidn (0.2.1)
99
+ unf (~> 0.1.4)
100
+ thor (1.0.1)
101
+ unf (0.1.4)
102
+ unf_ext
103
+ unf_ext (0.0.7.7)
104
+ unicode-display_width (2.0.0)
105
+
106
+ PLATFORMS
107
+ ruby
108
+
109
+ DEPENDENCIES
110
+ bundler (~> 1.16)
111
+ bundler-audit (~> 0.7.0.1)
112
+ dns_mock!
113
+ faker (~> 2.15, >= 2.15.1)
114
+ fasterer (~> 0.8.3)
115
+ overcommit (~> 0.57.0)
116
+ pry-byebug (~> 3.9)
117
+ rake (~> 13.0, >= 13.0.3)
118
+ reek (~> 6.0, >= 6.0.3)
119
+ rspec (~> 3.10)
120
+ rspec-dns (~> 0.1.8)
121
+ rubocop (~> 1.8, >= 1.8.1)
122
+ rubocop-performance (~> 1.9, >= 1.9.2)
123
+ rubocop-rspec (~> 2.1)
124
+ simplecov (~> 0.17.1)
125
+
126
+ BUNDLED WITH
127
+ 1.16.6
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2020-2021 Vladislav Trotsenko
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
@@ -0,0 +1,79 @@
1
+ # Ruby DnsMock
2
+
3
+ [![CircleCI](https://circleci.com/gh/mocktools/ruby-dns-mock/tree/develop.svg?style=svg)](https://circleci.com/gh/mocktools/ruby-dns-mock/tree/develop)
4
+ [![Gem Version](https://badge.fury.io/rb/dns_mock.svg)](https://badge.fury.io/rb/dns_mock)
5
+ [![Downloads](https://img.shields.io/gem/dt/dns_mock.svg?colorA=004d99&colorB=0073e6)](https://rubygems.org/gems/dns_mock)
6
+ [![GitHub](https://img.shields.io/github/license/mocktools/ruby-dns-mock)](LICENSE.txt)
7
+ [![Contributor Covenant](https://img.shields.io/badge/Contributor%20Covenant-v1.4%20adopted-ff69b4.svg)](CODE_OF_CONDUCT.md)
8
+
9
+ ## Table of Contents
10
+
11
+ - [Features](#features)
12
+ - [Requirements](#requirements)
13
+ - [Installation](#installation)
14
+ - [Usage](#usage)
15
+
16
+ ## Requirements
17
+
18
+ Ruby MRI 2.5.0+
19
+
20
+ ## Features
21
+
22
+ - Ability to mimic any DNS records for your test environment
23
+ - Zero runtime dependencies
24
+ - Test framework agnostic (`RSpec`, `Test::Unit`, `MiniTest`). Even can be used outside of test frameworks
25
+
26
+ ## Installation
27
+
28
+ Add this line to your application's `Gemfile`:
29
+
30
+ ```ruby
31
+ group :development, :test do
32
+ gem 'dns_mock', require: false
33
+ end
34
+ ```
35
+
36
+ And then execute:
37
+
38
+ $ bundle
39
+
40
+ Or install it yourself as:
41
+
42
+ $ gem install dns_mock
43
+
44
+ ## Usage
45
+
46
+ ```ruby
47
+ # Example of mocked DNS records
48
+ records = {
49
+ 'example.com' => {
50
+ a: %w[1.1.1.1, 2.2.2.2],
51
+ aaaa: %w[2a00:1450:4001:81e::200e],
52
+ ns: %w[ns1.domain.com ns2.domain.com],
53
+ mx: %w[mx1.domain.com mx2.domain.com],
54
+ txt: %w[txt_record_1 txt_record_2],
55
+ cname: 'some.domain.com',
56
+ soa: [
57
+ {
58
+ mname: 'dns1.domain.com',
59
+ rname: 'dns2.domain.com',
60
+ serial: 2_035_971_683,
61
+ refresh: 10_000,
62
+ retry: 2_400,
63
+ expire: 604_800,
64
+ minimum: 3_600
65
+ }
66
+ ]
67
+ }
68
+ }
69
+
70
+ # Main DnsMock interface:
71
+ dns_mock_server = DnsMock.start_server(records: records) # records, port are an optional params
72
+ dns_mock_server.port
73
+ dns_mock_server.assign_mocks(records)
74
+ dns_mock_server.reset_mocks!
75
+ dns_mock_server.stop!
76
+
77
+ DnsMock.running_servers
78
+ DnsMock.stop_running_servers!
79
+ ```
@@ -0,0 +1,8 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'bundler/gem_tasks'
4
+ require 'rspec/core/rake_task'
5
+
6
+ RSpec::Core::RakeTask.new(:spec)
7
+
8
+ task default: :spec
@@ -0,0 +1,15 @@
1
+ #!/usr/bin/env ruby
2
+ # frozen_string_literal: true
3
+
4
+ require 'bundler/setup'
5
+ require 'dns_mock'
6
+
7
+ # You can add fixtures and/or initialization code here to make experimenting
8
+ # with your gem easier. You can also use a different console, if you like.
9
+
10
+ # (If you use this, don't forget to add pry to your Gemfile!)
11
+ # require "pry"
12
+ # Pry.start
13
+
14
+ require 'irb'
15
+ IRB.start(__FILE__)
@@ -0,0 +1,8 @@
1
+ #!/usr/bin/env bash
2
+ set -euo pipefail
3
+ IFS=$'\n\t'
4
+ set -vx
5
+
6
+ bundle install
7
+
8
+ # Do any other automated setup that you need to do here
@@ -0,0 +1,48 @@
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)
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_development_dependency 'bundler', '~> 1.16'
35
+ spec.add_development_dependency 'bundler-audit', '~> 0.7.0.1'
36
+ spec.add_development_dependency 'faker', '~> 2.15', '>= 2.15.1'
37
+ spec.add_development_dependency 'fasterer', '~> 0.8.3'
38
+ spec.add_development_dependency 'overcommit', '~> 0.57.0'
39
+ spec.add_development_dependency 'pry-byebug', '~> 3.9'
40
+ spec.add_development_dependency 'rake', '~> 13.0', '>= 13.0.3'
41
+ spec.add_development_dependency 'reek', '~> 6.0', '>= 6.0.3'
42
+ spec.add_development_dependency 'rspec', '~> 3.10'
43
+ spec.add_development_dependency 'rspec-dns', '~> 0.1.8'
44
+ spec.add_development_dependency 'rubocop', '~> 1.8', '>= 1.8.1'
45
+ spec.add_development_dependency 'rubocop-performance', '~> 1.9', '>= 1.9.2'
46
+ spec.add_development_dependency 'rubocop-rspec', '~> 2.1'
47
+ spec.add_development_dependency 'simplecov', '~> 0.17.1'
48
+ end