ronin-db-activerecord 0.2.0 → 0.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (73) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/ruby.yml +1 -0
  3. data/ChangeLog.md +5 -1
  4. data/README.md +1 -1
  5. data/gemspec.yml +2 -2
  6. data/lib/ronin/db/address.rb +4 -4
  7. data/lib/ronin/db/advisory.rb +10 -10
  8. data/lib/ronin/db/arch.rb +3 -3
  9. data/lib/ronin/db/asn.rb +4 -4
  10. data/lib/ronin/db/cert.rb +8 -8
  11. data/lib/ronin/db/cert_issuer.rb +3 -3
  12. data/lib/ronin/db/cert_name.rb +6 -6
  13. data/lib/ronin/db/cert_organization.rb +2 -2
  14. data/lib/ronin/db/cert_subject.rb +4 -4
  15. data/lib/ronin/db/cert_subject_alt_name.rb +4 -4
  16. data/lib/ronin/db/credential.rb +9 -9
  17. data/lib/ronin/db/dns_query.rb +3 -3
  18. data/lib/ronin/db/dns_record.rb +3 -3
  19. data/lib/ronin/db/email_address.rb +10 -10
  20. data/lib/ronin/db/host_name.rb +10 -10
  21. data/lib/ronin/db/host_name_ip_address.rb +2 -2
  22. data/lib/ronin/db/http_header_name.rb +3 -3
  23. data/lib/ronin/db/http_query_param.rb +4 -4
  24. data/lib/ronin/db/http_query_param_name.rb +3 -3
  25. data/lib/ronin/db/http_request.rb +2 -2
  26. data/lib/ronin/db/http_request_header.rb +4 -4
  27. data/lib/ronin/db/http_response.rb +3 -3
  28. data/lib/ronin/db/http_response_header.rb +4 -4
  29. data/lib/ronin/db/ip_address.rb +15 -15
  30. data/lib/ronin/db/ip_address_mac_address.rb +2 -2
  31. data/lib/ronin/db/mac_address.rb +7 -7
  32. data/lib/ronin/db/migrations.rb +1 -1
  33. data/lib/ronin/db/model/has_name.rb +2 -2
  34. data/lib/ronin/db/model/has_unique_name.rb +2 -2
  35. data/lib/ronin/db/model/importable.rb +1 -1
  36. data/lib/ronin/db/model/last_scanned_at.rb +1 -1
  37. data/lib/ronin/db/model.rb +1 -1
  38. data/lib/ronin/db/models.rb +57 -57
  39. data/lib/ronin/db/note.rb +19 -19
  40. data/lib/ronin/db/open_port.rb +10 -10
  41. data/lib/ronin/db/organization.rb +13 -13
  42. data/lib/ronin/db/organization_customer.rb +4 -4
  43. data/lib/ronin/db/organization_department.rb +7 -7
  44. data/lib/ronin/db/organization_email_address.rb +4 -4
  45. data/lib/ronin/db/organization_host_name.rb +4 -4
  46. data/lib/ronin/db/organization_ip_address.rb +4 -4
  47. data/lib/ronin/db/organization_member.rb +6 -6
  48. data/lib/ronin/db/organization_phone_number.rb +4 -4
  49. data/lib/ronin/db/organization_street_address.rb +4 -4
  50. data/lib/ronin/db/os.rb +5 -5
  51. data/lib/ronin/db/os_guess.rb +4 -4
  52. data/lib/ronin/db/password.rb +5 -5
  53. data/lib/ronin/db/person.rb +9 -9
  54. data/lib/ronin/db/personal_connection.rb +4 -4
  55. data/lib/ronin/db/personal_email_address.rb +4 -4
  56. data/lib/ronin/db/personal_phone_number.rb +5 -5
  57. data/lib/ronin/db/personal_street_address.rb +4 -4
  58. data/lib/ronin/db/phone_number.rb +9 -9
  59. data/lib/ronin/db/port.rb +4 -4
  60. data/lib/ronin/db/service.rb +5 -5
  61. data/lib/ronin/db/service_credential.rb +4 -4
  62. data/lib/ronin/db/software.rb +5 -5
  63. data/lib/ronin/db/software_vendor.rb +3 -3
  64. data/lib/ronin/db/street_address.rb +7 -7
  65. data/lib/ronin/db/url.rb +14 -14
  66. data/lib/ronin/db/url_query_param.rb +4 -4
  67. data/lib/ronin/db/url_query_param_name.rb +3 -3
  68. data/lib/ronin/db/url_scheme.rb +3 -3
  69. data/lib/ronin/db/user_name.rb +8 -8
  70. data/lib/ronin/db/vulnerability.rb +6 -6
  71. data/lib/ronin/db/web_credential.rb +4 -4
  72. data/lib/ronin/db/web_vuln.rb +3 -3
  73. metadata +4 -4
@@ -2,7 +2,7 @@
2
2
  #
3
3
  # ronin-db-activerecord - ActiveRecord backend for the Ronin Database.
4
4
  #
5
- # Copyright (c) 2022-2024 Hal Brodigan (postmodern.mod3 at gmail.com)
5
+ # Copyright (c) 2022-2025 Hal Brodigan (postmodern.mod3 at gmail.com)
6
6
  #
7
7
  # ronin-db-activerecord is free software: you can redistribute it and/or modify
8
8
  # it under the terms of the GNU Lesser General Public License as published
@@ -18,7 +18,7 @@
18
18
  # along with ronin-db-activerecord. If not, see <https://www.gnu.org/licenses/>.
19
19
  #
20
20
 
21
- require 'ronin/db/model'
21
+ require_relative 'model'
22
22
 
23
23
  require 'active_record'
24
24
 
@@ -74,5 +74,5 @@ module Ronin
74
74
  end
75
75
  end
76
76
 
77
- require 'ronin/db/http_header_name'
78
- require 'ronin/db/http_response'
77
+ require_relative 'http_header_name'
78
+ require_relative 'http_response'
@@ -2,7 +2,7 @@
2
2
  #
3
3
  # ronin-db-activerecord - ActiveRecord backend for the Ronin Database.
4
4
  #
5
- # Copyright (c) 2022-2024 Hal Brodigan (postmodern.mod3 at gmail.com)
5
+ # Copyright (c) 2022-2025 Hal Brodigan (postmodern.mod3 at gmail.com)
6
6
  #
7
7
  # ronin-db-activerecord is free software: you can redistribute it and/or modify
8
8
  # it under the terms of the GNU Lesser General Public License as published
@@ -18,7 +18,7 @@
18
18
  # along with ronin-db-activerecord. If not, see <https://www.gnu.org/licenses/>.
19
19
  #
20
20
 
21
- require 'ronin/db/address'
21
+ require_relative 'address'
22
22
 
23
23
  require 'active_record'
24
24
  require 'ipaddr'
@@ -381,16 +381,16 @@ module Ronin
381
381
  end
382
382
  end
383
383
 
384
- require 'ronin/db/ip_address_mac_address'
385
- require 'ronin/db/mac_address'
386
- require 'ronin/db/host_name_ip_address'
387
- require 'ronin/db/host_name'
388
- require 'ronin/db/open_port'
389
- require 'ronin/db/port'
390
- require 'ronin/db/os_guess'
391
- require 'ronin/db/os'
392
- require 'ronin/db/asn'
393
- require 'ronin/db/vulnerability'
394
- require 'ronin/db/advisory'
395
- require 'ronin/db/organization_ip_address'
396
- require 'ronin/db/note'
384
+ require_relative 'ip_address_mac_address'
385
+ require_relative 'mac_address'
386
+ require_relative 'host_name_ip_address'
387
+ require_relative 'host_name'
388
+ require_relative 'open_port'
389
+ require_relative 'port'
390
+ require_relative 'os_guess'
391
+ require_relative 'os'
392
+ require_relative 'asn'
393
+ require_relative 'vulnerability'
394
+ require_relative 'advisory'
395
+ require_relative 'organization_ip_address'
396
+ require_relative 'note'
@@ -2,7 +2,7 @@
2
2
  #
3
3
  # ronin-db-activerecord - ActiveRecord backend for the Ronin Database.
4
4
  #
5
- # Copyright (c) 2022-2024 Hal Brodigan (postmodern.mod3 at gmail.com)
5
+ # Copyright (c) 2022-2025 Hal Brodigan (postmodern.mod3 at gmail.com)
6
6
  #
7
7
  # ronin-db-activerecord is free software: you can redistribute it and/or modify
8
8
  # it under the terms of the GNU Lesser General Public License as published
@@ -18,7 +18,7 @@
18
18
  # along with ronin-db-activerecord. If not, see <https://www.gnu.org/licenses/>.
19
19
  #
20
20
 
21
- require 'ronin/db/model'
21
+ require_relative 'model'
22
22
 
23
23
  require 'active_record'
24
24
 
@@ -2,7 +2,7 @@
2
2
  #
3
3
  # ronin-db-activerecord - ActiveRecord backend for the Ronin Database.
4
4
  #
5
- # Copyright (c) 2022-2024 Hal Brodigan (postmodern.mod3 at gmail.com)
5
+ # Copyright (c) 2022-2025 Hal Brodigan (postmodern.mod3 at gmail.com)
6
6
  #
7
7
  # ronin-db-activerecord is free software: you can redistribute it and/or modify
8
8
  # it under the terms of the GNU Lesser General Public License as published
@@ -18,7 +18,7 @@
18
18
  # along with ronin-db-activerecord. If not, see <https://www.gnu.org/licenses/>.
19
19
  #
20
20
 
21
- require 'ronin/db/address'
21
+ require_relative 'address'
22
22
 
23
23
  require 'active_record'
24
24
  require 'strscan'
@@ -111,8 +111,8 @@ module Ronin
111
111
  end
112
112
  end
113
113
 
114
- require 'ronin/db/ip_address_mac_address'
115
- require 'ronin/db/ip_address'
116
- require 'ronin/db/vulnerability'
117
- require 'ronin/db/advisory'
118
- require 'ronin/db/note'
114
+ require_relative 'ip_address_mac_address'
115
+ require_relative 'ip_address'
116
+ require_relative 'vulnerability'
117
+ require_relative 'advisory'
118
+ require_relative 'note'
@@ -2,7 +2,7 @@
2
2
  #
3
3
  # ronin-db-activerecord - ActiveRecord backend for the Ronin Database.
4
4
  #
5
- # Copyright (c) 2022-2024 Hal Brodigan (postmodern.mod3 at gmail.com)
5
+ # Copyright (c) 2022-2025 Hal Brodigan (postmodern.mod3 at gmail.com)
6
6
  #
7
7
  # ronin-db-activerecord is free software: you can redistribute it and/or modify
8
8
  # it under the terms of the GNU Lesser General Public License as published
@@ -2,7 +2,7 @@
2
2
  #
3
3
  # ronin-db-activerecord - ActiveRecord backend for the Ronin Database.
4
4
  #
5
- # Copyright (c) 2022-2024 Hal Brodigan (postmodern.mod3 at gmail.com)
5
+ # Copyright (c) 2022-2025 Hal Brodigan (postmodern.mod3 at gmail.com)
6
6
  #
7
7
  # ronin-db-activerecord is free software: you can redistribute it and/or modify
8
8
  # it under the terms of the GNU Lesser General Public License as published
@@ -18,7 +18,7 @@
18
18
  # along with ronin-db-activerecord. If not, see <https://www.gnu.org/licenses/>.
19
19
  #
20
20
 
21
- require 'ronin/db/model'
21
+ require_relative '../model'
22
22
 
23
23
  module Ronin
24
24
  module DB
@@ -2,7 +2,7 @@
2
2
  #
3
3
  # ronin-db-activerecord - ActiveRecord backend for the Ronin Database.
4
4
  #
5
- # Copyright (c) 2022-2024 Hal Brodigan (postmodern.mod3 at gmail.com)
5
+ # Copyright (c) 2022-2025 Hal Brodigan (postmodern.mod3 at gmail.com)
6
6
  #
7
7
  # ronin-db-activerecord is free software: you can redistribute it and/or modify
8
8
  # it under the terms of the GNU Lesser General Public License as published
@@ -18,7 +18,7 @@
18
18
  # along with ronin-db-activerecord. If not, see <https://www.gnu.org/licenses/>.
19
19
  #
20
20
 
21
- require 'ronin/db/model/has_name'
21
+ require_relative 'has_name'
22
22
 
23
23
  module Ronin
24
24
  module DB
@@ -2,7 +2,7 @@
2
2
  #
3
3
  # ronin-db-activerecord - ActiveRecord backend for the Ronin Database.
4
4
  #
5
- # Copyright (c) 2022-2024 Hal Brodigan (postmodern.mod3 at gmail.com)
5
+ # Copyright (c) 2022-2025 Hal Brodigan (postmodern.mod3 at gmail.com)
6
6
  #
7
7
  # ronin-db-activerecord is free software: you can redistribute it and/or modify
8
8
  # it under the terms of the GNU Lesser General Public License as published
@@ -2,7 +2,7 @@
2
2
  #
3
3
  # ronin-db-activerecord - ActiveRecord backend for the Ronin Database.
4
4
  #
5
- # Copyright (c) 2022-2024 Hal Brodigan (postmodern.mod3 at gmail.com)
5
+ # Copyright (c) 2022-2025 Hal Brodigan (postmodern.mod3 at gmail.com)
6
6
  #
7
7
  # ronin-db-activerecord is free software: you can redistribute it and/or modify
8
8
  # it under the terms of the GNU Lesser General Public License as published
@@ -2,7 +2,7 @@
2
2
  #
3
3
  # ronin-db-activerecord - ActiveRecord backend for the Ronin Database.
4
4
  #
5
- # Copyright (c) 2022-2024 Hal Brodigan (postmodern.mod3 at gmail.com)
5
+ # Copyright (c) 2022-2025 Hal Brodigan (postmodern.mod3 at gmail.com)
6
6
  #
7
7
  # ronin-db-activerecord is free software: you can redistribute it and/or modify
8
8
  # it under the terms of the GNU Lesser General Public License as published
@@ -2,7 +2,7 @@
2
2
  #
3
3
  # ronin-db-activerecord - ActiveRecord backend for the Ronin Database.
4
4
  #
5
- # Copyright (c) 2022-2024 Hal Brodigan (postmodern.mod3 at gmail.com)
5
+ # Copyright (c) 2022-2025 Hal Brodigan (postmodern.mod3 at gmail.com)
6
6
  #
7
7
  # ronin-db-activerecord is free software: you can redistribute it and/or modify
8
8
  # it under the terms of the GNU Lesser General Public License as published
@@ -18,62 +18,62 @@
18
18
  # along with ronin-db-activerecord. If not, see <https://www.gnu.org/licenses/>.
19
19
  #
20
20
 
21
- require 'ronin/db/address'
22
- require 'ronin/db/arch'
23
- require 'ronin/db/credential'
24
- require 'ronin/db/email_address'
25
- require 'ronin/db/host_name'
26
- require 'ronin/db/host_name_ip_address'
27
- require 'ronin/db/ip_address'
28
- require 'ronin/db/ip_address_mac_address'
29
- require 'ronin/db/mac_address'
30
- require 'ronin/db/open_port'
31
- require 'ronin/db/organization'
32
- require 'ronin/db/organization_street_address'
33
- require 'ronin/db/organization_customer'
34
- require 'ronin/db/organization_department'
35
- require 'ronin/db/organization_phone_number'
36
- require 'ronin/db/organization_email_address'
37
- require 'ronin/db/organization_host_name'
38
- require 'ronin/db/organization_ip_address'
39
- require 'ronin/db/os'
40
- require 'ronin/db/os_guess'
41
- require 'ronin/db/password'
42
- require 'ronin/db/person'
43
- require 'ronin/db/personal_phone_number'
44
- require 'ronin/db/personal_email_address'
45
- require 'ronin/db/personal_street_address'
46
- require 'ronin/db/personal_connection'
47
- require 'ronin/db/port'
48
- require 'ronin/db/service'
49
- require 'ronin/db/service_credential'
50
- require 'ronin/db/software'
51
- require 'ronin/db/url_query_param_name'
52
- require 'ronin/db/url_query_param'
53
- require 'ronin/db/url_scheme'
54
- require 'ronin/db/url'
55
- require 'ronin/db/web_vuln'
56
- require 'ronin/db/user_name'
57
- require 'ronin/db/software_vendor'
58
- require 'ronin/db/web_credential'
59
- require 'ronin/db/asn'
60
- require 'ronin/db/http_query_param_name'
61
- require 'ronin/db/http_query_param'
62
- require 'ronin/db/http_header_name'
63
- require 'ronin/db/http_request_header'
64
- require 'ronin/db/http_response_header'
65
- require 'ronin/db/http_request'
66
- require 'ronin/db/http_response'
67
- require 'ronin/db/advisory'
68
- require 'ronin/db/vulnerability'
69
- require 'ronin/db/cert_name'
70
- require 'ronin/db/cert_issuer'
71
- require 'ronin/db/cert_subject'
72
- require 'ronin/db/cert_subject_alt_name'
73
- require 'ronin/db/cert'
74
- require 'ronin/db/dns_query'
75
- require 'ronin/db/dns_record'
76
- require 'ronin/db/note'
21
+ require_relative 'address'
22
+ require_relative 'arch'
23
+ require_relative 'credential'
24
+ require_relative 'email_address'
25
+ require_relative 'host_name'
26
+ require_relative 'host_name_ip_address'
27
+ require_relative 'ip_address'
28
+ require_relative 'ip_address_mac_address'
29
+ require_relative 'mac_address'
30
+ require_relative 'open_port'
31
+ require_relative 'organization'
32
+ require_relative 'organization_street_address'
33
+ require_relative 'organization_customer'
34
+ require_relative 'organization_department'
35
+ require_relative 'organization_phone_number'
36
+ require_relative 'organization_email_address'
37
+ require_relative 'organization_host_name'
38
+ require_relative 'organization_ip_address'
39
+ require_relative 'os'
40
+ require_relative 'os_guess'
41
+ require_relative 'password'
42
+ require_relative 'person'
43
+ require_relative 'personal_phone_number'
44
+ require_relative 'personal_email_address'
45
+ require_relative 'personal_street_address'
46
+ require_relative 'personal_connection'
47
+ require_relative 'port'
48
+ require_relative 'service'
49
+ require_relative 'service_credential'
50
+ require_relative 'software'
51
+ require_relative 'url_query_param_name'
52
+ require_relative 'url_query_param'
53
+ require_relative 'url_scheme'
54
+ require_relative 'url'
55
+ require_relative 'web_vuln'
56
+ require_relative 'user_name'
57
+ require_relative 'software_vendor'
58
+ require_relative 'web_credential'
59
+ require_relative 'asn'
60
+ require_relative 'http_query_param_name'
61
+ require_relative 'http_query_param'
62
+ require_relative 'http_header_name'
63
+ require_relative 'http_request_header'
64
+ require_relative 'http_response_header'
65
+ require_relative 'http_request'
66
+ require_relative 'http_response'
67
+ require_relative 'advisory'
68
+ require_relative 'vulnerability'
69
+ require_relative 'cert_name'
70
+ require_relative 'cert_issuer'
71
+ require_relative 'cert_subject'
72
+ require_relative 'cert_subject_alt_name'
73
+ require_relative 'cert'
74
+ require_relative 'dns_query'
75
+ require_relative 'dns_record'
76
+ require_relative 'note'
77
77
 
78
78
  module Ronin
79
79
  module DB
data/lib/ronin/db/note.rb CHANGED
@@ -2,7 +2,7 @@
2
2
  #
3
3
  # ronin-db-activerecord - ActiveRecord backend for the Ronin Database.
4
4
  #
5
- # Copyright (c) 2022-2024 Hal Brodigan (postmodern.mod3 at gmail.com)
5
+ # Copyright (c) 2022-2025 Hal Brodigan (postmodern.mod3 at gmail.com)
6
6
  #
7
7
  # ronin-db-activerecord is free software: you can redistribute it and/or modify
8
8
  # it under the terms of the GNU Lesser General Public License as published
@@ -18,7 +18,7 @@
18
18
  # along with ronin-db-activerecord. If not, see <https://www.gnu.org/licenses/>.
19
19
  #
20
20
 
21
- require 'ronin/db/model'
21
+ require_relative 'model'
22
22
 
23
23
  require 'active_record'
24
24
 
@@ -180,20 +180,20 @@ module Ronin
180
180
  end
181
181
  end
182
182
 
183
- require 'ronin/db/mac_address'
184
- require 'ronin/db/ip_address'
185
- require 'ronin/db/host_name'
186
- require 'ronin/db/port'
187
- require 'ronin/db/service'
188
- require 'ronin/db/open_port'
189
- require 'ronin/db/cert'
190
- require 'ronin/db/url'
191
- require 'ronin/db/user_name'
192
- require 'ronin/db/email_address'
193
- require 'ronin/db/password'
194
- require 'ronin/db/credential'
195
- require 'ronin/db/advisory'
196
- require 'ronin/db/street_address'
197
- require 'ronin/db/phone_number'
198
- require 'ronin/db/person'
199
- require 'ronin/db/organization'
183
+ require_relative 'mac_address'
184
+ require_relative 'ip_address'
185
+ require_relative 'host_name'
186
+ require_relative 'port'
187
+ require_relative 'service'
188
+ require_relative 'open_port'
189
+ require_relative 'cert'
190
+ require_relative 'url'
191
+ require_relative 'user_name'
192
+ require_relative 'email_address'
193
+ require_relative 'password'
194
+ require_relative 'credential'
195
+ require_relative 'advisory'
196
+ require_relative 'street_address'
197
+ require_relative 'phone_number'
198
+ require_relative 'person'
199
+ require_relative 'organization'
@@ -2,7 +2,7 @@
2
2
  #
3
3
  # ronin-db-activerecord - ActiveRecord backend for the Ronin Database.
4
4
  #
5
- # Copyright (c) 2022-2024 Hal Brodigan (postmodern.mod3 at gmail.com)
5
+ # Copyright (c) 2022-2025 Hal Brodigan (postmodern.mod3 at gmail.com)
6
6
  #
7
7
  # ronin-db-activerecord is free software: you can redistribute it and/or modify
8
8
  # it under the terms of the GNU Lesser General Public License as published
@@ -18,8 +18,8 @@
18
18
  # along with ronin-db-activerecord. If not, see <https://www.gnu.org/licenses/>.
19
19
  #
20
20
 
21
- require 'ronin/db/model'
22
- require 'ronin/db/model/last_scanned_at'
21
+ require_relative 'model'
22
+ require_relative 'model/last_scanned_at'
23
23
 
24
24
  require 'active_record'
25
25
 
@@ -240,10 +240,10 @@ module Ronin
240
240
  end
241
241
  end
242
242
 
243
- require 'ronin/db/ip_address'
244
- require 'ronin/db/port'
245
- require 'ronin/db/service'
246
- require 'ronin/db/service_credential'
247
- require 'ronin/db/vulnerability'
248
- require 'ronin/db/advisory'
249
- require 'ronin/db/note'
243
+ require_relative 'ip_address'
244
+ require_relative 'port'
245
+ require_relative 'service'
246
+ require_relative 'service_credential'
247
+ require_relative 'vulnerability'
248
+ require_relative 'advisory'
249
+ require_relative 'note'
@@ -2,7 +2,7 @@
2
2
  #
3
3
  # ronin-db-activerecord - ActiveRecord backend for the Ronin Database.
4
4
  #
5
- # Copyright (c) 2022-2024 Hal Brodigan (postmodern.mod3 at gmail.com)
5
+ # Copyright (c) 2022-2025 Hal Brodigan (postmodern.mod3 at gmail.com)
6
6
  #
7
7
  # ronin-db-activerecord is free software: you can redistribute it and/or modify
8
8
  # it under the terms of the GNU Lesser General Public License as published
@@ -18,9 +18,9 @@
18
18
  # along with ronin-db-activerecord. If not, see <https://www.gnu.org/licenses/>.
19
19
  #
20
20
 
21
- require 'ronin/db/model'
22
- require 'ronin/db/model/has_name'
23
- require 'ronin/db/model/importable'
21
+ require_relative 'model'
22
+ require_relative 'model/has_name'
23
+ require_relative 'model/importable'
24
24
 
25
25
  require 'active_record'
26
26
 
@@ -273,12 +273,12 @@ module Ronin
273
273
  end
274
274
  end
275
275
 
276
- require 'ronin/db/organization_street_address'
277
- require 'ronin/db/organization_phone_number'
278
- require 'ronin/db/organization_email_address'
279
- require 'ronin/db/organization_department'
280
- require 'ronin/db/organization_member'
281
- require 'ronin/db/organization_customer'
282
- require 'ronin/db/organization_host_name'
283
- require 'ronin/db/organization_ip_address'
284
- require 'ronin/db/note'
276
+ require_relative 'organization_street_address'
277
+ require_relative 'organization_phone_number'
278
+ require_relative 'organization_email_address'
279
+ require_relative 'organization_department'
280
+ require_relative 'organization_member'
281
+ require_relative 'organization_customer'
282
+ require_relative 'organization_host_name'
283
+ require_relative 'organization_ip_address'
284
+ require_relative 'note'
@@ -2,7 +2,7 @@
2
2
  #
3
3
  # ronin-db-activerecord - ActiveRecord backend for the Ronin Database.
4
4
  #
5
- # Copyright (c) 2022-2024 Hal Brodigan (postmodern.mod3 at gmail.com)
5
+ # Copyright (c) 2022-2025 Hal Brodigan (postmodern.mod3 at gmail.com)
6
6
  #
7
7
  # ronin-db-activerecord is free software: you can redistribute it and/or modify
8
8
  # it under the terms of the GNU Lesser General Public License as published
@@ -18,7 +18,7 @@
18
18
  # along with ronin-db-activerecord. If not, see <https://www.gnu.org/licenses/>.
19
19
  #
20
20
 
21
- require 'ronin/db/model'
21
+ require_relative 'model'
22
22
 
23
23
  require 'active_record'
24
24
 
@@ -69,5 +69,5 @@ module Ronin
69
69
  end
70
70
  end
71
71
 
72
- require 'ronin/db/organization'
73
- require 'ronin/db/person'
72
+ require_relative 'organization'
73
+ require_relative 'person'
@@ -2,7 +2,7 @@
2
2
  #
3
3
  # ronin-db-activerecord - ActiveRecord backend for the Ronin Database.
4
4
  #
5
- # Copyright (c) 2022-2024 Hal Brodigan (postmodern.mod3 at gmail.com)
5
+ # Copyright (c) 2022-2025 Hal Brodigan (postmodern.mod3 at gmail.com)
6
6
  #
7
7
  # ronin-db-activerecord is free software: you can redistribute it and/or modify
8
8
  # it under the terms of the GNU Lesser General Public License as published
@@ -18,8 +18,8 @@
18
18
  # along with ronin-db-activerecord. If not, see <https://www.gnu.org/licenses/>.
19
19
  #
20
20
 
21
- require 'ronin/db/model'
22
- require 'ronin/db/model/has_name'
21
+ require_relative 'model'
22
+ require_relative 'model/has_name'
23
23
 
24
24
  require 'active_record'
25
25
 
@@ -91,7 +91,7 @@ module Ronin
91
91
  end
92
92
  end
93
93
 
94
- require 'ronin/db/organization'
95
- require 'ronin/db/street_address'
96
- require 'ronin/db/phone_number'
97
- require 'ronin/db/email_address'
94
+ require_relative 'organization'
95
+ require_relative 'street_address'
96
+ require_relative 'phone_number'
97
+ require_relative 'email_address'
@@ -2,7 +2,7 @@
2
2
  #
3
3
  # ronin-db-activerecord - ActiveRecord backend for the Ronin Database.
4
4
  #
5
- # Copyright (c) 2022-2024 Hal Brodigan (postmodern.mod3 at gmail.com)
5
+ # Copyright (c) 2022-2025 Hal Brodigan (postmodern.mod3 at gmail.com)
6
6
  #
7
7
  # ronin-db-activerecord is free software: you can redistribute it and/or modify
8
8
  # it under the terms of the GNU Lesser General Public License as published
@@ -18,7 +18,7 @@
18
18
  # along with ronin-db-activerecord. If not, see <https://www.gnu.org/licenses/>.
19
19
  #
20
20
 
21
- require 'ronin/db/model'
21
+ require_relative 'model'
22
22
 
23
23
  require 'active_record'
24
24
 
@@ -62,5 +62,5 @@ module Ronin
62
62
  end
63
63
  end
64
64
 
65
- require 'ronin/db/email_address'
66
- require 'ronin/db/organization'
65
+ require_relative 'email_address'
66
+ require_relative 'organization'
@@ -2,7 +2,7 @@
2
2
  #
3
3
  # ronin-db-activerecord - ActiveRecord backend for the Ronin Database.
4
4
  #
5
- # Copyright (c) 2022-2024 Hal Brodigan (postmodern.mod3 at gmail.com)
5
+ # Copyright (c) 2022-2025 Hal Brodigan (postmodern.mod3 at gmail.com)
6
6
  #
7
7
  # ronin-db-activerecord is free software: you can redistribute it and/or modify
8
8
  # it under the terms of the GNU Lesser General Public License as published
@@ -18,7 +18,7 @@
18
18
  # along with ronin-db-activerecord. If not, see <https://www.gnu.org/licenses/>.
19
19
  #
20
20
 
21
- require 'ronin/db/model'
21
+ require_relative 'model'
22
22
 
23
23
  require 'active_record'
24
24
 
@@ -61,5 +61,5 @@ module Ronin
61
61
  end
62
62
  end
63
63
 
64
- require 'ronin/db/organization'
65
- require 'ronin/db/host_name'
64
+ require_relative 'organization'
65
+ require_relative 'host_name'
@@ -2,7 +2,7 @@
2
2
  #
3
3
  # ronin-db-activerecord - ActiveRecord backend for the Ronin Database.
4
4
  #
5
- # Copyright (c) 2022-2024 Hal Brodigan (postmodern.mod3 at gmail.com)
5
+ # Copyright (c) 2022-2025 Hal Brodigan (postmodern.mod3 at gmail.com)
6
6
  #
7
7
  # ronin-db-activerecord is free software: you can redistribute it and/or modify
8
8
  # it under the terms of the GNU Lesser General Public License as published
@@ -18,7 +18,7 @@
18
18
  # along with ronin-db-activerecord. If not, see <https://www.gnu.org/licenses/>.
19
19
  #
20
20
 
21
- require 'ronin/db/model'
21
+ require_relative 'model'
22
22
 
23
23
  require 'active_record'
24
24
 
@@ -61,5 +61,5 @@ module Ronin
61
61
  end
62
62
  end
63
63
 
64
- require 'ronin/db/organization'
65
- require 'ronin/db/ip_address'
64
+ require_relative 'organization'
65
+ require_relative 'ip_address'
@@ -2,7 +2,7 @@
2
2
  #
3
3
  # ronin-db-activerecord - ActiveRecord backend for the Ronin Database.
4
4
  #
5
- # Copyright (c) 2022-2024 Hal Brodigan (postmodern.mod3 at gmail.com)
5
+ # Copyright (c) 2022-2025 Hal Brodigan (postmodern.mod3 at gmail.com)
6
6
  #
7
7
  # ronin-db-activerecord is free software: you can redistribute it and/or modify
8
8
  # it under the terms of the GNU Lesser General Public License as published
@@ -18,7 +18,7 @@
18
18
  # along with ronin-db-activerecord. If not, see <https://www.gnu.org/licenses/>.
19
19
  #
20
20
 
21
- require 'ronin/db/model'
21
+ require_relative 'model'
22
22
 
23
23
  require 'active_record'
24
24
 
@@ -152,7 +152,7 @@ module Ronin
152
152
  end
153
153
  end
154
154
 
155
- require 'ronin/db/organization'
156
- require 'ronin/db/person'
157
- require 'ronin/db/email_address'
158
- require 'ronin/db/phone_number'
155
+ require_relative 'organization'
156
+ require_relative 'person'
157
+ require_relative 'email_address'
158
+ require_relative 'phone_number'