pubnub 4.0.6 → 4.0.7
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of pubnub might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/.pubnub.yml +91 -3
- data/CHANGELOG.md +3 -0
- data/Gemfile.lock +1 -1
- data/VERSION +1 -1
- data/lib/pubnub/events/history.rb +5 -0
- data/lib/pubnub/version.rb +1 -1
- 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: a8facecc325c2b5dce54550f89cc6426e4d1d2d9
|
4
|
+
data.tar.gz: 5364c4a5c7ec02f24ad5c6388ba3d9fdefd624fa
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 16bb1774303a4540567a25d491477e7d0f3af02e62607a470780197ec1c4eab5d319fb0bfe5f04417b63836ca599f67bcab679b0bd6d0a61b6c2dc3678cb4c04
|
7
|
+
data.tar.gz: bb7b1fa9e0f6ec6fa38eb0cd8d40e1907d8b0a97d42102b488bff23da5e956adad9cd2584d1a3439eacb75bc45d4a869849136a3f10ffe103d7f408c4a394195
|
data/.pubnub.yml
CHANGED
@@ -1,4 +1,92 @@
|
|
1
|
+
---
|
2
|
+
changelog:
|
3
|
+
-
|
4
|
+
changes:
|
5
|
+
-
|
6
|
+
text: "channel and channels are the same argument."
|
7
|
+
type: improvement
|
8
|
+
-
|
9
|
+
text: "channel_group and channel_groups are the same argument."
|
10
|
+
type: improvement
|
11
|
+
-
|
12
|
+
text: "added `with_presence` flag for subscribe, default false."
|
13
|
+
type: improvement
|
14
|
+
date: ~
|
15
|
+
version: v4.0.6
|
16
|
+
-
|
17
|
+
changes:
|
18
|
+
-
|
19
|
+
text: "Required CGI."
|
20
|
+
type: improvement
|
21
|
+
version: v4.0.5
|
22
|
+
-
|
23
|
+
changes:
|
24
|
+
-
|
25
|
+
text: Added
|
26
|
+
type: feature
|
27
|
+
version: v4.0.2
|
28
|
+
-
|
29
|
+
changes:
|
30
|
+
-
|
31
|
+
text: "Updated dry-validation and EnvelopeSchema."
|
32
|
+
type: improvement
|
33
|
+
version: v4.0.1
|
34
|
+
-
|
35
|
+
changes:
|
36
|
+
-
|
37
|
+
text: "Removed auth_key and uuid setters (#set_auth_key,"
|
38
|
+
type: feature
|
39
|
+
-
|
40
|
+
text: Added
|
41
|
+
type: improvement
|
42
|
+
version: v4.0.0
|
43
|
+
-
|
44
|
+
changes:
|
45
|
+
-
|
46
|
+
text: "Restored auth_key and uuid setters. Important notice: they will be removed"
|
47
|
+
type: improvement
|
48
|
+
version: v3.8.3
|
49
|
+
-
|
50
|
+
changes:
|
51
|
+
-
|
52
|
+
text: "Added :include_token parameter to history call."
|
53
|
+
type: feature
|
54
|
+
version: v3.8.2
|
55
|
+
-
|
56
|
+
changes:
|
57
|
+
-
|
58
|
+
text: "Updated celluloid dependency."
|
59
|
+
type: improvement
|
60
|
+
version: v3.8.1
|
61
|
+
-
|
62
|
+
changes:
|
63
|
+
-
|
64
|
+
text: "Release of celluloid version of pubnub gem. It's complete rewrite but public API doesn't change."
|
65
|
+
type: improvement
|
66
|
+
version: v3.8.0
|
67
|
+
features:
|
68
|
+
access:
|
69
|
+
- GRANT
|
70
|
+
- AUDIT
|
71
|
+
channel-groups:
|
72
|
+
- ADD-CHANNELS
|
73
|
+
- REMOVE-CHANNELS
|
74
|
+
- LIST-GROUPS
|
75
|
+
- LIST-CHANNELS-IN-GROUP
|
76
|
+
presence:
|
77
|
+
- HERE-NOW
|
78
|
+
- WHERE-NOW
|
79
|
+
- SET-STATE
|
80
|
+
- GET-STATE
|
81
|
+
- HEARTBEAT
|
82
|
+
publish:
|
83
|
+
- STORE-FLAG
|
84
|
+
push:
|
85
|
+
- ADD-DEVICE-TO-CHANNELS
|
86
|
+
- REMOVE-DEVICE-FROM-CHANNELS
|
87
|
+
- LIST-CHANNELS-FROM-DEVICE
|
88
|
+
- REMOVE-DEVICE
|
1
89
|
name: ruby
|
2
|
-
|
3
|
-
|
4
|
-
|
90
|
+
schema: 1
|
91
|
+
scm: github.com/pubnub/ruby
|
92
|
+
version: "4.0.6"
|
data/CHANGELOG.md
CHANGED
data/Gemfile.lock
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
4.0.
|
1
|
+
4.0.7
|
@@ -66,6 +66,11 @@ module Pubnub
|
|
66
66
|
def valid_envelope(parsed_response, req_res_objects)
|
67
67
|
messages = parsed_response[0]
|
68
68
|
|
69
|
+
if @app.env[:cipher_key] && messages
|
70
|
+
crypto = Crypto.new(@app.env[:cipher_key])
|
71
|
+
messages = messages.map { |message| crypto.decrypt(message) }
|
72
|
+
end
|
73
|
+
|
69
74
|
start = parsed_response[1]
|
70
75
|
finish = parsed_response[2]
|
71
76
|
|
data/lib/pubnub/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pubnub
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.0.
|
4
|
+
version: 4.0.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- PubNub
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-08-
|
11
|
+
date: 2016-08-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: celluloid
|