cable_room 0.5.5 → 0.6.0
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.
- checksums.yaml +4 -4
- data/cable_room.gemspec +1 -2
- data/lib/cable_room/channel_base.rb +38 -3
- data/lib/cable_room/channel_tracker.rb +17 -3
- data/lib/cable_room/room/base.rb +8 -2
- data/lib/cable_room/room/channel_adapter.rb +3 -5
- data/lib/cable_room/room/input_handling.rb +16 -3
- data/lib/cable_room/room/port_management.rb +25 -18
- data/lib/cable_room/room/port_policies.rb +29 -17
- data/lib/cable_room/room/threading.rb +39 -3
- data/lib/cable_room/room/user_management.rb +1 -1
- data/lib/cable_room/room.rb +5 -0
- data/lib/cable_room/version.rb +1 -1
- data/lib/cable_room.rb +17 -0
- metadata +4 -24
- data/spec/cable_room/e2e_room_spec.rb +0 -481
- data/spec/cable_room/room_member_spec.rb +0 -113
- data/spec/internal/config/cable.yml +0 -2
- data/spec/internal/config/database.yml +0 -5
- data/spec/internal/config/routes.rb +0 -5
- data/spec/internal/config/storage.yml +0 -3
- data/spec/internal/db/schema.rb +0 -6
- data/spec/internal/log/test.log +0 -6078
- data/spec/internal/public/favicon.ico +0 -0
- data/spec/spec_helper.rb +0 -24
|
File without changes
|
data/spec/spec_helper.rb
DELETED
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
require 'bundler'
|
|
2
|
-
|
|
3
|
-
Bundler.require :default, :development
|
|
4
|
-
|
|
5
|
-
Combustion.initialize! :action_cable, :action_controller, :active_job
|
|
6
|
-
|
|
7
|
-
require 'active_support'
|
|
8
|
-
require 'active_support/core_ext/module'
|
|
9
|
-
|
|
10
|
-
require 'rspec/rails'
|
|
11
|
-
require 'action-cable-testing'
|
|
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
|
-
|
|
17
|
-
module ApplicationCable
|
|
18
|
-
class Channel < ActionCable::Channel::Base
|
|
19
|
-
end
|
|
20
|
-
end
|
|
21
|
-
|
|
22
|
-
RSpec.configure do |config|
|
|
23
|
-
# config.include ActionCable::TestHelper
|
|
24
|
-
end
|