ronin-db 0.1.0.beta2 → 0.1.0.beta3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/ruby.yml +1 -0
- data/README.md +3 -1
- data/gemspec.yml +1 -1
- data/lib/ronin/db/cli/commands/asn.rb +2 -2
- data/lib/ronin/db/cli/commands/ips.rb +2 -0
- data/lib/ronin/db/cli/modifiable.rb +1 -1
- data/lib/ronin/db/version.rb +1 -1
- data/man/ronin-db-asn.1 +1 -1
- data/man/ronin-db-asn.1.md +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 468f70b82eba7138ce3c1ea282d220ad87a9d865da7c9f13ed4f5a307661b67c
|
4
|
+
data.tar.gz: 3efe49444483be7ce3b869f90d6703d305332a044ea29012899c084fa34c4737
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 24a973e7288ab98d6fda7b2656dfa4c8b1a77c77f748d9c503b919c060ca4bfa99265633ea78e9ed8c440227a648d1e9c73cad945125ff04e052e066b7749924
|
7
|
+
data.tar.gz: 159845dfb488e516923af6d630639d886671aef9be41da0c2d5a572594638fa0d33b8f7de391ef075db78449260ca81daa0f5e2a6a40b2bc9ba7ba37d097c99e
|
data/.github/workflows/ruby.yml
CHANGED
data/README.md
CHANGED
@@ -2,6 +2,7 @@
|
|
2
2
|
|
3
3
|
[![CI](https://github.com/ronin-rb/ronin-db/actions/workflows/ruby.yml/badge.svg)](https://github.com/ronin-rb/ronin-db/actions/workflows/ruby.yml)
|
4
4
|
[![Code Climate](https://codeclimate.com/github/ronin-rb/ronin-db.svg)](https://codeclimate.com/github/ronin-rb/ronin-db)
|
5
|
+
[![Gem Version](https://badge.fury.io/rb/ronin-db.svg)](https://badge.fury.io/rb/ronin-db)
|
5
6
|
|
6
7
|
* [Website](https://ronin-rb.dev)
|
7
8
|
* [Source](https://github.com/ronin-rb/ronin-db)
|
@@ -205,7 +206,8 @@ and [ronin-db-activerecord].
|
|
205
206
|
|
206
207
|
* [Ruby] >= 3.0.0
|
207
208
|
* [libsqlite3][sqlite]
|
208
|
-
* [sqlite3]
|
209
|
+
* [sqlite3][sqlite3]
|
210
|
+
(or [activerecord-jdbcsqlite3-adapter] ~> 70.0.pre on JRuby)
|
209
211
|
* [ronin-db-activerecord] ~> 0.1
|
210
212
|
* [ronin-support] ~> 1.0
|
211
213
|
* [ronin-core] ~> 0.1
|
data/gemspec.yml
CHANGED
@@ -41,7 +41,7 @@ module Ronin
|
|
41
41
|
# --db-uri URI The database URI to connect to
|
42
42
|
# -v, --verbose Enables verbose output
|
43
43
|
# -n, --number INT Searches for all ASN records with the AS number
|
44
|
-
# -C XX|None|
|
44
|
+
# -C XX|None|Unknown, Searches for all ASN records with the country code
|
45
45
|
# --country-code
|
46
46
|
# -N, --name NAME Searches for all ASN records with the matching name
|
47
47
|
# -I, --ip IP Queries the ASN record for the IP
|
@@ -70,7 +70,7 @@ module Ronin
|
|
70
70
|
option :country_code, short: '-C',
|
71
71
|
value: {
|
72
72
|
type: /[A-Z]{2}|None|Unknown/,
|
73
|
-
usage: 'XX|None|
|
73
|
+
usage: 'XX|None|Unknown'
|
74
74
|
},
|
75
75
|
desc: 'Searches for all ASN records with the country code' do |cc|
|
76
76
|
@query_method_calls << [:with_country_code, [cc]]
|
data/lib/ronin/db/version.rb
CHANGED
data/man/ronin-db-asn.1
CHANGED
@@ -32,7 +32,7 @@ Enables verbose output
|
|
32
32
|
Searches for all ASN records with the AS number\.
|
33
33
|
.LP
|
34
34
|
.TP
|
35
|
-
\fB-C\fR, \fB--country-code\fR \fIXX\fP\[or]\fBNone\fR\[or]\
|
35
|
+
\fB-C\fR, \fB--country-code\fR \fIXX\fP\[or]\fBNone\fR\[or]\fBUnknown\fR
|
36
36
|
Searches for all ASN records with the country code\.
|
37
37
|
.LP
|
38
38
|
.TP
|
data/man/ronin-db-asn.1.md
CHANGED
@@ -23,7 +23,7 @@ Queries or updates Autonomous System Numbers (ASNs) in the database.
|
|
23
23
|
`-n`, `--number` *INT*
|
24
24
|
Searches for all ASN records with the AS number.
|
25
25
|
|
26
|
-
`-C`, `--country-code` *XX*\|`None`\|`
|
26
|
+
`-C`, `--country-code` *XX*\|`None`\|`Unknown`
|
27
27
|
Searches for all ASN records with the country code.
|
28
28
|
|
29
29
|
`-N`, `--name` *NAME*
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ronin-db
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.0.
|
4
|
+
version: 0.1.0.beta3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Postmodern
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-01-
|
11
|
+
date: 2023-01-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: sqlite3
|
@@ -30,14 +30,14 @@ dependencies:
|
|
30
30
|
requirements:
|
31
31
|
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: 0.1.0.
|
33
|
+
version: 0.1.0.beta2
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: 0.1.0.
|
40
|
+
version: 0.1.0.beta2
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: ronin-support
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|