pubnub 4.2.2 → 4.2.3
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 +12 -5
- data/CHANGELOG.md +105 -102
- data/Gemfile.lock +12 -12
- data/README.md +34 -34
- data/VERSION +1 -2
- data/lib/pubnub/subscribe_event.rb +2 -0
- data/lib/pubnub/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bbb5f3abc66e4deb1784b0a928d54108e80b3b38a1e0fa04988f05fc35515895
|
4
|
+
data.tar.gz: 7c10d370b696a222f3cb31f725579bed30f8be4dcc859be4d09b7963d7541da8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1e7e61974d05c6ef84340a60baf65a10ea0f81577fbf109aaf373a176bbb87a96773c6089aea6d449bfdcfd9023cd5f2b03d6835f5130c0dd8954f2fa9a17948
|
7
|
+
data.tar.gz: e0e31ac662f7c781eb4e822941554387d99aff1436f05b92800768bfec31b3c55a4d630d632f23a959d69f55be648b1ad7132e90814a0a2af1b405a2d0003c8f
|
data/.pubnub.yml
CHANGED
@@ -1,6 +1,13 @@
|
|
1
1
|
---
|
2
|
-
version: "4.2.
|
2
|
+
version: "4.2.3"
|
3
3
|
changelog:
|
4
|
+
-
|
5
|
+
changes:
|
6
|
+
-
|
7
|
+
text: "Resolved issue with subscribe loop where the connection was reinitiated after receiving a 4xx error code from the server"
|
8
|
+
type: bugfix
|
9
|
+
date: 14-02-2020
|
10
|
+
version: "4.2.3"
|
4
11
|
-
|
5
12
|
changes:
|
6
13
|
-
|
@@ -27,28 +34,28 @@ changelog:
|
|
27
34
|
-
|
28
35
|
text: "Added signal feature"
|
29
36
|
type: feature
|
30
|
-
date: 21-
|
37
|
+
date: 21-08-2019
|
31
38
|
version: "4.1.6"
|
32
39
|
-
|
33
40
|
changes:
|
34
41
|
-
|
35
42
|
text: "Updated dependencies"
|
36
43
|
type: improvement
|
37
|
-
date: 29-
|
44
|
+
date: 29-07-2019
|
38
45
|
version: "4.1.5"
|
39
46
|
-
|
40
47
|
changes:
|
41
48
|
-
|
42
49
|
text: "Added push API"
|
43
50
|
type: feature
|
44
|
-
date: 08-
|
51
|
+
date: 08-04-2019
|
45
52
|
version: "4.1.1"
|
46
53
|
-
|
47
54
|
changes:
|
48
55
|
-
|
49
56
|
text: "Added 'message_count' API endpoint"
|
50
57
|
type: feature
|
51
|
-
date: 28-
|
58
|
+
date: 28-02-2019
|
52
59
|
version: "4.1.0"
|
53
60
|
-
|
54
61
|
changes:
|
data/CHANGELOG.md
CHANGED
@@ -1,102 +1,105 @@
|
|
1
|
-
##### 4.2.
|
2
|
-
* Resolved issue with
|
3
|
-
|
4
|
-
##### 4.2.
|
5
|
-
*
|
6
|
-
|
7
|
-
##### 4.2.
|
8
|
-
*
|
9
|
-
|
10
|
-
##### 4.
|
11
|
-
* Added
|
12
|
-
|
13
|
-
##### 4.1.
|
14
|
-
*
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
*
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
*
|
23
|
-
|
24
|
-
##### 4.0.
|
25
|
-
* Added
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
*
|
30
|
-
|
31
|
-
##### 4.0.
|
32
|
-
* Fixed
|
33
|
-
|
34
|
-
##### 4.0.
|
35
|
-
* Fixed signature generation
|
36
|
-
|
37
|
-
##### 4.0.
|
38
|
-
*
|
39
|
-
|
40
|
-
##### 4.0.
|
41
|
-
*
|
42
|
-
|
43
|
-
##### 4.0.
|
44
|
-
* Fixed
|
45
|
-
|
46
|
-
##### 4.0.
|
47
|
-
* Fixed
|
48
|
-
|
49
|
-
##### 4.0.
|
50
|
-
*
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
* Added
|
55
|
-
|
56
|
-
##### 4.0.
|
57
|
-
* Added
|
58
|
-
|
59
|
-
##### 4.0.
|
60
|
-
*
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
*
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
* Updated
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
*
|
73
|
-
|
74
|
-
##### 4.0.
|
75
|
-
*
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
*
|
81
|
-
|
82
|
-
##### 4.0.
|
83
|
-
*
|
84
|
-
|
85
|
-
##### 4.0.
|
86
|
-
*
|
87
|
-
|
88
|
-
##### 4.0.
|
89
|
-
*
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
*
|
94
|
-
|
95
|
-
##### 3.8.
|
96
|
-
*
|
97
|
-
|
98
|
-
##### 3.8.
|
99
|
-
*
|
100
|
-
|
101
|
-
##### 3.8.
|
102
|
-
*
|
1
|
+
##### 4.2.3
|
2
|
+
* Resolved issue with subscribe loop where the connection was reinitiated after receiving a 4xx error code from the server
|
3
|
+
|
4
|
+
##### 4.2.2
|
5
|
+
* Resolved issue with multiple timetokens in message counts endpoint
|
6
|
+
|
7
|
+
##### 4.2.1
|
8
|
+
* Updated listener methods
|
9
|
+
|
10
|
+
##### 4.2.0
|
11
|
+
* Added objects feature
|
12
|
+
|
13
|
+
##### 4.1.6
|
14
|
+
* Added signal feature
|
15
|
+
|
16
|
+
##### 4.1.5
|
17
|
+
* Update dependency dry-validation
|
18
|
+
* Includes minimum Ruby version requirement of 2.4+
|
19
|
+
|
20
|
+
##### 4.0.28
|
21
|
+
* Added Concurrent-ruby Gem
|
22
|
+
* Removed Celluloid
|
23
|
+
|
24
|
+
##### 4.0.25
|
25
|
+
* Added Telemetry
|
26
|
+
|
27
|
+
##### 4.0.24
|
28
|
+
* Added #delete_messages method
|
29
|
+
* Improved timeout error handling (thanks @f1sherman)
|
30
|
+
|
31
|
+
##### 4.0.23
|
32
|
+
* Fixed HereNow envelope generation
|
33
|
+
|
34
|
+
##### 4.0.22
|
35
|
+
* Fixed signature generation and channel name escaping
|
36
|
+
|
37
|
+
##### 4.0.21
|
38
|
+
* Fixed signature generation
|
39
|
+
|
40
|
+
##### 4.0.20
|
41
|
+
* Allowing using multiple cipher keys
|
42
|
+
|
43
|
+
##### 4.0.19
|
44
|
+
* Fixed sync subscribe.
|
45
|
+
|
46
|
+
##### 4.0.16
|
47
|
+
* Fixed missing channel group parameter in Leave event
|
48
|
+
|
49
|
+
##### 4.0.15
|
50
|
+
* Fixed PAM signature when some special characters are present
|
51
|
+
|
52
|
+
##### 4.0.13
|
53
|
+
* Changed init message log level to debug
|
54
|
+
* Added ttl parameter for publish
|
55
|
+
|
56
|
+
##### 4.0.12
|
57
|
+
* Added alert on catchup failure (REQUEST_MESSAGE_COUNT_EXCEEDED)
|
58
|
+
|
59
|
+
##### 4.0.11
|
60
|
+
* Added super admin mode (Enabled when secret key is set on Pubnub::Client init)
|
61
|
+
|
62
|
+
##### 4.0.10
|
63
|
+
* Better single events timeout handling
|
64
|
+
* DRYed envelope formatting a bit
|
65
|
+
|
66
|
+
##### 4.0.9
|
67
|
+
* Removed json dependency
|
68
|
+
* Updated dependecies
|
69
|
+
|
70
|
+
##### 4.0.8
|
71
|
+
* Updated dry-validation
|
72
|
+
* Dropped support for ruby 2.0
|
73
|
+
|
74
|
+
##### 4.0.7
|
75
|
+
* Added message decrypting in history
|
76
|
+
|
77
|
+
##### 4.0.6
|
78
|
+
* channel and channels are the same argument
|
79
|
+
* channel_group and channel_groups are the same argument
|
80
|
+
* added `with_presence` flag for subscibe, default false.
|
81
|
+
|
82
|
+
##### 4.0.5
|
83
|
+
* Required CGI
|
84
|
+
|
85
|
+
##### 4.0.2
|
86
|
+
* Added #subscribe_filter for client
|
87
|
+
|
88
|
+
##### 4.0.1
|
89
|
+
* Updated dry-validation and EnvelopeSchema
|
90
|
+
|
91
|
+
##### 4.0.0
|
92
|
+
* Removed auth_key and uuid setters (#set_auth_key, #auth_key=, #set_uuid, #uuid=)
|
93
|
+
* Added #subscribed_to, #current_region, #region=, #current_heartbeat
|
94
|
+
|
95
|
+
##### 3.8.3
|
96
|
+
* Restored auth_key and uuid setters. Important notice: they will be removed in v4 of this library.
|
97
|
+
|
98
|
+
##### 3.8.2
|
99
|
+
* Added :include_token parameter to history call.
|
100
|
+
|
101
|
+
##### 3.8.1
|
102
|
+
* Updated celluloid dependency.
|
103
|
+
|
104
|
+
##### 3.8.0
|
105
|
+
* Release of celluloid version of pubnub gem. It's complete rewrite but public API doesn't change.
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
pubnub (4.2.
|
4
|
+
pubnub (4.2.3)
|
5
5
|
concurrent-ruby (~> 1.1.5)
|
6
6
|
concurrent-ruby-edge (~> 0.5.0)
|
7
7
|
dry-validation (~> 1.0)
|
@@ -29,37 +29,37 @@ GEM
|
|
29
29
|
debug_inspector (0.0.3)
|
30
30
|
diff-lcs (1.3)
|
31
31
|
docile (1.3.2)
|
32
|
-
dry-configurable (0.
|
32
|
+
dry-configurable (0.9.0)
|
33
33
|
concurrent-ruby (~> 1.0)
|
34
34
|
dry-core (~> 0.4, >= 0.4.7)
|
35
35
|
dry-container (0.7.2)
|
36
36
|
concurrent-ruby (~> 1.0)
|
37
37
|
dry-configurable (~> 0.1, >= 0.1.3)
|
38
|
-
dry-core (0.4.
|
38
|
+
dry-core (0.4.9)
|
39
39
|
concurrent-ruby (~> 1.0)
|
40
|
-
dry-equalizer (0.
|
41
|
-
dry-inflector (0.
|
42
|
-
dry-initializer (3.0.
|
43
|
-
dry-logic (1.0.
|
40
|
+
dry-equalizer (0.3.0)
|
41
|
+
dry-inflector (0.2.0)
|
42
|
+
dry-initializer (3.0.2)
|
43
|
+
dry-logic (1.0.5)
|
44
44
|
concurrent-ruby (~> 1.0)
|
45
45
|
dry-core (~> 0.2)
|
46
46
|
dry-equalizer (~> 0.2)
|
47
|
-
dry-schema (1.
|
47
|
+
dry-schema (1.4.1)
|
48
48
|
concurrent-ruby (~> 1.0)
|
49
49
|
dry-configurable (~> 0.8, >= 0.8.3)
|
50
50
|
dry-core (~> 0.4)
|
51
51
|
dry-equalizer (~> 0.2)
|
52
52
|
dry-initializer (~> 3.0)
|
53
53
|
dry-logic (~> 1.0)
|
54
|
-
dry-types (~> 1.
|
55
|
-
dry-types (1.1
|
54
|
+
dry-types (~> 1.2)
|
55
|
+
dry-types (1.2.1)
|
56
56
|
concurrent-ruby (~> 1.0)
|
57
57
|
dry-container (~> 0.3)
|
58
58
|
dry-core (~> 0.4, >= 0.4.4)
|
59
59
|
dry-equalizer (~> 0.2, >= 0.2.2)
|
60
60
|
dry-inflector (~> 0.1, >= 0.1.2)
|
61
61
|
dry-logic (~> 1.0, >= 1.0.2)
|
62
|
-
dry-validation (1.
|
62
|
+
dry-validation (1.3.1)
|
63
63
|
concurrent-ruby (~> 1.0)
|
64
64
|
dry-container (~> 0.7, >= 0.7.1)
|
65
65
|
dry-core (~> 0.4)
|
@@ -155,4 +155,4 @@ DEPENDENCIES
|
|
155
155
|
webmock
|
156
156
|
|
157
157
|
BUNDLED WITH
|
158
|
-
|
158
|
+
2.0.2
|
data/README.md
CHANGED
@@ -1,34 +1,34 @@
|
|
1
|
-
[![Codacy Badge](https://api.codacy.com/project/badge/Grade/b744287bb0324e2883f95525b12cf19f)](https://www.codacy.com/app/blazeroot/ruby?utm_source=github.com&utm_medium=referral&utm_content=pubnub/ruby&utm_campaign=badger)
|
2
|
-
[![Codacy Badge](https://api.codacy.com/project/badge/Coverage/b744287bb0324e2883f95525b12cf19f)](https://www.codacy.com/app/blazeroot/ruby?utm_source=github.com&utm_medium=referral&utm_content=pubnub/ruby&utm_campaign=Badge_Coverage)
|
3
|
-
[![Build Status](https://travis-ci.org/pubnub/ruby.svg?branch=master)](https://travis-ci.org/pubnub/ruby)
|
4
|
-
|
5
|
-
# Please direct all Support Questions and Concerns to Support@PubNub.com
|
6
|
-
|
7
|
-
# Complete Documentation
|
8
|
-
Available at https://www.pubnub.com/docs/ruby/pubnub-ruby-sdk-v4 **v4.x**
|
9
|
-
|
10
|
-
## PubNub Gem version 4.2.
|
11
|
-
|
12
|
-
##### YOU MUST HAVE A PUBNUB ACCOUNT TO USE THE API.
|
13
|
-
##### http://www.pubnub.com/account
|
14
|
-
|
15
|
-
www.pubnub.com - PubNub Real-time Push Service in the Cloud.
|
16
|
-
|
17
|
-
|
18
|
-
The PubNub Network is a blazingly fast Global Messaging Service for building real-time web and mobile apps. Thousands of apps and developers rely on PubNub for delivering human-perceptive real-time experiences that scale to millions of users worldwide. PubNub delivers the infrastructure needed to build amazing Mobile, MMO games, social apps, business collaborative solutions, and more.
|
19
|
-
|
20
|
-
### Upgrading from PubNub 3.6.x / 3.7.x
|
21
|
-
|
22
|
-
Main change is that we're no longer using EventMachine. Right now Celluloid is used. Public API remain unchanged.
|
23
|
-
If you encounter any issues while upgrading from EventMachine version, please contact us at support@pubnub.com you can also find eventmachine version in "eventmachine" branch of this repo.
|
24
|
-
|
25
|
-
### Upgrading from PubNub 3.5.x
|
26
|
-
|
27
|
-
We've made the response format compatible across all operations. This may break existing parsing of where_now, leave, state, and PAM responses. So if you are monitoring these operation responses, please be sure to modify your code accordingly.
|
28
|
-
|
29
|
-
Examples of affected operations can be found [here](3.5_to_3.6_upgrade_notes.md).
|
30
|
-
|
31
|
-
### Upgrading from PubNub 3.3.x and Earlier
|
32
|
-
PubNub 3.7.3 is NOT compatible with earlier than 3.4 versions of Pubnub Ruby Client.
|
33
|
-
|
34
|
-
# Please direct all Support Questions and Concerns to Support@PubNub.com
|
1
|
+
[![Codacy Badge](https://api.codacy.com/project/badge/Grade/b744287bb0324e2883f95525b12cf19f)](https://www.codacy.com/app/blazeroot/ruby?utm_source=github.com&utm_medium=referral&utm_content=pubnub/ruby&utm_campaign=badger)
|
2
|
+
[![Codacy Badge](https://api.codacy.com/project/badge/Coverage/b744287bb0324e2883f95525b12cf19f)](https://www.codacy.com/app/blazeroot/ruby?utm_source=github.com&utm_medium=referral&utm_content=pubnub/ruby&utm_campaign=Badge_Coverage)
|
3
|
+
[![Build Status](https://travis-ci.org/pubnub/ruby.svg?branch=master)](https://travis-ci.org/pubnub/ruby)
|
4
|
+
|
5
|
+
# Please direct all Support Questions and Concerns to Support@PubNub.com
|
6
|
+
|
7
|
+
# Complete Documentation
|
8
|
+
Available at https://www.pubnub.com/docs/ruby/pubnub-ruby-sdk-v4 **v4.x**
|
9
|
+
|
10
|
+
## PubNub Gem version 4.2.3
|
11
|
+
|
12
|
+
##### YOU MUST HAVE A PUBNUB ACCOUNT TO USE THE API.
|
13
|
+
##### http://www.pubnub.com/account
|
14
|
+
|
15
|
+
www.pubnub.com - PubNub Real-time Push Service in the Cloud.
|
16
|
+
|
17
|
+
|
18
|
+
The PubNub Network is a blazingly fast Global Messaging Service for building real-time web and mobile apps. Thousands of apps and developers rely on PubNub for delivering human-perceptive real-time experiences that scale to millions of users worldwide. PubNub delivers the infrastructure needed to build amazing Mobile, MMO games, social apps, business collaborative solutions, and more.
|
19
|
+
|
20
|
+
### Upgrading from PubNub 3.6.x / 3.7.x
|
21
|
+
|
22
|
+
Main change is that we're no longer using EventMachine. Right now Celluloid is used. Public API remain unchanged.
|
23
|
+
If you encounter any issues while upgrading from EventMachine version, please contact us at support@pubnub.com you can also find eventmachine version in "eventmachine" branch of this repo.
|
24
|
+
|
25
|
+
### Upgrading from PubNub 3.5.x
|
26
|
+
|
27
|
+
We've made the response format compatible across all operations. This may break existing parsing of where_now, leave, state, and PAM responses. So if you are monitoring these operation responses, please be sure to modify your code accordingly.
|
28
|
+
|
29
|
+
Examples of affected operations can be found [here](3.5_to_3.6_upgrade_notes.md).
|
30
|
+
|
31
|
+
### Upgrading from PubNub 3.3.x and Earlier
|
32
|
+
PubNub 3.7.3 is NOT compatible with earlier than 3.4 versions of Pubnub Ruby Client.
|
33
|
+
|
34
|
+
# Please direct all Support Questions and Concerns to Support@PubNub.com
|
data/VERSION
CHANGED
@@ -1,2 +1 @@
|
|
1
|
-
4.2.
|
2
|
-
|
1
|
+
4.2.3
|
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.2.
|
4
|
+
version: 4.2.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- PubNub
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2020-02-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: concurrent-ruby
|