collab 0.2.1 → 0.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/collab.rb +1 -1
- data/lib/collab/engine.rb +4 -0
- data/lib/collab/version.rb +1 -1
- data/lib/generators/collab/install/templates/channel.rb +1 -1
- metadata +2 -2
- data/lib/collab/railtie.rb +0 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4f8a71ae9b78062335060274fe354cfe2af0dadd83efe5c23509148d4121b4b2
|
4
|
+
data.tar.gz: dc1aaa0904bad425bb9f8ec101ec6f760ea64325380ec03a99b1b50194e9072d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 47b8fd7d8996d1b7a417850c88c6c25fe985e02bb71e4e4783f5e36e5758c556295de77a64ac4035282598578dc26c3977e7a7f555811940b4a0e4f8c9423997
|
7
|
+
data.tar.gz: 5c2ca0065053132e5348392fca773696700bc326436bdac01aa22b8091734701544dcbbba52456c7f092d7dbf4204a7d077c8326c8ec256d70e459dcc582e2c4
|
data/lib/collab.rb
CHANGED
data/lib/collab/version.rb
CHANGED
@@ -13,7 +13,7 @@ class CollabDocumentChannel < ApplicationCable::Channel
|
|
13
13
|
|
14
14
|
# Called when a client submits a transaction in order to update a document
|
15
15
|
# You should throw an error if unauthorized
|
16
|
-
def authorize_submit!
|
16
|
+
def authorize_submit!(data)
|
17
17
|
raise "authorization failed"
|
18
18
|
end
|
19
19
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: collab
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ben Aubin
|
@@ -57,11 +57,11 @@ files:
|
|
57
57
|
- lib/collab/bridge.rb
|
58
58
|
- lib/collab/channel.rb
|
59
59
|
- lib/collab/config.rb
|
60
|
+
- lib/collab/engine.rb
|
60
61
|
- lib/collab/has_collaborative_document.rb
|
61
62
|
- lib/collab/models/base.rb
|
62
63
|
- lib/collab/models/document.rb
|
63
64
|
- lib/collab/models/document_transaction.rb
|
64
|
-
- lib/collab/railtie.rb
|
65
65
|
- lib/collab/version.rb
|
66
66
|
- lib/generators/collab/install/install_generator.rb
|
67
67
|
- lib/generators/collab/install/templates/channel.rb
|
data/lib/collab/railtie.rb
DELETED