stimulus_reflex 2.1.3 → 2.1.4
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of stimulus_reflex might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/Gemfile.lock +2 -2
- data/README.md +6 -0
- data/lib/stimulus_reflex/channel.rb +1 -1
- data/lib/stimulus_reflex/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1e7f7d9dd1475b7a56d9920dc815ff1ac0609add399996e8b5992365955abdeb
|
4
|
+
data.tar.gz: d32fa60ca923753176253f36c48507a85d9d7f859f9ffce13c56838cb60c1f15
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f9498339be7be1297189373f155a6a92871e8c05e096b3027eff1a644e48ad693bd564d42d424724780fd93952fe867ef822c91d352f19bf0e5bf397a32611b4
|
7
|
+
data.tar.gz: b9d49433b932ac09c2f6947ce243d5876861f35fb6caa8c9c25d8530e69d96f8b8a648f790d6cab5aed34962bd104a66a268faa5a0a8df935d1164fdecb712c1
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
stimulus_reflex (2.1.
|
4
|
+
stimulus_reflex (2.1.4)
|
5
5
|
cable_ready (>= 4.0.7)
|
6
6
|
nokogiri
|
7
7
|
rack
|
@@ -71,7 +71,7 @@ GEM
|
|
71
71
|
rails (>= 5.2)
|
72
72
|
coderay (1.1.2)
|
73
73
|
concurrent-ruby (1.1.5)
|
74
|
-
crass (1.0.
|
74
|
+
crass (1.0.5)
|
75
75
|
erubi (1.9.0)
|
76
76
|
globalid (0.4.2)
|
77
77
|
activesupport (>= 4.2.0)
|
data/README.md
CHANGED
@@ -1,3 +1,9 @@
|
|
1
|
+
<p align="center">
|
2
|
+
<a href="https://codefund.io/properties/525/visit-sponsor">
|
3
|
+
<img src="https://codefund.io/properties/525/sponsor" />
|
4
|
+
</a>
|
5
|
+
</p>
|
6
|
+
|
1
7
|
[![Lines of Code](http://img.shields.io/badge/lines_of_code-516-brightgreen.svg?style=flat)](http://blog.codinghorror.com/the-best-code-is-no-code-at-all/)
|
2
8
|
[![Maintainability](https://api.codeclimate.com/v1/badges/2b24fdbd1ae37a24bedb/maintainability)](https://codeclimate.com/github/hopsoft/stimulus_reflex/maintainability)
|
3
9
|
![Prettier-Standard](https://github.com/hopsoft/stimulus_reflex/workflows/Prettier-Standard/badge.svg)
|
@@ -4,7 +4,7 @@ class StimulusReflex::Channel < ActionCable::Channel::Base
|
|
4
4
|
include CableReady::Broadcaster
|
5
5
|
|
6
6
|
def stream_name
|
7
|
-
ids = connection.identifiers.map { |identifier| send(identifier).try(:id) }
|
7
|
+
ids = connection.identifiers.map { |identifier| send(identifier).try(:id) || send(identifier) }
|
8
8
|
[
|
9
9
|
params[:channel],
|
10
10
|
params[:room],
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: stimulus_reflex
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.1.
|
4
|
+
version: 2.1.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nathan Hopkins
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-10-
|
11
|
+
date: 2019-10-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rack
|