pubnub 6.0.1 → 6.0.2
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.
- checksums.yaml +4 -4
- data/.bundle/config +1 -1
- data/.pubnub.yml +11 -4
- data/CHANGELOG.md +42 -35
- data/Gemfile.lock +1 -1
- data/VERSION +1 -1
- data/lib/pubnub/events/heartbeat.rb +2 -2
- data/lib/pubnub/subscribe_event.rb +2 -2
- 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: daa6325913f4e4fa3b9a42a89dcb268ec8b9174ca7c30d1b26e0b94bb4e8d3c3
|
|
4
|
+
data.tar.gz: e8cdc5e228388108d80cc51daa58e7a0a08d71aa69f51ae206fbcfe020aa7433
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 3a2c68e75729803cd99a560b82b4974929a8e10d8b8c2845c4146655055c9505ea606b58427eb631860fdded94a8df7b16f36b35617ac59e2c5dbb50ed8d46da
|
|
7
|
+
data.tar.gz: 8cb3e679e395a59214da0a21233ae080097a4600a6351644a59021e80dff85f9fb86e22a6b784d7c00092ed3944d80d7cbb89276842becc0df998a7e15d8bbf3
|
data/.bundle/config
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
---
|
|
2
|
-
BUNDLE_WITHOUT: "development"
|
|
2
|
+
BUNDLE_WITHOUT: "'development'"
|
data/.pubnub.yml
CHANGED
|
@@ -1,6 +1,13 @@
|
|
|
1
1
|
---
|
|
2
|
-
version: "6.0.
|
|
2
|
+
version: "6.0.2"
|
|
3
3
|
changelog:
|
|
4
|
+
- date: 2026-03-03
|
|
5
|
+
version: v6.0.2
|
|
6
|
+
changes:
|
|
7
|
+
- type: improvement
|
|
8
|
+
text: "Add `.uniq` calls when building subscribe URL path and channel-group query parameter to prevent duplicate channels and channel groups from leaking into HTTP requests."
|
|
9
|
+
- type: improvement
|
|
10
|
+
text: "Add `.uniq` calls when building heartbeat URL path and channel-group query parameter to prevent duplicate channels and channel groups from leaking into HTTP requests."
|
|
4
11
|
- date: 2025-11-04
|
|
5
12
|
version: v6.0.1
|
|
6
13
|
changes:
|
|
@@ -627,7 +634,7 @@ sdks:
|
|
|
627
634
|
- x86-64
|
|
628
635
|
- distribution-type: package
|
|
629
636
|
distribution-repository: RubyGems
|
|
630
|
-
package-name: pubnub-6.0.
|
|
637
|
+
package-name: pubnub-6.0.2.gem
|
|
631
638
|
location: https://rubygems.org/gems/pubnub
|
|
632
639
|
requires:
|
|
633
640
|
- name: addressable
|
|
@@ -732,8 +739,8 @@ sdks:
|
|
|
732
739
|
- x86-64
|
|
733
740
|
- distribution-type: library
|
|
734
741
|
distribution-repository: GitHub release
|
|
735
|
-
package-name: pubnub-6.0.
|
|
736
|
-
location: https://github.com/pubnub/ruby/releases/download/v6.0.
|
|
742
|
+
package-name: pubnub-6.0.2.gem
|
|
743
|
+
location: https://github.com/pubnub/ruby/releases/download/v6.0.2/pubnub-6.0.2.gem
|
|
737
744
|
requires:
|
|
738
745
|
- name: addressable
|
|
739
746
|
min-version: 2.0.0
|
data/CHANGELOG.md
CHANGED
|
@@ -1,38 +1,45 @@
|
|
|
1
|
-
## v6.0.
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
####
|
|
5
|
-
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
####
|
|
15
|
-
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
-
|
|
35
|
-
|
|
1
|
+
## v6.0.2
|
|
2
|
+
March 03 2026
|
|
3
|
+
|
|
4
|
+
#### Modified
|
|
5
|
+
- Add `.uniq` calls when building subscribe URL path and channel-group query parameter to prevent duplicate channels and channel groups from leaking into HTTP requests.
|
|
6
|
+
- Add `.uniq` calls when building heartbeat URL path and channel-group query parameter to prevent duplicate channels and channel groups from leaking into HTTP requests.
|
|
7
|
+
|
|
8
|
+
## v6.0.1
|
|
9
|
+
November 04 2025
|
|
10
|
+
|
|
11
|
+
#### Fixed
|
|
12
|
+
- Send proper object for `state` with the `heartbeat` request.
|
|
13
|
+
|
|
14
|
+
#### Modified
|
|
15
|
+
- Don't cap `limit` and let the server perform value validation.
|
|
16
|
+
- Replace legacy timetoken query parameter with subscribe v2 parameters.
|
|
17
|
+
|
|
18
|
+
## v6.0.0
|
|
19
|
+
October 15 2025
|
|
20
|
+
|
|
21
|
+
#### Added
|
|
22
|
+
- BREAKING CHANGES: Add 'limit' and 'offset' parameters for 'here_now' for pagination support.
|
|
23
|
+
|
|
24
|
+
## v5.6.0
|
|
25
|
+
September 11 2025
|
|
26
|
+
|
|
27
|
+
#### Added
|
|
28
|
+
- Add the `encode_channels` parameter for `fetch` to enable or disable channel names percent-encoding in response.
|
|
29
|
+
|
|
30
|
+
## v5.5.1
|
|
31
|
+
September 08 2025
|
|
32
|
+
|
|
33
|
+
#### Fixed
|
|
34
|
+
- Fix the issue introduced by RuboCop linter suggestion acceptance, which caused a wrong number of arguments error.
|
|
35
|
+
|
|
36
|
+
## v5.5.0
|
|
37
|
+
January 28 2025
|
|
38
|
+
|
|
39
|
+
#### Added
|
|
40
|
+
- Add the ability to specify `type` and `status` fields for `channel metadata`, `uuid metadata`, `member`, and `membership`.
|
|
41
|
+
- Add missing `include` options for App Context APIs: `custom`, `status`, `type`, `uuid_status`, `uuid_type`, `channel_status`, and `channel_type`.
|
|
42
|
+
|
|
36
43
|
## v5.4.0
|
|
37
44
|
January 07 2025
|
|
38
45
|
|
data/Gemfile.lock
CHANGED
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
6.0.
|
|
1
|
+
6.0.2
|
|
@@ -25,7 +25,7 @@ module Pubnub
|
|
|
25
25
|
'sub-key',
|
|
26
26
|
@subscribe_key,
|
|
27
27
|
'channel',
|
|
28
|
-
Formatter.channels_for_url(@channel),
|
|
28
|
+
Formatter.channels_for_url(@channel.uniq),
|
|
29
29
|
'heartbeat'
|
|
30
30
|
].join('/')
|
|
31
31
|
end
|
|
@@ -37,7 +37,7 @@ module Pubnub
|
|
|
37
37
|
parameters.delete(:state) if parameters[:state] == '%7B%7D'
|
|
38
38
|
end
|
|
39
39
|
parameters[:heartbeat] = @heartbeat
|
|
40
|
-
parameters['channel-group'] = @group.join(',') unless @group.blank?
|
|
40
|
+
parameters['channel-group'] = @group.uniq.join(',') unless @group.blank?
|
|
41
41
|
parameters
|
|
42
42
|
end
|
|
43
43
|
|
|
@@ -124,7 +124,7 @@ module Pubnub
|
|
|
124
124
|
'v2',
|
|
125
125
|
'subscribe',
|
|
126
126
|
@subscribe_key,
|
|
127
|
-
Pubnub::Formatter.channels_for_url(@channel + @wildcard_channel),
|
|
127
|
+
Pubnub::Formatter.channels_for_url((@channel + @wildcard_channel).uniq),
|
|
128
128
|
0
|
|
129
129
|
].join('/').gsub(/\?/, '%3F')
|
|
130
130
|
end
|
|
@@ -151,7 +151,7 @@ module Pubnub
|
|
|
151
151
|
end
|
|
152
152
|
|
|
153
153
|
def add_group_to_params(params)
|
|
154
|
-
params['channel-group'] = @group.join(',') unless @group.empty?
|
|
154
|
+
params['channel-group'] = @group.uniq.join(',') unless @group.empty?
|
|
155
155
|
params
|
|
156
156
|
end
|
|
157
157
|
|
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: 6.0.
|
|
4
|
+
version: 6.0.2
|
|
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: 2026-03-03 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: addressable
|