lexxy-realtime 0.7.0 → 0.7.1

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3350b78c757d67751e698066907ab2242baed38f5eabdf49aea0cb096c62c89d
4
- data.tar.gz: 33f803cbfee003e7fcf067c03625b3e7451bbbeb3c9b7602edc3da51bf8d378e
3
+ metadata.gz: e13daa738b30059ffd6512349184322d7c5866238a6bf886b60d55ce15006f15
4
+ data.tar.gz: 91e37a272447251a7c3f8b0a409c9e7264be7958da2bfebd088a059d94d737af
5
5
  SHA512:
6
- metadata.gz: 93640c137ef447f2dcb730a3902e0774c972523e02087779ceec54b4d73232e14cba4a180a922889f295ac2e9749337aae080b4c4237d62fe2c3885c91a46698
7
- data.tar.gz: 5a0dd91c3d419aa2ae34428d484fd6a513e7354abd75e290b3a4345b001ffe284a72451e7a72190ad5eda4101210a20a1dc5713a3d55a0286b074ce54aac9132
6
+ metadata.gz: b94ee6e879b9aebe10bd52c2fb296afc6e29242d8929c7082434ae4d653d3b9fc5ad3a2e598ad871c9dd7d0e525d411c6f5c9e0d22f1280bde6718da4c360635
7
+ data.tar.gz: 86deff4da480f6e97d13aa130d545e6625d246a05472792a3c9bcb07f2ee6fbbbc0f4b9a4a5c46b867666c6279d0f30ca906319c2ef20711799cd9df254d5545
@@ -39,7 +39,9 @@ class DocumentChannel < ApplicationCable::Channel
39
39
  # Check whether the current user may edit this record, e.g.
40
40
  # record.editable_by?(current_user) with identified_by :current_user
41
41
  # on the connection. Nothing connects until this returns true.
42
- def authorized?
42
+ # yrby-rails 0.7 also calls it with the document key; the token already
43
+ # picked the document, so the key isn't needed here.
44
+ def authorized?(_key = nil)
43
45
  false
44
46
  end
45
47
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module LexxyRealtime
4
- VERSION = "0.7.0"
4
+ VERSION = "0.7.1"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lexxy-realtime
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.0
4
+ version: 0.7.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - JP Camara