pubnub 5.5.1 → 5.6.0
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/.pubnub.yml +9 -4
- data/CHANGELOG.md +6 -0
- data/Gemfile.lock +1 -1
- data/VERSION +1 -1
- data/lib/pubnub/event.rb +1 -1
- data/lib/pubnub/events/fetch_messages.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: 304a86981a706724e51340a70ca1a0c8f14c02803b89f9108ba4798e1f756330
|
4
|
+
data.tar.gz: 1ecab7629106dee0931aef68c8a3b0eec893741938de64d373c860336a15d496
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: da99e4c09b2947aa8ad0c046bf4ca21a84003effa9832c6857ff6a57b7b5f1d42a07f97b6d5b1edf3f2d9a62e827a25b22148215c23feac71681b9521e8409d2
|
7
|
+
data.tar.gz: a2ceb555c05d015fda428ee4ae8996d6d85973335a4b4597c2496e9d4dffe26c836eb4bb6bd8991e955c8b70a002e396d08d1d1c51ca650ecac3569555322b89
|
data/.pubnub.yml
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
---
|
2
|
-
version: "5.
|
2
|
+
version: "5.6.0"
|
3
3
|
changelog:
|
4
|
+
- date: 2025-09-11
|
5
|
+
version: v5.6.0
|
6
|
+
changes:
|
7
|
+
- type: feature
|
8
|
+
text: "Add the `encode_channels` parameter for `fetch` to enable or disable channel names percent-encoding in response."
|
4
9
|
- date: 2025-09-08
|
5
10
|
version: v5.5.1
|
6
11
|
changes:
|
@@ -608,7 +613,7 @@ sdks:
|
|
608
613
|
- x86-64
|
609
614
|
- distribution-type: package
|
610
615
|
distribution-repository: RubyGems
|
611
|
-
package-name: pubnub-5.
|
616
|
+
package-name: pubnub-5.6.0.gem
|
612
617
|
location: https://rubygems.org/gems/pubnub
|
613
618
|
requires:
|
614
619
|
- name: addressable
|
@@ -713,8 +718,8 @@ sdks:
|
|
713
718
|
- x86-64
|
714
719
|
- distribution-type: library
|
715
720
|
distribution-repository: GitHub release
|
716
|
-
package-name: pubnub-5.
|
717
|
-
location: https://github.com/pubnub/ruby/releases/download/v5.
|
721
|
+
package-name: pubnub-5.6.0.gem
|
722
|
+
location: https://github.com/pubnub/ruby/releases/download/v5.6.0/pubnub-5.6.0.gem
|
718
723
|
requires:
|
719
724
|
- name: addressable
|
720
725
|
min-version: 2.0.0
|
data/CHANGELOG.md
CHANGED
data/Gemfile.lock
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
5.
|
1
|
+
5.6.0
|
data/lib/pubnub/event.rb
CHANGED
@@ -178,7 +178,7 @@ module Pubnub
|
|
178
178
|
include_custom_message_type include_message_actions include_message_type
|
179
179
|
replicate with_presence cipher_key_selector include_meta include_uuid join
|
180
180
|
update get add remove push_token push_gateway environment topic
|
181
|
-
authorized_uuid authorized_user_id token type status value]
|
181
|
+
authorized_uuid authorized_user_id token type status value encode_channels]
|
182
182
|
|
183
183
|
options = options.each_with_object({}) { |option, obj| obj[option.first.to_sym] = option.last }
|
184
184
|
|
@@ -13,6 +13,7 @@ module Pubnub
|
|
13
13
|
@include_custom_message_type = options.fetch(:include_custom_message_type, false)
|
14
14
|
@include_message_actions = options.fetch(:include_message_actions, false)
|
15
15
|
@include_message_type = options.fetch(:include_message_type, true)
|
16
|
+
@encode_channels = options.fetch(:encode_channels, true)
|
16
17
|
@include_uuid = options.fetch(:include_uuid, true)
|
17
18
|
@include_meta = options.fetch(:include_meta, false)
|
18
19
|
@start = options[:start] if options.key?(:start)
|
@@ -52,6 +53,7 @@ module Pubnub
|
|
52
53
|
parameters[:include_uuid] = 'true' if @include_uuid
|
53
54
|
parameters[:include_custom_message_type] = 'true' if @include_custom_message_type
|
54
55
|
parameters[:include_message_type] = 'true' if @include_message_type
|
56
|
+
parameters[:encode_channels] = 'false' if !@encode_channels && !@include_message_actions
|
55
57
|
parameters[:start] = @start unless @start.nil?
|
56
58
|
parameters[:end] = @end unless @end.nil?
|
57
59
|
parameters[:max] = @max unless @max.nil?
|
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: 5.
|
4
|
+
version: 5.6.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- PubNub
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-09-
|
11
|
+
date: 2025-09-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: addressable
|