pusher-chatkit-server 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/chatkit/permissions.rb +17 -17
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0a3d59d1ac982cb2e34d35c9ec4833351660bd09
|
4
|
+
data.tar.gz: de7e9d315104d0ba513bdbc38b0f11f54be4e860
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 57c502cc53a94b8724940d5741523f1eeed64b176dc4d24580ceb9fbac59d8c1a61db0862e6c8a23537f5dc1e6c876d1517628ccf3bf228019de0453a8e821c6
|
7
|
+
data.tar.gz: 8244c139605322ed18ff38bd58f9b9ccb7bec67645b8f9dca5c915b24ab2de0dfd854d3cb67bbaf4a59b69b2c18286128ba40ef609d68c5d76ee04b7d2d79ecf
|
data/lib/chatkit/permissions.rb
CHANGED
@@ -2,21 +2,21 @@ module Chatkit
|
|
2
2
|
ROOM_SCOPE = "room"
|
3
3
|
GLOBAL_SCOPE = "global"
|
4
4
|
|
5
|
-
JOIN_ROOM = "
|
6
|
-
LEAVE_ROOM = "
|
7
|
-
ADD_ROOM_MEMBER = "
|
8
|
-
REMOVE_ROOM_MEMBER = "
|
9
|
-
CREATE_ROOM = "
|
10
|
-
DELETE_ROOM = "
|
11
|
-
UPDATE_ROOM = "
|
12
|
-
|
13
|
-
CREATE_TYPING_EVENT = "
|
14
|
-
SUBSCRIBE_PRESENCE = "
|
15
|
-
UPDATE_USER = "
|
16
|
-
GET_ROOM_MESSAGES = "
|
17
|
-
GET_USER = "
|
18
|
-
GET_ROOM = "
|
19
|
-
GET_USER_ROOMS = "
|
5
|
+
JOIN_ROOM = "room:join"
|
6
|
+
LEAVE_ROOM = "room:leave"
|
7
|
+
ADD_ROOM_MEMBER = "room:members:add"
|
8
|
+
REMOVE_ROOM_MEMBER = "room:members:remove"
|
9
|
+
CREATE_ROOM = "room:create"
|
10
|
+
DELETE_ROOM = "room:delete"
|
11
|
+
UPDATE_ROOM = "room:update"
|
12
|
+
CREATE_MESSAGE = "message:create"
|
13
|
+
CREATE_TYPING_EVENT = "room:typing_indicator:create"
|
14
|
+
SUBSCRIBE_PRESENCE = "presence:subscribe"
|
15
|
+
UPDATE_USER = "user:update"
|
16
|
+
GET_ROOM_MESSAGES = "room:messages:get"
|
17
|
+
GET_USER = "user:get"
|
18
|
+
GET_ROOM = "room:get"
|
19
|
+
GET_USER_ROOMS = "user:rooms:get"
|
20
20
|
|
21
21
|
VALID_PERMISSIONS = {
|
22
22
|
room: [
|
@@ -26,7 +26,7 @@ module Chatkit
|
|
26
26
|
REMOVE_ROOM_MEMBER,
|
27
27
|
DELETE_ROOM,
|
28
28
|
UPDATE_ROOM,
|
29
|
-
|
29
|
+
CREATE_MESSAGE,
|
30
30
|
CREATE_TYPING_EVENT,
|
31
31
|
GET_ROOM_MESSAGES,
|
32
32
|
],
|
@@ -38,7 +38,7 @@ module Chatkit
|
|
38
38
|
CREATE_ROOM,
|
39
39
|
DELETE_ROOM,
|
40
40
|
UPDATE_ROOM,
|
41
|
-
|
41
|
+
CREATE_MESSAGE,
|
42
42
|
CREATE_TYPING_EVENT,
|
43
43
|
SUBSCRIBE_PRESENCE,
|
44
44
|
UPDATE_USER,
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pusher-chatkit-server
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Pusher
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-09-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: pusher-platform
|