Ecosyste.ms: OpenCollective
An open API service for software projects hosted on Open Collective.
github.com/ronin-rb/ronin-db-activerecord
ActiveRecord backend for the Ronin Database
https://github.com/ronin-rb/ronin-db-activerecord
Fix style.
e7e68c892c59f3ae4dd44ab9d9b19ba05239c894 authored over 2 years ago
e7e68c892c59f3ae4dd44ab9d9b19ba05239c894 authored over 2 years ago
Make `ServiceCredential` and `WebCredential` join models (closes #16,#17).
962d17e1a926de426f27bbefe3982acc0a0c740a authored over 2 years ago
962d17e1a926de426f27bbefe3982acc0a0c740a authored over 2 years ago
Replace `.parse` and `.from` methods with `.lookup` and `.import` methods.
0b230d247fbcd8b98f88c19cc656d5547c916800 authored over 2 years ago
0b230d247fbcd8b98f88c19cc656d5547c916800 authored over 2 years ago
Added `Model::Importable`.
7582ea7fd8e2e0f5b0c488e8f88714ac3eb41a64 authored over 2 years ago
7582ea7fd8e2e0f5b0c488e8f88714ac3eb41a64 authored over 2 years ago
Added missing specs for `Ronin::DB::UserName`.
45fb8e466e46eafcbdaa6cfa57187d0fb8f94cb6 authored over 2 years ago
45fb8e466e46eafcbdaa6cfa57187d0fb8f94cb6 authored over 2 years ago
Renamed the `clear_text` column to `plain_text`.
39e3582371addfda1eda4028bb74cf3855d2ec8b authored over 2 years ago
39e3582371addfda1eda4028bb74cf3855d2ec8b authored over 2 years ago
Added missing specs for `WebCredential` (closes #13).
b468a4db8ac346790553a7d3bb98d9fdaaac1a70 authored over 2 years ago
b468a4db8ac346790553a7d3bb98d9fdaaac1a70 authored over 2 years ago
Also require `ronin/db/url`.
e924345a1a8bfc53be6eafe1e2a215a965f5beb3 authored over 2 years ago
e924345a1a8bfc53be6eafe1e2a215a965f5beb3 authored over 2 years ago
Validate whether `Credential#user_name` XOR `#email_address` are set.
4234c40f5b0c1873b5b6f8e677a04cf5b22c1a98 authored over 2 years ago
4234c40f5b0c1873b5b6f8e677a04cf5b22c1a98 authored over 2 years ago
Allow `Credential#user_name` to be optional.
7a23cff3762f2c97fca57ad765b6fa3803a9c3c9 authored over 2 years ago
7a23cff3762f2c97fca57ad765b6fa3803a9c3c9 authored over 2 years ago
Added missing spec for `Credential.with_email_address` (closes #14).
016ff72ec7eae3cc71b0b2cc9f5c5be7ef4f2842 authored over 2 years ago
016ff72ec7eae3cc71b0b2cc9f5c5be7ef4f2842 authored over 2 years ago
Fixed table and column names in `Credential.with_email_address`.
961dad5afdf4983e92bbf3e4dcb5f14d612bd98e authored over 2 years ago
961dad5afdf4983e92bbf3e4dcb5f14d612bd98e authored over 2 years ago
Added `ServiceCredential#to_s` (closes #15).
9ff96e4433b4d27b39cfe2fc84249c21e02049a1 authored over 2 years ago
9ff96e4433b4d27b39cfe2fc84249c21e02049a1 authored over 2 years ago
Changed `WebCredential#to_s` to include the optional URL.
d1c03d53180f4916c197a69beb6abf1dbf71f634 authored over 2 years ago
d1c03d53180f4916c197a69beb6abf1dbf71f634 authored over 2 years ago
Raise an `ArgumentError`.
dee3e8353b84e19cc2b4b6b254da2d085e8c0ce9 authored over 2 years ago
dee3e8353b84e19cc2b4b6b254da2d085e8c0ce9 authored over 2 years ago
Moved `WebCredential.with_email_address` down into `Credential`.
dd0b1f70b2eee844331ea15d39f993d747e8ede9 authored over 2 years ago
dd0b1f70b2eee844331ea15d39f993d747e8ede9 authored over 2 years ago
Add a note about `rake db:console`.
4a4792c40dd4900d8792abc8f8633f2413dc3379 authored over 2 years ago
4a4792c40dd4900d8792abc8f8633f2413dc3379 authored over 2 years ago
Added a spec for `URL.find_url` (issue #12).
8f5d1552b54f07427d63d67617ee7c8d4d23c385 authored over 2 years ago
8f5d1552b54f07427d63d67617ee7c8d4d23c385 authored over 2 years ago
Added a spec for `URL.with_query_param_value` (issue #12).
65095e741d6a6ceff9279e749d7dd2911ff07109 authored over 2 years ago
65095e741d6a6ceff9279e749d7dd2911ff07109 authored over 2 years ago
Renamed `URL.with_query_value` to `URL.with_query_param_value`.
78f99d4da8b7617a65d32ac7e866c95c26cdb084 authored over 2 years ago
78f99d4da8b7617a65d32ac7e866c95c26cdb084 authored over 2 years ago
Added a spec for `URL.with_query_param_name` (issue #12).
637137d1978aceb4a20205f3524010c226e7b5b9 authored over 2 years ago
637137d1978aceb4a20205f3524010c226e7b5b9 authored over 2 years ago
Renamed `URL.with_query_name` to `URL.with_query_param_name`.
b6a19d7121fba5b492e09a98a2b086b0ec219845 authored over 2 years ago
b6a19d7121fba5b492e09a98a2b086b0ec219845 authored over 2 years ago
Added a spec for `URL.with_query_param` (issue #12).
5817bd11f3000166910bf5934ad9ca00f787e5a7 authored over 2 years ago
5817bd11f3000166910bf5934ad9ca00f787e5a7 authored over 2 years ago
Use the full table names in nested join queries.
76225e7a155575dd167485109e83beedf4901f7e authored over 2 years ago
76225e7a155575dd167485109e83beedf4901f7e authored over 2 years ago
Added a `db:console` task to help with development.
57f100ec2eb0dd151562d301048b42598a4a613b authored over 2 years ago
57f100ec2eb0dd151562d301048b42598a4a613b authored over 2 years ago
Also require `ronin/db/web_credential`.
0c7f038f2717a9c276e1a3cdb2aaf399abd2fb38 authored over 2 years ago
0c7f038f2717a9c276e1a3cdb2aaf399abd2fb38 authored over 2 years ago
Add missing `dependent: :destroy` to `URL.web_credentials`.
3fb6e366fa8b606f37dce9179e1fdaffc695057a authored over 2 years ago
3fb6e366fa8b606f37dce9179e1fdaffc695057a authored over 2 years ago
Add missing `dependent: :destroy` to `URL.query_params`.
e060c4bdf1f4e60d16432e5e30138b038f518dcd authored over 2 years ago
e060c4bdf1f4e60d16432e5e30138b038f518dcd authored over 2 years ago
Renamed `URL.with_ext` to `URL.with_file_ext`.
245b5eaf628130c0850e6fa10d4fd4913804b263 authored over 2 years ago
245b5eaf628130c0850e6fa10d4fd4913804b263 authored over 2 years ago
Added a spec for `URL.with_ext` (issue #12).
6515bd6fa80290d6a0e3520f8eab28e99d80af2c authored over 2 years ago
6515bd6fa80290d6a0e3520f8eab28e99d80af2c authored over 2 years ago
Style.
cdf98bd098011fcb753237fc6cc7c83d24204c98 authored over 2 years ago
cdf98bd098011fcb753237fc6cc7c83d24204c98 authored over 2 years ago
Added specs for `URL.with_directory` (issue #12).
c6dcd4e20ad102eda850f2ab21133accb286a9f9 authored over 2 years ago
c6dcd4e20ad102eda850f2ab21133accb286a9f9 authored over 2 years ago
Fixed a typo.
7a04b50b0afa1ee787dd599bc79a1aa281bd7c99 authored over 2 years ago
7a04b50b0afa1ee787dd599bc79a1aa281bd7c99 authored over 2 years ago
Removed the `Port.protocol` validation spec now that it has a default.
eaf385888ed6ffb2a4c46d3e0346ce54b73d51de authored over 2 years ago
eaf385888ed6ffb2a4c46d3e0346ce54b73d51de authored over 2 years ago
Added specs for `URL.with_port_number`.
4da3a3c4163496d12cdf2eb8cbbd2b3a9c1eac15 authored over 2 years ago
4da3a3c4163496d12cdf2eb8cbbd2b3a9c1eac15 authored over 2 years ago
Added specs for `URL.with_host_name` (issue #12).
a5fadf4455ac8bd13d357a8bbbe077c2383cf1a0 authored over 2 years ago
a5fadf4455ac8bd13d357a8bbbe077c2383cf1a0 authored over 2 years ago
Fixed table/column names in `URL.with_host_name`.
349e3e298d93556a2f7d1534ce78ef903deb2ba4 authored over 2 years ago
349e3e298d93556a2f7d1534ce78ef903deb2ba4 authored over 2 years ago
Added a spec for `URL.https` (issue #12).
1a086f173d36a52a6e9182176d91f2f3a45ca77d authored over 2 years ago
1a086f173d36a52a6e9182176d91f2f3a45ca77d authored over 2 years ago
Fixed a typo.
dc83c44711e9fdcfb2a9fcb028973b92c9a61f20 authored over 2 years ago
dc83c44711e9fdcfb2a9fcb028973b92c9a61f20 authored over 2 years ago
Added a spec for `URL.http` (issue #12).
5c81bca5e86cd0bd3f23c74a5f24ba21207a735f authored over 2 years ago
5c81bca5e86cd0bd3f23c74a5f24ba21207a735f authored over 2 years ago
Default `Port#protocol` to `:tcp`.
425a498a7099132ef353c76c55975f76c4382031 authored over 2 years ago
425a498a7099132ef353c76c55975f76c4382031 authored over 2 years ago
Test when given a single port number vs. an Array of port numbers.
4e5d041043981bb7b5d2c9de77cc289aaa32f28c authored over 2 years ago
4e5d041043981bb7b5d2c9de77cc289aaa32f28c authored over 2 years ago
Renamed `HostName.with_port` to `.with_port_number` for consistency.
13c74d63bf7fdb3e2be085d0a3679fdb33ca0832 authored over 2 years ago
13c74d63bf7fdb3e2be085d0a3679fdb33ca0832 authored over 2 years ago
Changed `URL.with_query_param` and added `URL.with_query_param_name`.
c220f8d8ed95d5e5913c13b17b9816f116150b57 authored over 2 years ago
c220f8d8ed95d5e5913c13b17b9816f116150b57 authored over 2 years ago
Be consistent with the `.with_*` query method naming convention.
aac9a346addf06b5ee6613ced88731d19f550513 authored over 2 years ago
aac9a346addf06b5ee6613ced88731d19f550513 authored over 2 years ago
De-pluralize `URL.with_hosts` and `URL.with_ports`.
89c2958dfea8d9ee8b817b04153fc05ac7c3f0a1 authored over 2 years ago
89c2958dfea8d9ee8b817b04153fc05ac7c3f0a1 authored over 2 years ago
Call `destroy_all` so that any `dependent: :destroy` callbacks are triggered.
a51be4e2965551e264ffaa4aaa223e0380a398f7 authored over 2 years ago
a51be4e2965551e264ffaa4aaa223e0380a398f7 authored over 2 years ago
Removed redundant "This file is part of ronin-db-activerecord." line from license header.
c94b66755ba11658f83748df619ecc0b85cfc5aa authored over 2 years ago
c94b66755ba11658f83748df619ecc0b85cfc5aa authored over 2 years ago
Fixed license header for `ronin/db/vulnerability`.
2361aff6c008a3ad76f681c6d4ad7698ec620443 authored over 2 years ago
2361aff6c008a3ad76f681c6d4ad7698ec620443 authored over 2 years ago
Added `Vulnerability` (closes #7).
c3285c0e638dfdb15c6bba14d1100dd66bf5fc0e authored over 2 years ago
c3285c0e638dfdb15c6bba14d1100dd66bf5fc0e authored over 2 years ago
Added the `Advisory` model (closes #6).
24497d898d6aa78733ccce07901202314cac30e5 authored over 2 years ago
24497d898d6aa78733ccce07901202314cac30e5 authored over 2 years ago
Make `OS.flavor` an enum (closes #9).
1302e2607172aae557893e14e83ea5b715007056 authored over 2 years ago
1302e2607172aae557893e14e83ea5b715007056 authored over 2 years ago
Use more `subject` in the specs.
564708fa3272304127089e9557175c83d448f472 authored over 2 years ago
564708fa3272304127089e9557175c83d448f472 authored over 2 years ago
Guard against potential `nil` `URL#scheme`.
e58b33f5006b5b2c6c7249fc0e7c8b05e4b1d3f3 authored over 2 years ago
e58b33f5006b5b2c6c7249fc0e7c8b05e4b1d3f3 authored over 2 years ago
Forgot to set `URL#query` in the specs.
167d9835197b8bc7c0eedc233b0df2b1d58f424d authored over 2 years ago
167d9835197b8bc7c0eedc233b0df2b1d58f424d authored over 2 years ago
No need to query the `URLQueryParams` now that we can query `URL.query` directly.
ebc62482e7091572035a221a70aea9e660e54c63 authored over 2 years ago
ebc62482e7091572035a221a70aea9e660e54c63 authored over 2 years ago
Use `URL#query` directly in `URL#to_uri`.
dd30febf421f95ff1289300ba4db3139a44873d7 authored over 2 years ago
dd30febf421f95ff1289300ba4db3139a44873d7 authored over 2 years ago
Removed `URL#query_string=` in favor of explicitly populating the `URL#query_params`.
82992f379991cd8ec7e0d4c8ebb8ea534d053564 authored over 2 years ago
82992f379991cd8ec7e0d4c8ebb8ea534d053564 authored over 2 years ago
Removed `URL.query_string` now that we have `URL.query` (issue #10).
1625db45bfe375ea17a0726163871d42e079d508 authored over 2 years ago
1625db45bfe375ea17a0726163871d42e079d508 authored over 2 years ago
Added the `URL.query` attribute (closes #10).
93d77ed00483a2f1a85238d9607799b19100b3da authored over 2 years ago
93d77ed00483a2f1a85238d9607799b19100b3da authored over 2 years ago
Limit `ronin_oses.flavor` to max 5 characters (aka `"Linux".length`).
eb91e9dca46ea764eae0dabe89120dd2fd352e6f authored over 2 years ago
eb91e9dca46ea764eae0dabe89120dd2fd352e6f authored over 2 years ago
Document ActiveRecord attributes/associations uses YARD macros (closes #8).
ab80d0eb92f46c29e25713a10a7958a64df7d055 authored over 2 years ago
ab80d0eb92f46c29e25713a10a7958a64df7d055 authored over 2 years ago
Replaced `URL.last_scanned_at` with `Model::LastScannedAt` (closes #11).
c21e45cd6e12b4a07248febaff0642690e74c8df authored over 2 years ago
c21e45cd6e12b4a07248febaff0642690e74c8df authored over 2 years ago
Remove unused `ronin/db/model/types` file.
52aa639cd9b33e5f331701166654d702e7d65807 authored over 2 years ago
52aa639cd9b33e5f331701166654d702e7d65807 authored over 2 years ago
Added missing documentation.
1acf2b01aba720a6ea8f8262d50f767903536999 authored over 2 years ago
1acf2b01aba720a6ea8f8262d50f767903536999 authored over 2 years ago
Pluralize `HTTPRequest#query_params`.
8e1c6faca71222b94d0769654b62fcb0686e74b6 authored over 2 years ago
8e1c6faca71222b94d0769654b62fcb0686e74b6 authored over 2 years ago
Add missing documentation.
6fbca9b95ef582f4ff242c7e0b7309584b9379cc authored over 2 years ago
6fbca9b95ef582f4ff242c7e0b7309584b9379cc authored over 2 years ago
Add `http_response_headers` and `http_responses` associations to `HTTPHeaderName`.
0869d5a4b4b9485330271bba94b53c8ad83ff545 authored over 2 years ago
0869d5a4b4b9485330271bba94b53c8ad83ff545 authored over 2 years ago
Fixed an association name.
159238f15563fb3e6eee5e3e29bbb35f92166b4e authored over 2 years ago
159238f15563fb3e6eee5e3e29bbb35f92166b4e authored over 2 years ago
Added missing documentation.
86d00e4b44db69aca82288a53e4ed9a3bd85b6f7 authored over 2 years ago
86d00e4b44db69aca82288a53e4ed9a3bd85b6f7 authored over 2 years ago
Removed unused `ronin/db/exceptions` file.
* This file is more used by the main `ronin-db` library.
https://github.com/ronin-rb/ronin-db#...
Added missing documentation to `ASN`.
c909058a03965cd36db5709b7834b6fea815c628 authored over 2 years ago
c909058a03965cd36db5709b7834b6fea815c628 authored over 2 years ago
Explicitly define the referenced table names.
b1da75c0dc6beb5ebc33950ec53131105f8a3b41 authored over 2 years ago
b1da75c0dc6beb5ebc33950ec53131105f8a3b41 authored over 2 years ago
Add specs for `Ronin::DB::Models`.
e22b39b1866e3199981cc4eae7f53256d7fbd76c authored over 2 years ago
e22b39b1866e3199981cc4eae7f53256d7fbd76c authored over 2 years ago
Added models for storing HTTP requests/responses in the DB (closes #1).
39a364339ae8d5888323566433f2458cc6ae25e3 authored over 2 years ago
39a364339ae8d5888323566433f2458cc6ae25e3 authored over 2 years ago
Whitespace--
2414839766ec1acff596ab3490b3688c2cf5a794 authored over 2 years ago
2414839766ec1acff596ab3490b3688c2cf5a794 authored over 2 years ago
Add `Ronin::DB::ASN` to the list of models.
fc5eeecdb955ea60176101162715e5ea01589bf8 authored over 2 years ago
fc5eeecdb955ea60176101162715e5ea01589bf8 authored over 2 years ago
Whitespace--
de82596be92931cfb42e4eade59ece14cef98616 authored over 2 years ago
de82596be92931cfb42e4eade59ece14cef98616 authored over 2 years ago
Improved specs for `URLQueryParam#to_s`.
25e081b3a9ac89c92c742e87d20eee8190ce8e29 authored over 2 years ago
25e081b3a9ac89c92c742e87d20eee8190ce8e29 authored over 2 years ago
Added `Ronin::DB::ASN` (closes #4).
74d2d17decde38b08104acb46843526fd138aad1 authored over 2 years ago
74d2d17decde38b08104acb46843526fd138aad1 authored over 2 years ago
Added a `flavor` attribute to `OS` (closes #2).
a09ac96e5dcbf05be2f3022f58c2f3cfe7a02cd0 authored over 2 years ago
a09ac96e5dcbf05be2f3022f58c2f3cfe7a02cd0 authored over 2 years ago
Link to the model classes.
e4884c0e101afe0bd249b4282c432a390c2451b2 authored over 2 years ago
e4884c0e101afe0bd249b4282c432a390c2451b2 authored over 2 years ago
Added `Ronin::DB::Migrations.current_version`.
ba507173c729d2ad39fd759024eaae98e6132db7 authored over 2 years ago
ba507173c729d2ad39fd759024eaae98e6132db7 authored over 2 years ago
Added missing specs for `Ronin::DB::Migrations`.
3b80de3af95b8a9c0a7d441f1cc952b42bef5fd5 authored over 2 years ago
3b80de3af95b8a9c0a7d441f1cc952b42bef5fd5 authored over 2 years ago
Fixed a copy/paste typo.
5f176f9c6d044bcf9bc43b4c5acb8df98c8199b1 authored over 2 years ago
5f176f9c6d044bcf9bc43b4c5acb8df98c8199b1 authored over 2 years ago
Added `Ronin::DB::Migrations.needs_migration?` (closes #3).
3a31906c1adde7d6370ba466bda01b0d1f7b3008 authored over 2 years ago
3a31906c1adde7d6370ba466bda01b0d1f7b3008 authored over 2 years ago
Added examples for how to connect to and migrate the database.
e942398ed3764ce2d49380be246a7fd330c17a3f authored over 2 years ago
e942398ed3764ce2d49380be246a7fd330c17a3f authored over 2 years ago
Re-enable truffleruby in the CI.
ba8d75692ee3fffbc1a737f7d9966e8246b8c14c authored over 2 years ago
ba8d75692ee3fffbc1a737f7d9966e8246b8c14c authored over 2 years ago
Populate `gemspec.test_files` using the `spec/` directory.
341bea623e8eafafe4bddb61d5da336ccdae325d authored over 2 years ago
341bea623e8eafafe4bddb61d5da336ccdae325d authored over 2 years ago
Require ruby >= 3.0.0.
16315f6418003a3f2ef39ee0c8ee216a5c09ada2 authored over 2 years ago
16315f6418003a3f2ef39ee0c8ee216a5c09ada2 authored over 2 years ago
Renamed `Models::MODELS` to `Models::ALL`.
5c74bc093e16a43591b56c035bc4e4514b05936f authored almost 3 years ago
5c74bc093e16a43591b56c035bc4e4514b05936f authored almost 3 years ago
Fixed a typo.
a8496d3be370180dedcce6d1fe82e12894c6ca5a authored almost 3 years ago
a8496d3be370180dedcce6d1fe82e12894c6ca5a authored almost 3 years ago
Added `Migrations.context` to DRY up code.
dd393e4088a0b841bfdb17157b4627631977e7e9 authored almost 3 years ago
dd393e4088a0b841bfdb17157b4627631977e7e9 authored almost 3 years ago
Ported the original Ronin Database models and migrations to ActiveRecord.
* https://github.com/ronin-rb/ronin/tree/v1.5.1/lib/ronin
895de804f9665a973395299da667f6b903a5ba54 authored almost 3 years ago