pubnub 3.7.0 → 3.7.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
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 +2 -0
- data/Gemfile.lock +7 -3
- data/README.md +3 -3
- data/lib/pubnub.rb +2 -0
- data/lib/pubnub/client.rb +32 -32
- data/lib/pubnub/crypto.rb +5 -5
- data/lib/pubnub/event.rb +70 -60
- data/lib/pubnub/events/here_now.rb +1 -1
- data/lib/pubnub/events/leave.rb +4 -4
- data/lib/pubnub/events/publish.rb +2 -2
- data/lib/pubnub/exceptions.rb +2 -2
- data/lib/pubnub/version.rb +1 -1
- data/spec/lib/channel_presence_concat_pam_spec.rb +2 -2
- data/spec/lib/eof_error_spec.rb +2 -2
- data/spec/lib/integration/audit_dpc_spec.rb +2 -2
- data/spec/lib/integration/audit_spec.rb +2 -2
- data/spec/lib/integration/global_here_now_dpc_spec.rb +2 -2
- data/spec/lib/integration/global_here_now_spec.rb +2 -2
- data/spec/lib/integration/grant_dpc_spec.rb +2 -2
- data/spec/lib/integration/grant_spec.rb +2 -2
- data/spec/lib/integration/here_now_dpc_spec.rb +2 -2
- data/spec/lib/integration/here_now_spec.rb +2 -2
- data/spec/lib/integration/history_dpc_spec.rb +2 -2
- data/spec/lib/integration/history_spec.rb +2 -2
- data/spec/lib/integration/leave_dpc_spec.rb +2 -2
- data/spec/lib/integration/leave_spec.rb +2 -2
- data/spec/lib/integration/presence_dpc_spec.rb +2 -2
- data/spec/lib/integration/presence_spec.rb +2 -2
- data/spec/lib/integration/publish_spec_old.rb +2 -2
- data/spec/lib/integration/revoke_dpc_spec.rb +2 -2
- data/spec/lib/integration/revoke_spec.rb +2 -2
- data/spec/lib/integration/state_spec.rb +2 -2
- data/spec/lib/integration/subscribe_dpc_spec.rb +2 -2
- data/spec/lib/integration/subscribe_spec.rb +2 -2
- data/spec/lib/integration/time_dpc_spec.rb +2 -2
- data/spec/lib/integration/time_spec.rb +2 -2
- data/spec/lib/integration/v3_presence_dpc_spec.rb +2 -2
- data/spec/lib/integration/v3_presence_spec.rb +2 -2
- data/spec/lib/integration/where_now_spec.rb +2 -2
- metadata +2 -2
@@ -11,14 +11,14 @@ describe "#time" do
|
|
11
11
|
@message_output = StringIO.new
|
12
12
|
|
13
13
|
@callback = lambda { |envelope|
|
14
|
-
|
14
|
+
Pubnub.logger.debug 'FIRING CALLBACK FROM TEST'
|
15
15
|
@response_output.write envelope.response
|
16
16
|
@message_output.write envelope.msg
|
17
17
|
@after_callback = true
|
18
18
|
}
|
19
19
|
|
20
20
|
@error_callback = lambda { |envelope|
|
21
|
-
|
21
|
+
Pubnub.logger.debug 'FIRING ERROR CALLBACK FROM TEST'
|
22
22
|
@response_output.write envelope.response
|
23
23
|
@message_output.write envelope.msg
|
24
24
|
@after_error_callback = true
|
@@ -11,14 +11,14 @@ describe "#time" do
|
|
11
11
|
@message_output = StringIO.new
|
12
12
|
|
13
13
|
@callback = lambda { |envelope|
|
14
|
-
|
14
|
+
Pubnub.logger.debug 'FIRING CALLBACK FROM TEST'
|
15
15
|
@response_output.write envelope.response
|
16
16
|
@message_output.write envelope.msg
|
17
17
|
@after_callback = true
|
18
18
|
}
|
19
19
|
|
20
20
|
@error_callback = lambda { |envelope|
|
21
|
-
|
21
|
+
Pubnub.logger.debug 'FIRING ERROR CALLBACK FROM TEST'
|
22
22
|
@response_output.write envelope.response
|
23
23
|
@message_output.write envelope.msg
|
24
24
|
@after_error_callback = true
|
@@ -11,14 +11,14 @@ describe "#presence" do
|
|
11
11
|
@message_output = StringIO.new
|
12
12
|
|
13
13
|
@callback = lambda { |envelope|
|
14
|
-
|
14
|
+
Pubnub.logger.debug 'FIRING CALLBACK FROM TEST'
|
15
15
|
@response_output.write envelope.response
|
16
16
|
@message_output.write envelope.msg
|
17
17
|
@after_callback = true
|
18
18
|
}
|
19
19
|
|
20
20
|
@error_callback = lambda { |envelope|
|
21
|
-
|
21
|
+
Pubnub.logger.debug 'FIRING ERROR CALLBACK FROM TEST'
|
22
22
|
@response_output.write envelope.response
|
23
23
|
@message_output.write envelope.msg
|
24
24
|
@after_error_callback = true
|
@@ -11,14 +11,14 @@ describe "#presence" do
|
|
11
11
|
@message_output = StringIO.new
|
12
12
|
|
13
13
|
@callback = lambda { |envelope|
|
14
|
-
|
14
|
+
Pubnub.logger.debug 'FIRING CALLBACK FROM TEST'
|
15
15
|
@response_output.write envelope.response
|
16
16
|
@message_output.write envelope.msg
|
17
17
|
@after_callback = true
|
18
18
|
}
|
19
19
|
|
20
20
|
@error_callback = lambda { |envelope|
|
21
|
-
|
21
|
+
Pubnub.logger.debug 'FIRING ERROR CALLBACK FROM TEST'
|
22
22
|
@response_output.write envelope.response
|
23
23
|
@message_output.write envelope.msg
|
24
24
|
@after_error_callback = true
|
@@ -10,14 +10,14 @@ describe '#where_now' do
|
|
10
10
|
@message_output = StringIO.new
|
11
11
|
|
12
12
|
@callback = lambda { |envelope|
|
13
|
-
|
13
|
+
Pubnub.logger.debug 'FIRING CALLBACK FROM TEST'
|
14
14
|
@response_output.write envelope.response
|
15
15
|
@message_output.write envelope.msg
|
16
16
|
@after_callback = true
|
17
17
|
}
|
18
18
|
|
19
19
|
@error_callback = lambda { |envelope|
|
20
|
-
|
20
|
+
Pubnub.logger.debug 'FIRING ERROR CALLBACK FROM TEST'
|
21
21
|
@response_output.write envelope.response
|
22
22
|
@message_output.write envelope.msg
|
23
23
|
@after_error_callback = true
|
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.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- PubNub
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-03-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: eventmachine
|