pubnub 4.1.2 → 4.1.6
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 +5 -5
- data/.pubnub.yml +23 -11
- data/.rubocop.yml +3 -1
- data/.travis.yml +3 -2
- data/CHANGELOG.md +7 -0
- data/Gemfile.lock +74 -68
- data/README.md +1 -1
- data/VERSION +1 -2
- data/fixtures/vcr_cassettes/lib/events/signal-error.yml +40 -0
- data/fixtures/vcr_cassettes/lib/events/signal.yml +40 -0
- data/lib/pubnub/client/events.rb +1 -1
- data/lib/pubnub/client.rb +1 -0
- data/lib/pubnub/constants.rb +2 -1
- data/lib/pubnub/events/add_channels_to_push.rb +3 -2
- data/lib/pubnub/events/list_push_provisions.rb +2 -2
- data/lib/pubnub/events/remove_channels_from_push.rb +3 -2
- data/lib/pubnub/events/remove_device_from_push.rb +2 -2
- data/lib/pubnub/events/signal.rb +87 -0
- data/lib/pubnub/schemas/envelope_schema.rb +54 -27
- data/lib/pubnub/subscribe_callback.rb +2 -1
- data/lib/pubnub/subscribe_event/formatter.rb +5 -2
- data/lib/pubnub/subscriber.rb +2 -0
- data/lib/pubnub/validators/push.rb +5 -5
- data/lib/pubnub/validators/signal.rb +49 -0
- data/lib/pubnub/version.rb +1 -1
- data/pubnub.gemspec +6 -5
- data/spec/examples/audit_examples_spec.rb +1 -1
- data/spec/examples/grant_examples_spec.rb +1 -1
- data/spec/examples/presence_examples_spec.rb +12 -12
- data/spec/examples/publish_with_ttl_spec.rb +2 -2
- data/spec/examples/revoke_examples_spec.rb +1 -1
- data/spec/examples/subscribe_examples_spec.rb +1988 -1988
- data/spec/lib/custom_retries_examples_spec.rb +1 -1
- data/spec/lib/events/audit_spec.rb +7 -7
- data/spec/lib/events/channel_registration_spec.rb +3 -3
- data/spec/lib/events/delete_messages_spec.rb +2 -2
- data/spec/lib/events/grant_spec.rb +6 -6
- data/spec/lib/events/heartbeat_spec.rb +2 -2
- data/spec/lib/events/here_now_spec.rb +3 -3
- data/spec/lib/events/history_spec.rb +3 -3
- data/spec/lib/events/leave_spec.rb +2 -2
- data/spec/lib/events/presence_spec.rb +5 -5
- data/spec/lib/events/publish_spec.rb +2 -2
- data/spec/lib/events/revoke_spec.rb +5 -5
- data/spec/lib/events/signal_spec.rb +39 -0
- data/spec/lib/events/state_spec.rb +3 -3
- data/spec/lib/events/subscribe_spec.rb +12 -12
- data/spec/lib/events/time_spec.rb +2 -2
- data/spec/lib/events/timeout_handling_spec.rb +1 -1
- data/spec/lib/events/where_now_spec.rb +3 -3
- data/spec/lib/signatures_spec.rb +13 -13
- data/spec/lib/ssl_error_spec.rb +1 -1
- data/spec/lib/super_admin_spec.rb +1 -1
- data/spec/spec_expectations.rb +12 -1
- metadata +20 -15
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.1.
|
4
|
+
version: 4.1.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- PubNub
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-08-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: concurrent-ruby
|
@@ -16,42 +16,42 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 1.
|
19
|
+
version: 1.1.5
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 1.
|
26
|
+
version: 1.1.5
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: concurrent-ruby-edge
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
31
|
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: 0.
|
33
|
+
version: 0.5.0
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: 0.
|
40
|
+
version: 0.5.0
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: dry-validation
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
45
|
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: '0
|
47
|
+
version: '1.0'
|
48
48
|
type: :runtime
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
52
|
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version: '0
|
54
|
+
version: '1.0'
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: httpclient
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
@@ -78,7 +78,7 @@ dependencies:
|
|
78
78
|
requirements:
|
79
79
|
- - ">="
|
80
80
|
- !ruby/object:Gem::Version
|
81
|
-
version:
|
81
|
+
version: 2.2.0
|
82
82
|
- - "<"
|
83
83
|
- !ruby/object:Gem::Version
|
84
84
|
version: '3'
|
@@ -88,7 +88,7 @@ dependencies:
|
|
88
88
|
requirements:
|
89
89
|
- - ">="
|
90
90
|
- !ruby/object:Gem::Version
|
91
|
-
version:
|
91
|
+
version: 2.2.0
|
92
92
|
- - "<"
|
93
93
|
- !ruby/object:Gem::Version
|
94
94
|
version: '3'
|
@@ -98,14 +98,14 @@ dependencies:
|
|
98
98
|
requirements:
|
99
99
|
- - ">="
|
100
100
|
- !ruby/object:Gem::Version
|
101
|
-
version: 4.
|
101
|
+
version: 4.3.0
|
102
102
|
type: :runtime
|
103
103
|
prerelease: false
|
104
104
|
version_requirements: !ruby/object:Gem::Requirement
|
105
105
|
requirements:
|
106
106
|
- - ">="
|
107
107
|
- !ruby/object:Gem::Version
|
108
|
-
version: 4.
|
108
|
+
version: 4.3.0
|
109
109
|
- !ruby/object:Gem::Dependency
|
110
110
|
name: bundler
|
111
111
|
requirement: !ruby/object:Gem::Requirement
|
@@ -10506,6 +10506,8 @@ files:
|
|
10506
10506
|
- fixtures/vcr_cassettes/lib/events/publish.yml
|
10507
10507
|
- fixtures/vcr_cassettes/lib/events/revoke-error.yml
|
10508
10508
|
- fixtures/vcr_cassettes/lib/events/revoke.yml
|
10509
|
+
- fixtures/vcr_cassettes/lib/events/signal-error.yml
|
10510
|
+
- fixtures/vcr_cassettes/lib/events/signal.yml
|
10509
10511
|
- fixtures/vcr_cassettes/lib/events/state-error.yml
|
10510
10512
|
- fixtures/vcr_cassettes/lib/events/state.yml
|
10511
10513
|
- fixtures/vcr_cassettes/lib/events/subscribe-async-error.yml
|
@@ -10587,6 +10589,7 @@ files:
|
|
10587
10589
|
- lib/pubnub/events/remove_device_from_push.rb
|
10588
10590
|
- lib/pubnub/events/revoke.rb
|
10589
10591
|
- lib/pubnub/events/set_state.rb
|
10592
|
+
- lib/pubnub/events/signal.rb
|
10590
10593
|
- lib/pubnub/events/state.rb
|
10591
10594
|
- lib/pubnub/events/subscribe.rb
|
10592
10595
|
- lib/pubnub/events/time.rb
|
@@ -10624,6 +10627,7 @@ files:
|
|
10624
10627
|
- lib/pubnub/validators/push.rb
|
10625
10628
|
- lib/pubnub/validators/revoke.rb
|
10626
10629
|
- lib/pubnub/validators/set_state.rb
|
10630
|
+
- lib/pubnub/validators/signal.rb
|
10627
10631
|
- lib/pubnub/validators/state.rb
|
10628
10632
|
- lib/pubnub/validators/subscribe.rb
|
10629
10633
|
- lib/pubnub/validators/time.rb
|
@@ -10665,6 +10669,7 @@ files:
|
|
10665
10669
|
- spec/lib/events/presence_spec.rb
|
10666
10670
|
- spec/lib/events/publish_spec.rb
|
10667
10671
|
- spec/lib/events/revoke_spec.rb
|
10672
|
+
- spec/lib/events/signal_spec.rb
|
10668
10673
|
- spec/lib/events/state_spec.rb
|
10669
10674
|
- spec/lib/events/subscribe_spec.rb
|
10670
10675
|
- spec/lib/events/time_spec.rb
|
@@ -10691,15 +10696,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
10691
10696
|
requirements:
|
10692
10697
|
- - ">="
|
10693
10698
|
- !ruby/object:Gem::Version
|
10694
|
-
version: '
|
10699
|
+
version: '2.4'
|
10695
10700
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
10696
10701
|
requirements:
|
10697
10702
|
- - ">="
|
10698
10703
|
- !ruby/object:Gem::Version
|
10699
10704
|
version: '0'
|
10700
10705
|
requirements: []
|
10701
|
-
|
10702
|
-
rubygems_version: 2.2.2
|
10706
|
+
rubygems_version: 3.0.1
|
10703
10707
|
signing_key:
|
10704
10708
|
specification_version: 4
|
10705
10709
|
summary: PubNub Official Ruby gem.
|
@@ -10739,6 +10743,7 @@ test_files:
|
|
10739
10743
|
- spec/lib/events/presence_spec.rb
|
10740
10744
|
- spec/lib/events/publish_spec.rb
|
10741
10745
|
- spec/lib/events/revoke_spec.rb
|
10746
|
+
- spec/lib/events/signal_spec.rb
|
10742
10747
|
- spec/lib/events/state_spec.rb
|
10743
10748
|
- spec/lib/events/subscribe_spec.rb
|
10744
10749
|
- spec/lib/events/time_spec.rb
|