dns_mock 1.5.14 → 1.5.15

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: 69a95ac4937690581176cfe0cf6d6fe033c89c9f4520852cd52cc01a6ad64797
4
- data.tar.gz: d7150736c3f681dd9103dd9c5b1f9814fbaa3a78ac03fd0e3623ca6f35bed08d
3
+ metadata.gz: dde2e006cea4b8137662c0ce8d384cb64460a272f32837f515b9d9e60fa6b684
4
+ data.tar.gz: f9467600c7f31d111ec6fd8791727759ee7b087cc456ab8436c90d02aa67391b
5
5
  SHA512:
6
- metadata.gz: ad2a09c9c86b34326d06949f24a774cb66fb95f7a1097973af0484adeec703a20a55e67d9e72cbc62b56f169bb69343a3ebda623fec60a4d04a7e78ae22d4657
7
- data.tar.gz: 6063d8f5ebb9c29ab7dd197a1cc5b68ca7db3ccfcb48feb2f905c349655536cf4bcbd4117d96e9ab7fe9bf45d2c46c8c480f1cb2fe4eee70dc4741dc2e7c1551
6
+ metadata.gz: ab4b457b61fea8487dee89d0dc202bcbb7ac0df033361c4bacfb10efac33631d58afb3a2565ef68211d0fd8b5f67ae69b0907e67bd254ea0af8731b341d89d0c
7
+ data.tar.gz: fb94b8273b7c2c0281da9f8dc5c3f9b44c71fdf08e6131ff8975d03049cfac34572f9e526e509e5d428f6b70fdb979662168b5f0fd8ccf98476af8cd2d5774f3
data/LICENSE.txt CHANGED
@@ -1,6 +1,6 @@
1
1
  The MIT License (MIT)
2
2
 
3
- Copyright (c) 2020-2022 Vladislav Trotsenko
3
+ Copyright (c) 2020-2023 Vladislav Trotsenko
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
data/dns_mock.gemspec CHANGED
@@ -29,7 +29,6 @@ Gem::Specification.new do |spec|
29
29
  spec.add_runtime_dependency 'simpleidn', '~> 0.2.1'
30
30
 
31
31
  spec.add_development_dependency 'ffaker', '~> 2.21'
32
- spec.add_development_dependency 'net-ftp', '~> 0.2.0' if ::Gem::Version.new(::RUBY_VERSION) >= ::Gem::Version.new('3.1.0')
33
32
  spec.add_development_dependency 'rake', '~> 13.0', '>= 13.0.6'
34
33
  spec.add_development_dependency 'rspec', '~> 3.12'
35
34
  spec.add_development_dependency 'rspec-dns', '~> 0.1.8'
@@ -35,7 +35,7 @@ module DnsMock
35
35
  begin
36
36
  loop do
37
37
  packet, addr = socket.recvfrom(DnsMock::Server::PACKET_MAX_BYTES_SIZE)
38
- break if packet.size.zero?
38
+ break if packet.empty?
39
39
 
40
40
  address, port = addr.values_at(3, 1)
41
41
  socket.send(DnsMock::Response::Message.new(packet, records, exception_if_not_found).as_binary_string, 0, address, port)
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module DnsMock
4
- VERSION = '1.5.14'
4
+ VERSION = '1.5.15'
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.5.14
4
+ version: 1.5.15
5
5
  platform: ruby
6
6
  authors:
7
7
  - Vladislav Trotsenko
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-12-11 00:00:00.000000000 Z
11
+ date: 2023-01-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: simpleidn