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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a218de800719597ce791597b7c4c184008cd68ea
4
- data.tar.gz: 8f1541271ac3fa6778a870db57e4442349e064b1
3
+ metadata.gz: 6bf778a953622dba5193d73da2d81403d220f442
4
+ data.tar.gz: 9c32084596d319ad82488d770bb1d567bc291290
5
5
  SHA512:
6
- metadata.gz: ca38ee4c7faa130bc04e7e450215ba4a9df966e2374898179fac259a5ab21f9f103ec89311daf148973d4c6325cc9b2e7e25f82a4753f8fda2515293fffd2c55
7
- data.tar.gz: a2cea3cd95a4579b6a24bcae2199163d5c0384b5ced40098dc9ce7729e8e2e213107a0612309ee2e020be252d7b6c8a0ccc88c992f10bf693fb6ed2bed666542
6
+ metadata.gz: 0db93c5c6535574ab2afa935f79a05772e0d64322d2ee0e3ffc39850f39139194501a7553821a6929b097f4c88d5764ec52cb83d568dbc02a8a5dd580d865d40
7
+ data.tar.gz: f34928fbdd08801904b2a27fbdb97f5aaa40fe27a133c61749ec086ab280411ca6153541db83ee973a670b5b673531e4de6e53dda79c7fd017c9755829b2a70d
data/CHANGELOG.txt CHANGED
@@ -1,3 +1,6 @@
1
+ 3.7.11 Release
2
+ . Fixed message decoding for history
3
+
1
4
  3.7.10 Release
2
5
  . Updated publish URI
3
6
  . Fixed value returned by Event#start_event. Thanks @ramshenai
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- pubnub (3.7.9)
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.7)
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.10.6
60
+ 1.12.5
data/VERSION CHANGED
@@ -1 +1 @@
1
- 3.7.10
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,
@@ -1,3 +1,3 @@
1
1
  module Pubnub
2
- VERSION = '3.7.10'
2
+ VERSION = '3.7.11'
3
3
  end
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.10
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-01-08 00:00:00.000000000 Z
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.0.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: