Skip to content

Commit

Permalink
remove solid cable
Browse files Browse the repository at this point in the history
  • Loading branch information
wrburgess committed Dec 5, 2024
1 parent 059b0e0 commit 53cdf5d
Show file tree
Hide file tree
Showing 7 changed files with 13 additions and 54 deletions.
1 change: 0 additions & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ gem 'puma', '6.5.0'
gem 'pundit', '2.4.0'
gem 'ransack', '4.2.1'
gem 'roo', '2.10.1'
gem 'solid_cable', '3.0.3'
gem 'solid_cache', '1.0.6'
gem 'stimulus-rails', '1.3.4'
gem 'thruster', '0.1.9', require: false
Expand Down
6 changes: 0 additions & 6 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -417,11 +417,6 @@ GEM
websocket (~> 1.0)
shoulda-matchers (6.4.0)
activesupport (>= 5.2.0)
solid_cable (3.0.3)
actioncable (>= 7.2)
activejob (>= 7.2)
activerecord (>= 7.2)
railties (>= 7.2)
solid_cache (1.0.6)
activejob (>= 7.2)
activerecord (>= 7.2)
Expand Down Expand Up @@ -527,7 +522,6 @@ DEPENDENCIES
rubocop (= 1.69.1)
selenium-webdriver (= 4.27.0)
shoulda-matchers (= 6.4.0)
solid_cable (= 3.0.3)
solid_cache (= 1.0.6)
stimulus-rails (= 1.3.4)
thruster (= 0.1.9)
Expand Down
20 changes: 10 additions & 10 deletions config/application.rb
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
require_relative "boot"
require_relative 'boot'

require "rails"
require 'rails'
# Pick the frameworks you want:
# require "action_text/engine"
# require "active_storage/engine"
# require "rails/test_unit/railtie"
require "action_cable/engine"
require "action_controller/railtie"
require "action_mailbox/engine"
require "action_mailer/railtie"
require "action_view/railtie"
require "active_job/railtie"
require "active_model/railtie"
require "active_record/railtie"
# require "action_cable/engine"
require 'action_controller/railtie'
require 'action_mailbox/engine'
require 'action_mailer/railtie'
require 'action_view/railtie'
require 'active_job/railtie'
require 'active_model/railtie'
require 'active_record/railtie'

# Require the gems listed in Gemfile, including any gems
# you've limited to :test, :development, or :production.
Expand Down
14 changes: 0 additions & 14 deletions config/cable.yml

This file was deleted.

10 changes: 0 additions & 10 deletions config/initializers/solid_cable.rb

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,15 +1,5 @@
class CacheAndCableMigrations < ActiveRecord::Migration[8.0]
class CacheMigration < ActiveRecord::Migration[8.0]
def change
create_table "solid_cable_messages", force: :cascade do |t|
t.binary "channel", limit: 1024, null: false
t.binary "payload", limit: 536870912, null: false
t.datetime "created_at", null: false
t.integer "channel_hash", limit: 8, null: false
t.index ["channel"], name: "index_solid_cable_messages_on_channel"
t.index ["channel_hash"], name: "index_solid_cable_messages_on_channel_hash"
t.index ["created_at"], name: "index_solid_cable_messages_on_created_at"
end

create_table "solid_cache_entries", force: :cascade do |t|
t.binary "key", limit: 1024, null: false
t.binary "value", limit: 536870912, null: false
Expand Down
4 changes: 2 additions & 2 deletions docs/asset_pipeline.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@

Add to `.yarnrc.yml` at root:

```yml
```yaml
nodeLinker: node-modules
yarnPath: .yarn/releases/yarn-4.5.3.cjs
```
Expand Down Expand Up @@ -121,7 +121,7 @@ File structure:

Add to `admin.scss` and `public.scss` files:

```css
```scss
@use "bootstrap/scss/bootstrap";
@use "bootstrap-icons/font/bootstrap-icons";

Expand Down

0 comments on commit 53cdf5d

Please sign in to comment.