reversed 0.4.1 → 0.5.0

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: dd9f6328cbd5be97594a5bae2f2a48506628cf6fcf17924408442647cccc27e2
4
- data.tar.gz: 5adcd195cfd69de89460f51c2306058e124f41d5db714a2970cf4ef555bf13c0
3
+ metadata.gz: '009ca6bfc5ae50e8cf7d6dc3d242acc17141c0dacf17e0d67c1e4b618071c853'
4
+ data.tar.gz: 01d0308dd763814a6d7b2b09ce836b74ece1aaf1d0c145288927236976b41dc0
5
5
  SHA512:
6
- metadata.gz: b67e975eee622d55fdd878888e7e1049091f253a50aceb388d9b943bb71d738d13107752b014c07fbb418c67a29b81377ca18cb8732fe6e7758bfeb96c94e34f
7
- data.tar.gz: 797949b1d5ce6a8535bbe63b28e9f565e887cc205aaf719b81e33f3b6b28f57c1e73404f0a50a3f96f343565d4c3ccc4417423069fd3fbaf765952651b6f3c66
6
+ metadata.gz: 8afc428c20613f9e627beae634573313919ab377ca519b318f15c419b921775746ce985539096cf5a11cfe8b99f87dccb5a226004267604e315f92804c479624
7
+ data.tar.gz: 7854f52c9063affa43c38080045abf74c198502bad63865255f73d0c800eb8143713d1ed49dd1affc89a6fa9d953eb73f0b09dccd24a07b45b35bfed20fb9fa3
data/CHANGELOG.md CHANGED
@@ -1,3 +1,11 @@
1
+ ## 0.5.0 (2024-10-22)
2
+
3
+ - Dropped support for Ruby < 3.1
4
+
5
+ ## 0.4.2 (2023-01-10)
6
+
7
+ - Fixed error with timeout with Ruby 3.1+
8
+
1
9
  ## 0.4.1 (2022-12-28)
2
10
 
3
11
  - Added `fallback` option
data/LICENSE.txt CHANGED
@@ -1,4 +1,4 @@
1
- Copyright (c) 2016-2022 Andrew Kane
1
+ Copyright (c) 2016-2023 Andrew Kane
2
2
 
3
3
  MIT License
4
4
 
data/README.md CHANGED
@@ -14,7 +14,7 @@ Reversed.lookup("2a03:2880:2110:df07:face:b00c::1")
14
14
  # "a.ns.facebook.com"
15
15
  ```
16
16
 
17
- [![Build Status](https://github.com/ankane/reversed/workflows/build/badge.svg?branch=master)](https://github.com/ankane/reversed/actions)
17
+ [![Build Status](https://github.com/ankane/reversed/actions/workflows/build.yml/badge.svg)](https://github.com/ankane/reversed/actions)
18
18
 
19
19
  ## Installation
20
20
 
@@ -38,7 +38,7 @@ Set nameservers
38
38
  Reversed.lookup(ip, nameservers: ["1.1.1.1"])
39
39
  ```
40
40
 
41
- Disable SOA fallback (only check PTR record) [unreleased]
41
+ Disable SOA fallback (only check PTR record)
42
42
 
43
43
  ```ruby
44
44
  Reversed.lookup(ip, fallback: false)
@@ -1,3 +1,3 @@
1
1
  module Reversed
2
- VERSION = "0.4.1"
2
+ VERSION = "0.5.0"
3
3
  end
data/lib/reversed.rb CHANGED
@@ -5,7 +5,7 @@ require "net/dns"
5
5
  require "ipaddr"
6
6
 
7
7
  # modules
8
- require "reversed/version"
8
+ require_relative "reversed/version"
9
9
 
10
10
  module Reversed
11
11
  def self.lookup(ip, timeout: 5, nameservers: nil, fallback: true)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: reversed
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.1
4
+ version: 0.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrew Kane
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-12-28 00:00:00.000000000 Z
11
+ date: 2024-10-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: net-dns
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '0'
19
+ version: '0.20'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - ">="
25
25
  - !ruby/object:Gem::Version
26
- version: '0'
26
+ version: '0.20'
27
27
  description:
28
28
  email: andrew@ankane.org
29
29
  executables: []
@@ -47,14 +47,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
47
47
  requirements:
48
48
  - - ">="
49
49
  - !ruby/object:Gem::Version
50
- version: '2.7'
50
+ version: '3.1'
51
51
  required_rubygems_version: !ruby/object:Gem::Requirement
52
52
  requirements:
53
53
  - - ">="
54
54
  - !ruby/object:Gem::Version
55
55
  version: '0'
56
56
  requirements: []
57
- rubygems_version: 3.4.1
57
+ rubygems_version: 3.5.16
58
58
  signing_key:
59
59
  specification_version: 4
60
60
  summary: Reverse DNS / IP Lookup for Ruby