pubnub 5.3.3 → 5.3.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 15cb7d26bab18d7fe5f9aeec8721e63272b243dd6813132c972ab4af50da8acd
4
- data.tar.gz: b1dd294bebc11347ddc48b0489a393549c9e158b1d189cabe6d1f1d823cc6e58
3
+ metadata.gz: 1213c034b2eeee79fc88cb7b95d77def64665c4f863395bce507b04d3bbe49d5
4
+ data.tar.gz: 3442430e58dde62d0565c0ec1f66a03116b3ac84e4d0b8289f00e4f2003d2813
5
5
  SHA512:
6
- metadata.gz: cba51f7ae0a00ee33cca96c635a62894e819c1ceb80fef4052bd97ce18bf5659cd1a2cbcc6e806b9a97af26a510562538270ed2bf78c17c77986feb03c5d3bcb
7
- data.tar.gz: 84c55cfc9fed8c89f14dfce823ceef627971fc494c572115c4f4ebc1bfcc0330120114c3ae1f27a87cb6e7ce7040c3da30619681b7209fd0767bc10c2fde231c
6
+ metadata.gz: 210c6d30c24c741531cd62314907b748185d59db786db62acdbdb46cf529cf7e5d0ca83e147f2a4c7a99087abec4bc62c7d91ccd3a5a0c421a841e001a3e69f4
7
+ data.tar.gz: 44c6bf35f3e3b5c6e82dd10418a60a16c7ed19c39400f872f2d300941cea2dbb83808f2c340bf0713b09164cbe99fefe439430b02938a35da3cc4543a1422b0c
@@ -9,6 +9,13 @@ concurrency:
9
9
  defaults:
10
10
  run:
11
11
  shell: bash
12
+ env:
13
+ SDK_PAM_SUB_KEY: ${{ secrets.SDK_PAM_SUB_KEY }}
14
+ SDK_PAM_PUB_KEY: ${{ secrets.SDK_PAM_PUB_KEY }}
15
+ SDK_PAM_SEC_KEY: ${{ secrets.SDK_PAM_SEC_KEY }}
16
+ SDK_SUB_KEY: ${{ secrets.SDK_SUB_KEY }}
17
+ SDK_PUB_KEY: ${{ secrets.SDK_PUB_KEY }}
18
+
12
19
 
13
20
 
14
21
  jobs:
data/.pubnub.yml CHANGED
@@ -1,6 +1,11 @@
1
1
  ---
2
- version: "5.3.3"
2
+ version: "5.3.4"
3
3
  changelog:
4
+ - date: 2024-04-29
5
+ version: v5.3.4
6
+ changes:
7
+ - type: bug
8
+ text: "Fix issue because of which client didn't encode App Context get all event `filter` query value."
4
9
  - date: 2024-01-29
5
10
  version: v5.3.3
6
11
  changes:
@@ -571,7 +576,7 @@ sdks:
571
576
  - x86-64
572
577
  - distribution-type: package
573
578
  distribution-repository: RubyGems
574
- package-name: pubnub-5.3.3.gem
579
+ package-name: pubnub-5.3.4.gem
575
580
  location: https://rubygems.org/gems/pubnub
576
581
  requires:
577
582
  - name: addressable
@@ -676,8 +681,8 @@ sdks:
676
681
  - x86-64
677
682
  - distribution-type: library
678
683
  distribution-repository: GitHub release
679
- package-name: pubnub-5.3.3.gem
680
- location: https://github.com/pubnub/ruby/releases/download/v5.3.3/pubnub-5.3.3.gem
684
+ package-name: pubnub-5.3.4.gem
685
+ location: https://github.com/pubnub/ruby/releases/download/v5.3.4/pubnub-5.3.4.gem
681
686
  requires:
682
687
  - name: addressable
683
688
  min-version: 2.0.0
data/CHANGELOG.md CHANGED
@@ -1,3 +1,9 @@
1
+ ## v5.3.4
2
+ April 29 2024
3
+
4
+ #### Fixed
5
+ - Fix issue because of which client didn't encode App Context get all event `filter` query value.
6
+
1
7
  ## v5.3.3
2
8
  January 29 2024
3
9
 
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- pubnub (5.3.3)
4
+ pubnub (5.3.4)
5
5
  addressable (>= 2.0.0)
6
6
  concurrent-ruby (~> 1.1.5)
7
7
  concurrent-ruby-edge (~> 0.5.0)
data/VERSION CHANGED
@@ -1 +1 @@
1
- 5.3.3
1
+ 5.3.4
@@ -39,12 +39,13 @@ module Pubnub
39
39
 
40
40
  def variables_for_signature
41
41
  unsorted_params = parameters(true)
42
- sorted_keys = unsorted_params.sort_by {|k, v| k.to_s}
42
+ sorted_keys = unsorted_params.sort_by { |k, v| k.to_s }
43
43
  sorted_keys.map do |k, v|
44
- if %w[meta ortt].include?(k.to_s)
45
- encoded_value = URI.encode_www_form_component(v.to_json).gsub('+', '%20')
44
+ if %w[meta ortt filter].include?(k.to_s)
45
+ value_for_encoding = v.is_a?(String) ? v : v.to_json
46
+ encoded_value = URI.encode_www_form_component(value_for_encoding).gsub('+', '%20')
46
47
  "#{k}=#{encoded_value}"
47
- elsif %w[t state filter-expr sort filter].include?(k.to_s)
48
+ elsif %w[t state filter-expr sort].include?(k.to_s)
48
49
  "#{k}=#{v}"
49
50
  else
50
51
  "#{k}=#{URI.encode_www_form_component(v.to_s).gsub('+', '%20')}"
@@ -118,10 +118,11 @@ module Pubnub
118
118
  def params_hash_to_url_params(hash)
119
119
  params = ''
120
120
  hash.sort_by { |k, _v| k.to_s }.to_h.each do |key, value|
121
- if %w[meta ortt].include?(key.to_s)
122
- encoded_value = URI.encode_www_form_component(value.to_json).gsub('+', '%20')
121
+ if %w[meta ortt filter].include?(key.to_s)
122
+ value_for_encoding = value.is_a?(String) ? value : value.to_json
123
+ encoded_value = URI.encode_www_form_component(value_for_encoding).gsub('+', '%20')
123
124
  params << "#{key}=#{encoded_value}&"
124
- elsif %w[t state filter filter-expr].include?(key.to_s)
125
+ elsif %w[t state filter-expr].include?(key.to_s)
125
126
  params << "#{key}=#{value}&"
126
127
  else
127
128
  params << "#{key}=#{URI.encode_www_form_component(value).gsub('+', '%20')}&"
@@ -1,4 +1,4 @@
1
1
  # Toplevel Pubnub module.
2
2
  module Pubnub
3
- VERSION = '5.3.3'.freeze
3
+ VERSION = '5.3.4'.freeze
4
4
  end
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.3.3
4
+ version: 5.3.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - PubNub
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-01-29 00:00:00.000000000 Z
11
+ date: 2024-04-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: addressable