anycable-rails 0.4.0 → 0.4.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/anycable/rails.rb +2 -0
- data/lib/anycable/rails/version.rb +1 -1
- data/lib/generators/anycable/templates/script +1 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2e7d4840bcd92e76e1f94add4f95ab50f959b290
|
4
|
+
data.tar.gz: 929662e352013dc156f026f13c2230d6d42213a1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9554b7e7a955d1818e81d40a5760628e1688ea038af72f2cb7e5ddde4e21cb2de8a1dcca939fd487f21851acfe9233d74d5454fccfb9571e9f9191955a21de90
|
7
|
+
data.tar.gz: 04e99ce7c1b15f4a8eb68503536f34a41b8a84ea46f4fb849de0b3f76be87cfa7bbd9cb83bfd0755ff812869656f0d525a20b07a085b861c3244ce75970ed539
|
data/lib/anycable/rails.rb
CHANGED
@@ -4,6 +4,8 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
4
4
|
require "anycable"
|
5
5
|
require "anycable/rails/version"
|
6
6
|
require "anycable/rails/actioncable/server"
|
7
|
+
require "anycable/rails/actioncable/connection"
|
8
|
+
|
7
9
|
module Anycable
|
8
10
|
# Rails handler for AnyCable
|
9
11
|
module Rails
|
@@ -1,8 +1,7 @@
|
|
1
1
|
#!/usr/bin/env ruby
|
2
2
|
# frozen_string_literal: true
|
3
3
|
require ::File.expand_path('../../config/environment', __FILE__)
|
4
|
-
require "anycable"
|
5
|
-
require 'anycable/rails/connection'
|
4
|
+
require "anycable-rails"
|
6
5
|
|
7
6
|
Anycable.configure do |config|
|
8
7
|
config.connection_factory = ActionCable.server.config.connection_class.call
|