ronin-db-activerecord 0.1.4 → 0.1.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/ChangeLog.md +7 -0
- data/Gemfile +1 -1
- data/gemspec.yml +1 -1
- data/lib/ronin/db/arch.rb +1 -1
- data/lib/ronin/db/http_request.rb +18 -18
- data/lib/ronin/db/os.rb +1 -1
- data/lib/ronin/db/port.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 35997b96261ef5eff4b50913690276c01e5c252984575aaed1cb2043c54e420f
|
4
|
+
data.tar.gz: 97fb7f0f80518d129b4919e12787fb837a2a1090a67fa3d443f8f46f067a26aa
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f21ffa2cc2243a506e1338bf64f14dbcf6dd99605a25ac49b0a05f5e5298dfa43e2dbbedb50c74df9cb06ea74e35f33d6ce2bee1cc0ffa018c40aa194d9108a4
|
7
|
+
data.tar.gz: 6f04a43848ab8faccb4e779d8f999de7cc51a669a935dddf0ec1e7a7d3f314a202355cbe114d29bfe70c49e55ec92a7cd4e9f2dcf7fba535013587f6d248bdc7
|
data/ChangeLog.md
CHANGED
@@ -1,3 +1,10 @@
|
|
1
|
+
### 0.1.5 / 2023-12-13
|
2
|
+
|
3
|
+
* Corrected {Ronin::DB::HTTPRequest#request_method} to accept and store
|
4
|
+
uppercase HTTP verbs (ex: `GET`).
|
5
|
+
* Corrected {Ronin::DB::HTTPRequest#request_method} helper methods to use the
|
6
|
+
singular suffix of `_request?` (ex: `get_request?`).
|
7
|
+
|
1
8
|
### 0.1.4 / 2023-10-16
|
2
9
|
|
3
10
|
* Require [activerecord] `~> 7.0`.
|
data/Gemfile
CHANGED
data/gemspec.yml
CHANGED
data/lib/ronin/db/arch.rb
CHANGED
@@ -48,24 +48,24 @@ module Ronin
|
|
48
48
|
# @!attribute [rw] request_method
|
49
49
|
# The request method.
|
50
50
|
#
|
51
|
-
# @return [
|
52
|
-
enum request_method:
|
53
|
-
:
|
54
|
-
:
|
55
|
-
:
|
56
|
-
:
|
57
|
-
:
|
58
|
-
:
|
59
|
-
:
|
60
|
-
:
|
61
|
-
:
|
62
|
-
:
|
63
|
-
:
|
64
|
-
:
|
65
|
-
:
|
66
|
-
:
|
67
|
-
:
|
68
|
-
|
51
|
+
# @return ["copy", "delete", "get", "head", "lock", "mkcol", "move", "options", "patch", "post", "propfind", "proppatch", "put", "trace", "unlock"]
|
52
|
+
enum request_method: {
|
53
|
+
copy: 'COPY',
|
54
|
+
delete: 'DELETE',
|
55
|
+
get: 'GET',
|
56
|
+
head: 'HEAD',
|
57
|
+
lock: 'LOCK',
|
58
|
+
mkcol: 'MKCOL',
|
59
|
+
move: 'MOVE',
|
60
|
+
options: 'OPTIONS',
|
61
|
+
patch: 'PATCH',
|
62
|
+
post: 'POST',
|
63
|
+
propfind: 'PROPFIND',
|
64
|
+
proppatch: 'PROPPATCH',
|
65
|
+
put: 'PUT',
|
66
|
+
trace: 'TRACE',
|
67
|
+
unlock: 'UNLOCK'
|
68
|
+
}, _suffix: :request
|
69
69
|
validates :request_method, presence: true
|
70
70
|
|
71
71
|
# @!attribute [rw] path
|
data/lib/ronin/db/os.rb
CHANGED
data/lib/ronin/db/port.rb
CHANGED
@@ -40,7 +40,7 @@ module Ronin
|
|
40
40
|
# @!attribute [rw] protocol
|
41
41
|
# The protocol of the port (either `'tcp'` / `'udp'`).
|
42
42
|
#
|
43
|
-
# @return [
|
43
|
+
# @return ["tcp", "udp"]
|
44
44
|
enum :protocol, {tcp: 'tcp', udp: 'udp'}, default: :tcp
|
45
45
|
validates :protocol, presence: true
|
46
46
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ronin-db-activerecord
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Postmodern
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-12-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: uri-query_params
|