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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/chatkit/permissions.rb +17 -17
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 39d00e64807f8797dac5042a02ad1220cca6ae57
4
- data.tar.gz: 8f3d02cc7dd79e0fa4f5eafe45418fcb2db5b9b9
3
+ metadata.gz: 0a3d59d1ac982cb2e34d35c9ec4833351660bd09
4
+ data.tar.gz: de7e9d315104d0ba513bdbc38b0f11f54be4e860
5
5
  SHA512:
6
- metadata.gz: ef7029a8b9259ed8aeee7d81690dd7a57560c5aef2bfc71946a1433582ad75348beac2b40f3fbbd0a445e90201ac88413886b2191f1e2f7933a26be3eee4cd45
7
- data.tar.gz: 2fa2f7bb255c86621065c8690430d709b6c65bf57464b87546c6be2d8207448436fe4ed26c35206e68b1f9178d64e11c8fb7ac96a1f7aaac033245883240b01d
6
+ metadata.gz: 57c502cc53a94b8724940d5741523f1eeed64b176dc4d24580ceb9fbac59d8c1a61db0862e6c8a23537f5dc1e6c876d1517628ccf3bf228019de0453a8e821c6
7
+ data.tar.gz: 8244c139605322ed18ff38bd58f9b9ccb7bec67645b8f9dca5c915b24ab2de0dfd854d3cb67bbaf4a59b69b2c18286128ba40ef609d68c5d76ee04b7d2d79ecf
@@ -2,21 +2,21 @@ module Chatkit
2
2
  ROOM_SCOPE = "room"
3
3
  GLOBAL_SCOPE = "global"
4
4
 
5
- JOIN_ROOM = "join_room"
6
- LEAVE_ROOM = "leave_room"
7
- ADD_ROOM_MEMBER = "add_room_member"
8
- REMOVE_ROOM_MEMBER = "remove_room_member"
9
- CREATE_ROOM = "create_room"
10
- DELETE_ROOM = "delete_room"
11
- UPDATE_ROOM = "update_room"
12
- ADD_MESSAGE = "add_message"
13
- CREATE_TYPING_EVENT = "create_typing_event"
14
- SUBSCRIBE_PRESENCE = "subscribe_presence"
15
- UPDATE_USER = "update_user"
16
- GET_ROOM_MESSAGES = "get_room_messages"
17
- GET_USER = "get_user"
18
- GET_ROOM = "get_room"
19
- GET_USER_ROOMS = "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
- ADD_MESSAGE,
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
- ADD_MESSAGE,
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.0
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-08-31 00:00:00.000000000 Z
11
+ date: 2017-09-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: pusher-platform