cable_room 0.5.3 → 0.5.5

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.
data/spec/spec_helper.rb CHANGED
@@ -2,7 +2,7 @@ require 'bundler'
2
2
 
3
3
  Bundler.require :default, :development
4
4
 
5
- Combustion.initialize! :action_cable, :action_controller
5
+ Combustion.initialize! :action_cable, :action_controller, :active_job
6
6
 
7
7
  require 'active_support'
8
8
  require 'active_support/core_ext/module'
@@ -10,6 +10,10 @@ require 'active_support/core_ext/module'
10
10
  require 'rspec/rails'
11
11
  require 'action-cable-testing'
12
12
 
13
+ # Force ActionCable to use async adapter for real message delivery in tests
14
+ # This overrides action-cable-testing's default test adapter
15
+ ActionCable.server.config.cable = { "adapter" => "async" }
16
+
13
17
  module ApplicationCable
14
18
  class Channel < ActionCable::Channel::Base
15
19
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cable_room
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.3
4
+ version: 0.5.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ethan Knapp
@@ -128,6 +128,7 @@ files:
128
128
  - lib/cable_room/room_member.rb
129
129
  - lib/cable_room/room_proxy_channel.rb
130
130
  - lib/cable_room/version.rb
131
+ - spec/cable_room/e2e_room_spec.rb
131
132
  - spec/cable_room/room_member_spec.rb
132
133
  - spec/internal/config/cable.yml
133
134
  - spec/internal/config/database.yml
@@ -158,6 +159,7 @@ rubygems_version: 3.6.9
158
159
  specification_version: 4
159
160
  summary: Build live Rooms on top of ActionCable
160
161
  test_files:
162
+ - spec/cable_room/e2e_room_spec.rb
161
163
  - spec/cable_room/room_member_spec.rb
162
164
  - spec/internal/config/cable.yml
163
165
  - spec/internal/config/database.yml