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
 
@@ -62,5 +62,5 @@ module Ronin
62
62
  end
63
63
  end
64
64
 
65
- require 'ronin/db/organization'
66
- require 'ronin/db/phone_number'
65
+ require_relative 'organization'
66
+ require_relative 'phone_number'
@@ -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/organization'
66
- require 'ronin/db/street_address'
65
+ require_relative 'organization'
66
+ require_relative 'street_address'
data/lib/ronin/db/os.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,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
  module Ronin
25
25
  module DB
@@ -213,5 +213,5 @@ module Ronin
213
213
  end
214
214
  end
215
215
 
216
- require 'ronin/db/os_guess'
217
- require 'ronin/db/ip_address'
216
+ require_relative 'os_guess'
217
+ 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
 
@@ -63,5 +63,5 @@ module Ronin
63
63
  end
64
64
  end
65
65
 
66
- require 'ronin/db/ip_address'
67
- require 'ronin/db/os'
66
+ require_relative 'ip_address'
67
+ require_relative 'os'
@@ -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/importable'
21
+ require_relative 'model'
22
+ require_relative 'model/importable'
23
23
 
24
24
  require 'active_record'
25
25
  require 'digest'
@@ -246,5 +246,5 @@ module Ronin
246
246
  end
247
247
  end
248
248
 
249
- require 'ronin/db/credential'
250
- require 'ronin/db/note'
249
+ require_relative 'credential'
250
+ 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,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/importable'
21
+ require_relative 'model'
22
+ require_relative 'model/importable'
23
23
 
24
24
  require 'active_record'
25
25
 
@@ -447,9 +447,9 @@ module Ronin
447
447
  end
448
448
  end
449
449
 
450
- require 'ronin/db/personal_street_address'
451
- require 'ronin/db/personal_phone_number'
452
- require 'ronin/db/personal_connection'
453
- require 'ronin/db/organization_customer'
454
- require 'ronin/db/organization'
455
- require 'ronin/db/note'
450
+ require_relative 'personal_street_address'
451
+ require_relative 'personal_phone_number'
452
+ require_relative 'personal_connection'
453
+ require_relative 'organization_customer'
454
+ require_relative 'organization'
455
+ 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,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/importable'
21
+ require_relative 'model'
22
+ require_relative 'model/importable'
23
23
 
24
24
  require 'active_record'
25
25
 
@@ -107,4 +107,4 @@ module Ronin
107
107
  end
108
108
  end
109
109
 
110
- require 'ronin/db/person'
110
+ 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,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/person'
66
- require 'ronin/db/email_address'
65
+ require_relative 'person'
66
+ 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,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/importable'
21
+ require_relative 'model'
22
+ require_relative 'model/importable'
23
23
 
24
24
  require 'active_record'
25
25
 
@@ -72,5 +72,5 @@ module Ronin
72
72
  end
73
73
  end
74
74
 
75
- require 'ronin/db/person'
76
- require 'ronin/db/phone_number'
75
+ require_relative 'person'
76
+ require_relative 'phone_number'
@@ -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/person'
66
- require 'ronin/db/street_address'
65
+ require_relative 'person'
66
+ require_relative 'street_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,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/importable'
21
+ require_relative 'model'
22
+ require_relative 'model/importable'
23
23
 
24
24
  require 'active_record'
25
25
 
@@ -322,9 +322,9 @@ module Ronin
322
322
  end
323
323
  end
324
324
 
325
- require 'ronin/db/personal_phone_number'
326
- require 'ronin/db/person'
327
- require 'ronin/db/organization_phone_number'
328
- require 'ronin/db/organization_department'
329
- require 'ronin/db/organization_member'
330
- require 'ronin/db/note'
325
+ require_relative 'personal_phone_number'
326
+ require_relative 'person'
327
+ require_relative 'organization_phone_number'
328
+ require_relative 'organization_department'
329
+ require_relative 'organization_member'
330
+ require_relative 'note'
data/lib/ronin/db/port.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
 
@@ -228,5 +228,5 @@ module Ronin
228
228
  end
229
229
  end
230
230
 
231
- require 'ronin/db/open_port'
232
- require 'ronin/db/note'
231
+ require_relative 'open_port'
232
+ 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_unique_name'
23
- require 'ronin/db/model/importable'
21
+ require_relative 'model'
22
+ require_relative 'model/has_unique_name'
23
+ require_relative 'model/importable'
24
24
 
25
25
  module Ronin
26
26
  module DB
@@ -174,4 +174,4 @@ module Ronin
174
174
  end
175
175
  end
176
176
 
177
- require 'ronin/db/note'
177
+ 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
 
@@ -62,5 +62,5 @@ module Ronin
62
62
  end
63
63
  end
64
64
 
65
- require 'ronin/db/credential'
66
- require 'ronin/db/open_port'
65
+ require_relative 'credential'
66
+ require_relative 'open_port'
@@ -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
 
@@ -117,5 +117,5 @@ module Ronin
117
117
  end
118
118
  end
119
119
 
120
- require 'ronin/db/software_vendor'
121
- require 'ronin/db/open_port'
120
+ require_relative 'software_vendor'
121
+ require_relative 'open_port'
@@ -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_unique_name'
21
+ require_relative 'model'
22
+ require_relative 'model/has_unique_name'
23
23
 
24
24
  module Ronin
25
25
  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'
21
+ require_relative 'model'
22
22
 
23
23
  require 'active_record'
24
24
 
@@ -333,8 +333,8 @@ module Ronin
333
333
  end
334
334
  end
335
335
 
336
- require 'ronin/db/personal_street_address'
337
- require 'ronin/db/person'
338
- require 'ronin/db/organization_street_address'
339
- require 'ronin/db/organization_department'
340
- require 'ronin/db/note'
336
+ require_relative 'personal_street_address'
337
+ require_relative 'person'
338
+ require_relative 'organization_street_address'
339
+ require_relative 'organization_department'
340
+ require_relative 'note'
data/lib/ronin/db/url.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,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/importable'
23
- require 'ronin/db/model/last_scanned_at'
21
+ require_relative 'model'
22
+ require_relative 'model/importable'
23
+ require_relative 'model/last_scanned_at'
24
24
 
25
25
  require 'active_record'
26
26
  require 'uri/generic'
@@ -518,13 +518,13 @@ module Ronin
518
518
  end
519
519
  end
520
520
 
521
- require 'ronin/db/host_name'
522
- require 'ronin/db/port'
523
- require 'ronin/db/url_scheme'
524
- require 'ronin/db/url_query_param_name'
525
- require 'ronin/db/url_query_param'
526
- require 'ronin/db/web_credential'
527
- require 'ronin/db/web_vuln'
528
- require 'ronin/db/vulnerability'
529
- require 'ronin/db/advisory'
530
- require 'ronin/db/note'
521
+ require_relative 'host_name'
522
+ require_relative 'port'
523
+ require_relative 'url_scheme'
524
+ require_relative 'url_query_param_name'
525
+ require_relative 'url_query_param'
526
+ require_relative 'web_credential'
527
+ require_relative 'web_vuln'
528
+ require_relative 'vulnerability'
529
+ require_relative 'advisory'
530
+ 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
  require 'uri/query_params'
@@ -75,5 +75,5 @@ module Ronin
75
75
  end
76
76
  end
77
77
 
78
- require 'ronin/db/url_query_param_name'
79
- require 'ronin/db/url'
78
+ require_relative 'url_query_param_name'
79
+ require_relative 'url'
@@ -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/has_unique_name'
22
- require 'ronin/db/model'
21
+ require_relative 'model/has_unique_name'
22
+ require_relative 'model'
23
23
 
24
24
  require 'active_record'
25
25
 
@@ -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_unique_name'
21
+ require_relative 'model'
22
+ require_relative 'model/has_unique_name'
23
23
 
24
24
  require 'active_record'
25
25
 
@@ -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/importable'
23
- require 'ronin/db/model/has_unique_name'
21
+ require_relative 'model'
22
+ require_relative 'model/importable'
23
+ require_relative 'model/has_unique_name'
24
24
 
25
25
  require 'active_record'
26
26
 
@@ -147,7 +147,7 @@ module Ronin
147
147
  end
148
148
  end
149
149
 
150
- require 'ronin/db/credential'
151
- require 'ronin/db/password'
152
- require 'ronin/db/email_address'
153
- require 'ronin/db/note'
150
+ require_relative 'credential'
151
+ require_relative 'password'
152
+ require_relative 'email_address'
153
+ 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,11 +18,11 @@
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/advisory'
23
- require 'ronin/db/address'
24
- require 'ronin/db/open_port'
25
- require 'ronin/db/url'
21
+ require_relative 'model'
22
+ require_relative 'advisory'
23
+ require_relative 'address'
24
+ require_relative 'open_port'
25
+ require_relative 'url'
26
26
 
27
27
  require 'active_record'
28
28