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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 225d5ebaf25744294ea11566c1b1ea792b19141ec56d10a2017eb39407a1b346
4
- data.tar.gz: 2d4afe1de7f8fd3e4f4d12fb29f4c51088713b69303b4c905c8a6cb1ad0385a9
3
+ metadata.gz: 1e7f7d9dd1475b7a56d9920dc815ff1ac0609add399996e8b5992365955abdeb
4
+ data.tar.gz: d32fa60ca923753176253f36c48507a85d9d7f859f9ffce13c56838cb60c1f15
5
5
  SHA512:
6
- metadata.gz: c5bd0958b9eaabe325c8c65d81bead836dfb182f43059ea786a941eb9268920efbad8be79498e53bd97529bdea13fc2f24a382ceebf97a81c8ebcf70523d753d
7
- data.tar.gz: 49c2bea2d9f35a3722c7e3cd4824441623a4660e46d0754a12906dcfe552c0474222af076f4bc096b89da45f1a3f3b4a0521270ab9f9856e069ad96325e1a9b5
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.3)
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.4)
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],
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module StimulusReflex
4
- VERSION = "2.1.3"
4
+ VERSION = "2.1.4"
5
5
  end
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.3
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-16 00:00:00.000000000 Z
11
+ date: 2019-10-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rack