reversed 0.3.0 → 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +9 -5
- data/LICENSE.txt +1 -1
- data/README.md +11 -9
- data/lib/reversed/version.rb +1 -1
- data/lib/reversed.rb +6 -1
- metadata +9 -51
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 286ce5f0f135e9561569d67b8478230d02ef5a2e27dd2f3d8a591dc9e601db3b
|
4
|
+
data.tar.gz: ca6efcc17b1bb62a89fa8ce3cc24f12a972f6eae5e74ef544d71283f150f0b40
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6f1bf7e842529f458165545bf5cab3bdfa2b4cbfbfec2666ce2de5c2a0dcc3731116f9f3435e9889b5c73eaa14f7084ab715dd7cabfb0a52353cf1a96ac745bf
|
7
|
+
data.tar.gz: d00ed17e5ce2150078f949fdd8f65f28696e0d3e1cf0d556d94638bed979041d9fe3e3087c617104ebb98934291baf641659149def5d7bab6c3898aea402c31c
|
data/CHANGELOG.md
CHANGED
@@ -1,20 +1,24 @@
|
|
1
|
-
## 0.
|
1
|
+
## 0.4.0 (2022-06-12)
|
2
|
+
|
3
|
+
- Dropped support for Ruby < 2.7
|
4
|
+
|
5
|
+
## 0.3.0 (2019-10-28)
|
2
6
|
|
3
7
|
- Added support for machines with IPv6 disabled
|
4
8
|
- Raise `ArgumentError` for invalid IP
|
5
9
|
|
6
|
-
## 0.2.1
|
10
|
+
## 0.2.1 (2017-05-08)
|
7
11
|
|
8
12
|
- Added `timeout` and `nameservers` options
|
9
13
|
|
10
|
-
## 0.2.0
|
14
|
+
## 0.2.0 (2017-01-09)
|
11
15
|
|
12
16
|
- Removed unnecessary dependency
|
13
17
|
|
14
|
-
## 0.1.1
|
18
|
+
## 0.1.1 (2016-11-14)
|
15
19
|
|
16
20
|
- Use machine nameservers
|
17
21
|
|
18
|
-
## 0.1.0
|
22
|
+
## 0.1.0 (2016-11-14)
|
19
23
|
|
20
24
|
- First release
|
data/LICENSE.txt
CHANGED
data/README.md
CHANGED
@@ -14,20 +14,14 @@ Reversed.lookup("2a03:2880:2110:df07:face:b00c::1")
|
|
14
14
|
# "a.ns.facebook.com"
|
15
15
|
```
|
16
16
|
|
17
|
-
[![Build Status](https://
|
17
|
+
[![Build Status](https://github.com/ankane/reversed/workflows/build/badge.svg?branch=master)](https://github.com/ankane/reversed/actions)
|
18
18
|
|
19
19
|
## Installation
|
20
20
|
|
21
21
|
Add this line to your application’s Gemfile:
|
22
22
|
|
23
23
|
```ruby
|
24
|
-
gem
|
25
|
-
```
|
26
|
-
|
27
|
-
And then execute:
|
28
|
-
|
29
|
-
```sh
|
30
|
-
bundle
|
24
|
+
gem "reversed"
|
31
25
|
```
|
32
26
|
|
33
27
|
## Reference
|
@@ -41,7 +35,7 @@ Reversed.lookup(ip, timeout: 3)
|
|
41
35
|
Set nameservers
|
42
36
|
|
43
37
|
```ruby
|
44
|
-
Reversed.lookup(ip, nameservers: ["
|
38
|
+
Reversed.lookup(ip, nameservers: ["1.1.1.1"])
|
45
39
|
```
|
46
40
|
|
47
41
|
## History
|
@@ -57,3 +51,11 @@ Everyone is encouraged to help improve this project. Here are a few ways you can
|
|
57
51
|
- Write, clarify, or fix documentation
|
58
52
|
- Suggest or add new features
|
59
53
|
|
54
|
+
To get started with development:
|
55
|
+
|
56
|
+
```sh
|
57
|
+
git clone https://github.com/ankane/reversed.git
|
58
|
+
cd reversed
|
59
|
+
bundle install
|
60
|
+
bundle exec rake test
|
61
|
+
```
|
data/lib/reversed/version.rb
CHANGED
data/lib/reversed.rb
CHANGED
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
|
+
version: 0.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Andrew Kane
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-06-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: net-dns
|
@@ -24,50 +24,8 @@ dependencies:
|
|
24
24
|
- - ">="
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '0'
|
27
|
-
|
28
|
-
|
29
|
-
requirement: !ruby/object:Gem::Requirement
|
30
|
-
requirements:
|
31
|
-
- - ">="
|
32
|
-
- !ruby/object:Gem::Version
|
33
|
-
version: '0'
|
34
|
-
type: :development
|
35
|
-
prerelease: false
|
36
|
-
version_requirements: !ruby/object:Gem::Requirement
|
37
|
-
requirements:
|
38
|
-
- - ">="
|
39
|
-
- !ruby/object:Gem::Version
|
40
|
-
version: '0'
|
41
|
-
- !ruby/object:Gem::Dependency
|
42
|
-
name: rake
|
43
|
-
requirement: !ruby/object:Gem::Requirement
|
44
|
-
requirements:
|
45
|
-
- - ">="
|
46
|
-
- !ruby/object:Gem::Version
|
47
|
-
version: '0'
|
48
|
-
type: :development
|
49
|
-
prerelease: false
|
50
|
-
version_requirements: !ruby/object:Gem::Requirement
|
51
|
-
requirements:
|
52
|
-
- - ">="
|
53
|
-
- !ruby/object:Gem::Version
|
54
|
-
version: '0'
|
55
|
-
- !ruby/object:Gem::Dependency
|
56
|
-
name: minitest
|
57
|
-
requirement: !ruby/object:Gem::Requirement
|
58
|
-
requirements:
|
59
|
-
- - ">="
|
60
|
-
- !ruby/object:Gem::Version
|
61
|
-
version: '5'
|
62
|
-
type: :development
|
63
|
-
prerelease: false
|
64
|
-
version_requirements: !ruby/object:Gem::Requirement
|
65
|
-
requirements:
|
66
|
-
- - ">="
|
67
|
-
- !ruby/object:Gem::Version
|
68
|
-
version: '5'
|
69
|
-
description:
|
70
|
-
email: andrew@chartkick.com
|
27
|
+
description:
|
28
|
+
email: andrew@ankane.org
|
71
29
|
executables: []
|
72
30
|
extensions: []
|
73
31
|
extra_rdoc_files: []
|
@@ -81,7 +39,7 @@ homepage: https://github.com/ankane/reversed
|
|
81
39
|
licenses:
|
82
40
|
- MIT
|
83
41
|
metadata: {}
|
84
|
-
post_install_message:
|
42
|
+
post_install_message:
|
85
43
|
rdoc_options: []
|
86
44
|
require_paths:
|
87
45
|
- lib
|
@@ -89,15 +47,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
89
47
|
requirements:
|
90
48
|
- - ">="
|
91
49
|
- !ruby/object:Gem::Version
|
92
|
-
version: '2.
|
50
|
+
version: '2.7'
|
93
51
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
94
52
|
requirements:
|
95
53
|
- - ">="
|
96
54
|
- !ruby/object:Gem::Version
|
97
55
|
version: '0'
|
98
56
|
requirements: []
|
99
|
-
rubygems_version: 3.
|
100
|
-
signing_key:
|
57
|
+
rubygems_version: 3.3.7
|
58
|
+
signing_key:
|
101
59
|
specification_version: 4
|
102
60
|
summary: Reverse DNS / IP Lookup for Ruby
|
103
61
|
test_files: []
|