From 9227fad48af423b05faa180cff3eab46234c2571 Mon Sep 17 00:00:00 2001 From: Andrew Tomaka Date: Fri, 16 Aug 2024 22:02:35 -0400 Subject: [PATCH] Update dependencies (#28) Reviewed-on: https://git.atomaka.com/atomaka/budget/pulls/28 --- Gemfile.lock | 39 +++++++++---------- ...5831_create_recurring_tasks.solid_queue.rb | 21 ++++++++++ db/schema.rb | 18 ++++++++- 3 files changed, 57 insertions(+), 21 deletions(-) create mode 100644 db/migrate/20240817015831_create_recurring_tasks.solid_queue.rb diff --git a/Gemfile.lock b/Gemfile.lock index bab804b..b855cda 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,9 +1,9 @@ GIT remote: https://github.com/rails/propshaft.git - revision: 40b578cc8741b08f718600777d1099ebd78456f6 + revision: 2abf5421e065a3c9fead1119668af5fa2bbec1bb branch: main specs: - propshaft (0.9.0) + propshaft (0.9.1) actionpack (>= 7.0.0) activesupport (>= 7.0.0) rack @@ -11,7 +11,7 @@ GIT GIT remote: https://github.com/rails/rails.git - revision: 8ab3cbe665b10459e1a518002f16413696979f90 + revision: b26a9fd2551a2e65e8deef10f4b5ca6b99d666fb branch: main specs: actioncable (8.0.0.alpha) @@ -38,7 +38,6 @@ GIT actionview (= 8.0.0.alpha) activesupport (= 8.0.0.alpha) nokogiri (>= 1.8.5) - racc rack (>= 2.2.4) rack-session (>= 1.0.1) rack-test (>= 0.6.3) @@ -117,7 +116,7 @@ GEM bcrypt (3.1.20) bigdecimal (3.1.8) bindex (0.8.1) - bootsnap (1.18.3) + bootsnap (1.18.4) msgpack (~> 1.2) brakeman (6.1.2) racc @@ -131,7 +130,7 @@ GEM rack-test (>= 0.6.3) regexp_parser (>= 1.5, < 3.0) xpath (~> 3.2) - concurrent-ruby (1.3.3) + concurrent-ruby (1.3.4) connection_pool (2.4.1) crass (1.0.6) date (3.3.4) @@ -142,7 +141,7 @@ GEM erubi (1.13.0) et-orbi (1.2.11) tzinfo - fugit (1.11.0) + fugit (1.11.1) et-orbi (~> 1, >= 1.2.11) raabro (~> 1.4) globalid (1.2.1) @@ -174,7 +173,7 @@ GEM marcel (1.0.4) matrix (0.4.2) mini_mime (1.1.5) - minitest (5.24.1) + minitest (5.25.1) msgpack (1.7.2) net-imap (0.4.14) date @@ -192,8 +191,8 @@ GEM racc (~> 1.4) nokogiri (1.16.7-x86_64-linux) racc (~> 1.4) - parallel (1.25.1) - parser (3.3.4.0) + parallel (1.26.3) + parser (3.3.4.2) ast (~> 2.4.1) racc psych (5.1.2) @@ -225,7 +224,7 @@ GEM regexp_parser (2.9.2) reline (0.5.9) io-console (~> 0.5) - rexml (3.3.4) + rexml (3.3.5) strscan rubocop (1.65.1) json (~> 2.3) @@ -238,7 +237,7 @@ GEM rubocop-ast (>= 1.31.1, < 2.0) ruby-progressbar (~> 1.7) unicode-display_width (>= 2.4.0, < 3.0) - rubocop-ast (1.31.3) + rubocop-ast (1.32.0) parser (>= 3.3.1.0) rubocop-minitest (0.35.1) rubocop (>= 1.61, < 2.0) @@ -265,24 +264,24 @@ GEM rexml (~> 3.2, >= 3.2.5) rubyzip (>= 1.2.2, < 3.0) websocket (~> 1.0) - solid_queue (0.3.4) + solid_queue (0.5.0) activejob (>= 7.1) activerecord (>= 7.1) concurrent-ruby (>= 1.3.1) fugit (~> 1.11.0) railties (>= 7.1) - sqlite3 (2.0.3-aarch64-linux-gnu) - sqlite3 (2.0.3-arm64-darwin) - sqlite3 (2.0.3-x86_64-linux-gnu) - stimulus-rails (1.3.3) + sqlite3 (2.0.4-aarch64-linux-gnu) + sqlite3 (2.0.4-arm64-darwin) + sqlite3 (2.0.4-x86_64-linux-gnu) + stimulus-rails (1.3.4) railties (>= 6.0.0) stringio (3.1.1) strscan (3.1.0) - tailwindcss-rails (2.6.5-aarch64-linux) + tailwindcss-rails (2.7.3-aarch64-linux) railties (>= 7.0.0) - tailwindcss-rails (2.6.5-arm64-darwin) + tailwindcss-rails (2.7.3-arm64-darwin) railties (>= 7.0.0) - tailwindcss-rails (2.6.5-x86_64-linux) + tailwindcss-rails (2.7.3-x86_64-linux) railties (>= 7.0.0) thor (1.3.1) timeout (0.4.1) diff --git a/db/migrate/20240817015831_create_recurring_tasks.solid_queue.rb b/db/migrate/20240817015831_create_recurring_tasks.solid_queue.rb new file mode 100644 index 0000000..507c9e7 --- /dev/null +++ b/db/migrate/20240817015831_create_recurring_tasks.solid_queue.rb @@ -0,0 +1,21 @@ +# This migration comes from solid_queue (originally 20240719134516) +class CreateRecurringTasks < ActiveRecord::Migration[7.1] + def change + create_table :solid_queue_recurring_tasks do |t| + t.string :key, null: false, index: { unique: true } + t.string :schedule, null: false + t.string :command, limit: 2048 + t.string :class_name + t.text :arguments + + t.string :queue_name + t.integer :priority, default: 0 + + t.boolean :static, default: true, index: true + + t.text :description + + t.timestamps + end + end +end diff --git a/db/schema.rb b/db/schema.rb index a8caf00..f03ca23 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -10,7 +10,7 @@ # # It's strongly recommended that you check this file into your version control system. -ActiveRecord::Schema[8.0].define(version: 2024_07_27_022931) do +ActiveRecord::Schema[8.0].define(version: 2024_08_17_015831) do create_table "credit_card_bills", force: :cascade do |t| t.string "description" t.decimal "amount" @@ -127,6 +127,22 @@ ActiveRecord::Schema[8.0].define(version: 2024_07_27_022931) do t.index ["task_key", "run_at"], name: "index_solid_queue_recurring_executions_on_task_key_and_run_at", unique: true end + create_table "solid_queue_recurring_tasks", force: :cascade do |t| + t.string "key", null: false + t.string "schedule", null: false + t.string "command", limit: 2048 + t.string "class_name" + t.text "arguments" + t.string "queue_name" + t.integer "priority", default: 0 + t.boolean "static", default: true + t.text "description" + t.datetime "created_at", null: false + t.datetime "updated_at", null: false + t.index ["key"], name: "index_solid_queue_recurring_tasks_on_key", unique: true + t.index ["static"], name: "index_solid_queue_recurring_tasks_on_static" + end + create_table "solid_queue_scheduled_executions", force: :cascade do |t| t.integer "job_id", null: false t.string "queue_name", null: false