Skip to content

Releases: mocktools/ruby-dns-mock

v1.4.3: Technical/Update development dependencies

07 Oct 13:13
ceec10b
Compare
Choose a tag to compare
  1. Updated gem development dependencies
  2. Updated rubocop/codeclimate configs
  3. Updated gem version to 1.4.3

v1.4.2: Technical/Update development dependencies

04 Sep 08:18
13fe12f
Compare
Choose a tag to compare
  1. Updated gem development dependencies
  2. Updated codeclimate config
  3. Updated gem version to 1.4.2

v1.4.1: Technical/Update development dependencies

16 Aug 05:59
41f7c2f
Compare
Choose a tag to compare
  1. Updated gem development dependencies
  2. Changed faker to ffaker
  3. Updated rubocop/codeclimate configs
  4. Updated gem version to 1.4.1

v1.4.0: Feature/Ability to use internationalized hostnames

13 Jul 16:13
cd2b9d3
Compare
Choose a tag to compare

Added ability to use internationalized hostnames. All hostnames in UTF-8 will be represented as Punycode.

DnsMock.start_server(port: 5300, records: { 'mañana.com' => { mx: %w[másletras.mañana.com] })
dig @localhost -p 5300 MX xn--maana-pta.com
; <<>> DiG 9.10.6 <<>> @localhost -p 5300 MX xn--maana-pta.com
; (2 servers found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 4612
;; flags: rd; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1
;; WARNING: recursion requested but not available

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
;; QUESTION SECTION:
;xn--maana-pta.com.		IN	MX

;; ANSWER SECTION:
xn--maana-pta.com.	1	IN	MX	10 xn--msletras-8ya.xn--maana-pta.com.

;; Query time: 0 msec
;; SERVER: 127.0.0.1#5300(127.0.0.1)
;; WHEN: Tue Jul 13 15:38:47 EEST 2021
;; MSG SIZE  rcvd: 79
  1. Added simpleidn as runtime dependency
  2. Implemented DnsMock::Representer::Punycode, tests
  3. Refactored DnsMock::Representer::RdnsLookup, tests
  4. Updated DnsMock::Record::Factory::Base
  5. Updated DnsMock::Server::RecordsDictionaryBuilder, tests
  6. Updated DnsMock::Record::Factory::Cname, tests
  7. Updated DnsMock::Record::Factory::Mx, tests
  8. Updated DnsMock::Record::Factory::Ns, tests
  9. Updated DnsMock::Record::Factory::Ptr, tests
  10. Updated DnsMock::Record::Factory::Soa, tests
  11. Updated DnsMock::ContextGeneratorHelper, tests
  12. Updated reek config
  13. Updated gem documentation
  14. Updated gem version to 1.4.0

v1.3.1: Technical/Update development dependencies

07 Jul 18:58
70880d9
Compare
Choose a tag to compare
  1. Updated gem development dependencies
  2. Updated rubocop/codeclimate configs
  3. Updated documentation
  4. Updated gem version to 1.3.1

v1.3.0: Feature/Detecting random available port via OS features

14 Jun 15:31
f1ab6ae
Compare
Choose a tag to compare

Thanks @ioquatix for this suggestion.

  1. Removed DnsMock::Server::RandomAvailablePort
  2. DnsMock::Server, tests
  3. Fixed test coverage issues
  4. Updated test helpers/tests
  5. Updated gem development dependencies
  6. Updated Codeclimate, Simplecov config
  7. Updated gem documentation
  8. Updated gem version to 1.3.0

v1.2.4: Technical/Update development dependencies

25 May 07:26
87fba42
Compare
Choose a tag to compare
  1. Updated gem development dependencies
  2. Updated Codeclimate, CircleCI config
  3. Updated gem version to 1.2.4

v1.2.3: Technical/Update development dependencies

11 May 18:10
df03872
Compare
Choose a tag to compare
  1. Updated gem development dependencies
  2. Updated CircleCI config
  3. Updated gem version to 1.2.3

v1.2.2: Technical/Update development dependencies

06 May 07:04
0c5199f
Compare
Choose a tag to compare
  1. Updated gem development dependencies
  2. Updated rubocop/codeclimate config
  3. Updated gem version to 1.2.2

v1.2.1: Technical/Update development dependencies

23 Mar 18:51
ad9b47c
Compare
Choose a tag to compare
  1. Updated gem development dependencies
  2. Updated rubocop/codeclimate config
  3. Updated gem documentation
  4. Updated tests
  5. Updated gem version to 1.2.1