pubnub 3.7.10 → 3.7.11
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/CHANGELOG.txt +3 -0
- data/Gemfile.lock +3 -3
- data/VERSION +1 -1
- data/lib/pubnub/events/history.rb +7 -0
- data/lib/pubnub/version.rb +1 -1
- metadata +3 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6bf778a953622dba5193d73da2d81403d220f442
|
4
|
+
data.tar.gz: 9c32084596d319ad82488d770bb1d567bc291290
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0db93c5c6535574ab2afa935f79a05772e0d64322d2ee0e3ffc39850f39139194501a7553821a6929b097f4c88d5764ec52cb83d568dbc02a8a5dd580d865d40
|
7
|
+
data.tar.gz: f34928fbdd08801904b2a27fbdb97f5aaa40fe27a133c61749ec086ab280411ca6153541db83ee973a670b5b673531e4de6e53dda79c7fd017c9755829b2a70d
|
data/CHANGELOG.txt
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
pubnub (3.7.
|
4
|
+
pubnub (3.7.10)
|
5
5
|
eventmachine (~> 1.0)
|
6
6
|
json (~> 1.8)
|
7
7
|
net-http-persistent (~> 2.9)
|
@@ -15,7 +15,7 @@ GEM
|
|
15
15
|
crack (0.4.2)
|
16
16
|
safe_yaml (~> 1.0.0)
|
17
17
|
diff-lcs (1.2.5)
|
18
|
-
eventmachine (1.0.
|
18
|
+
eventmachine (1.2.0.1)
|
19
19
|
json (1.8.3)
|
20
20
|
memory_profiler (0.0.4)
|
21
21
|
method_source (0.8.2)
|
@@ -57,4 +57,4 @@ DEPENDENCIES
|
|
57
57
|
webmock
|
58
58
|
|
59
59
|
BUNDLED WITH
|
60
|
-
1.
|
60
|
+
1.12.5
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.7.
|
1
|
+
3.7.11
|
@@ -85,7 +85,14 @@ module Pubnub
|
|
85
85
|
app
|
86
86
|
)
|
87
87
|
else
|
88
|
+
crypto = Pubnub::Crypto.new(app.env[:cipher_key]) if app.env[:cipher_key]
|
89
|
+
|
88
90
|
parsed_response.first.each do |message|
|
91
|
+
|
92
|
+
if crypto && message
|
93
|
+
message = crypto.decrypt(message)
|
94
|
+
end
|
95
|
+
|
89
96
|
envelopes << Envelope.new(
|
90
97
|
{
|
91
98
|
:message => message,
|
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: 3.7.
|
4
|
+
version: 3.7.11
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- PubNub
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-08-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: eventmachine
|
@@ -807,7 +807,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
807
807
|
version: '0'
|
808
808
|
requirements: []
|
809
809
|
rubyforge_project:
|
810
|
-
rubygems_version: 2.
|
810
|
+
rubygems_version: 2.2.5
|
811
811
|
signing_key:
|
812
812
|
specification_version: 4
|
813
813
|
summary: PubNub Official Ruby gem.
|
@@ -854,4 +854,3 @@ test_files:
|
|
854
854
|
- spec/lib/retry_logic_spec.rb
|
855
855
|
- spec/lib/subscribe_event.rb
|
856
856
|
- spec/spec_helper.rb
|
857
|
-
has_rdoc:
|