README.md in dns_mock-0.2.0 vs README.md in dns_mock-0.2.1
- old
+ new
@@ -1,10 +1,10 @@
# Ruby DnsMock
[](https://codeclimate.com/github/mocktools/ruby-dns-mock/maintainability)
[](https://codeclimate.com/github/mocktools/ruby-dns-mock/test_coverage)
-[](https://circleci.com/gh/mocktools/ruby-dns-mock/tree/develop)
+[](https://circleci.com/gh/mocktools/ruby-dns-mock/tree/master)
[](https://badge.fury.io/rb/dns_mock)
[](https://rubygems.org/gems/dns_mock)
[](LICENSE.txt)
[](CODE_OF_CONDUCT.md)
@@ -21,22 +21,22 @@
- [Code of Conduct](#code-of-conduct)
- [Credits](#credits)
- [Versioning](#versioning)
- [Changelog](CHANGELOG.md)
-## Requirements
-
-Ruby MRI 2.5.0+
-
## Features
- Ability to mimic any DNS records (`A`, `AAAA`, `CNAME`, `MX`, `NS`, `PTR`, `SOA` and `TXT`)
- Zero runtime dependencies
- Lightweight UDP DNS mock server with dynamic/manual port assignment
- Test framework agnostic (it's PORO, so you can use it outside of `RSpec`, `Test::Unit` or `MiniTest`)
- Simple and intuitive DSL
+## Requirements
+
+Ruby MRI 2.5.0+
+
## Installation
Add this line to your application's `Gemfile`:
```ruby
@@ -75,10 +75,10 @@
expire: 604_800,
minimum: 3_600
}
]
},
- '1.1.1.1' => {
+ '1.2.3.4' => {
ptr: %w[domain_1.com domain_2.com]
}
}
# Main DnsMock interface. records:Hash, port:Integer are an