pubnub 5.1.0 → 5.1.2
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/.github/CODEOWNERS +3 -3
- data/.github/workflows/commands-handler.yml +2 -2
- data/.github/workflows/release.yml +2 -2
- data/.github/workflows/run_acceptance_tests.yml +4 -4
- data/.github/workflows/validate-pubnub-yml.yml +1 -1
- data/.pubnub.yml +14 -4
- data/.tool-versions +1 -0
- data/CHANGELOG.md +12 -0
- data/Gemfile +1 -1
- data/Gemfile.lock +7 -5
- data/VERSION +1 -1
- data/lib/pubnub/client/events.rb +3 -1
- data/lib/pubnub/events/delete_messages.rb +1 -1
- data/lib/pubnub/version.rb +1 -1
- metadata +4 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 02ec93862ae59cbf3c741a3cf1b8a52424d091bd004f12c6430a733ff025b759
|
4
|
+
data.tar.gz: 320a4002c58c092b7b62d618841e54b3b718c8efe627f2fa7c551e123aca74ab
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a08577ad50fcd03b44fadd091d621aab6667ae76bc27574582afbd8b445a554e6ea1056e30646af88c1ccfd7cd1561d4de88639333f5f40ef63e35bcde205116
|
7
|
+
data.tar.gz: c0aec4363fef5e2056d5c3e4d530d5d1453cafd6a1fe9c08723c6c6cdcafed7f431519e1dbe8791ce23d1bff56486a9390d707f8c9908920f5fce14770b53004
|
data/.github/CODEOWNERS
CHANGED
@@ -1,3 +1,3 @@
|
|
1
|
-
* @parfeon @CraigLn @
|
2
|
-
.github/* @parfeon @CraigLn @
|
3
|
-
README.md @techwritermat @kazydek
|
1
|
+
* @parfeon @CraigLn @kleewho @seba-aln
|
2
|
+
.github/* @parfeon @CraigLn @kleewho @seba-aln
|
3
|
+
README.md @techwritermat @kazydek
|
@@ -11,9 +11,9 @@ jobs:
|
|
11
11
|
runs-on: ubuntu-latest
|
12
12
|
steps:
|
13
13
|
- name: Checkout repository
|
14
|
-
uses: actions/checkout@
|
14
|
+
uses: actions/checkout@v3
|
15
15
|
- name: Checkout release actions
|
16
|
-
uses: actions/checkout@
|
16
|
+
uses: actions/checkout@v3
|
17
17
|
with:
|
18
18
|
repository: pubnub/client-engineering-deployment-tools
|
19
19
|
ref: v1
|
@@ -33,12 +33,12 @@ jobs:
|
|
33
33
|
if: ${{ needs.check-release.outputs.release == 'true' }}
|
34
34
|
steps:
|
35
35
|
- name: Checkout repository
|
36
|
-
uses: actions/checkout@
|
36
|
+
uses: actions/checkout@v3
|
37
37
|
with:
|
38
38
|
# This should be the same as the one specified for on.pull_request.branches
|
39
39
|
ref: master
|
40
40
|
- name: Checkout actions
|
41
|
-
uses: actions/checkout@
|
41
|
+
uses: actions/checkout@v3
|
42
42
|
with:
|
43
43
|
repository: pubnub/client-engineering-deployment-tools
|
44
44
|
ref: v1
|
@@ -8,12 +8,12 @@ jobs:
|
|
8
8
|
runs-on: ubuntu-latest
|
9
9
|
steps:
|
10
10
|
- name: Checkout project
|
11
|
-
uses: actions/checkout@
|
11
|
+
uses: actions/checkout@v3
|
12
12
|
- name: Checkout mock-server action
|
13
|
-
uses: actions/checkout@
|
13
|
+
uses: actions/checkout@v3
|
14
14
|
with:
|
15
15
|
repository: pubnub/client-engineering-deployment-tools
|
16
|
-
ref:
|
16
|
+
ref: v1
|
17
17
|
token: ${{ secrets.GH_TOKEN }}
|
18
18
|
path: client-engineering-deployment-tools
|
19
19
|
- name: Run mock server action
|
@@ -36,7 +36,7 @@ jobs:
|
|
36
36
|
jrm ./main.xml "./main/**/*.xml" &&
|
37
37
|
jrm ./beta.xml "./beta/**/*.xml"
|
38
38
|
- name: Expose main report
|
39
|
-
uses: actions/upload-artifact@
|
39
|
+
uses: actions/upload-artifact@v3
|
40
40
|
if: always()
|
41
41
|
with:
|
42
42
|
name: acceptance-test-reports
|
data/.pubnub.yml
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
---
|
2
|
-
version: "5.1.
|
2
|
+
version: "5.1.2"
|
3
3
|
changelog:
|
4
|
+
- date: 2022-11-23
|
5
|
+
version: v5.1.2
|
6
|
+
changes:
|
7
|
+
- type: bug
|
8
|
+
text: "Fix issue because of which channel hasn't been encoded properly with endpoint call."
|
9
|
+
- date: 2022-10-26
|
10
|
+
version: v5.1.1
|
11
|
+
changes:
|
12
|
+
- type: bug
|
13
|
+
text: "Fix issue because of which `callback` and `http_sync` provided during client configuration not used when missing in method call."
|
4
14
|
- date: 2022-07-26
|
5
15
|
version: v5.1.0
|
6
16
|
changes:
|
@@ -632,7 +642,7 @@ sdks:
|
|
632
642
|
- x86-64
|
633
643
|
- distribution-type: package
|
634
644
|
distribution-repository: RubyGems
|
635
|
-
package-name: pubnub-5.1.
|
645
|
+
package-name: pubnub-5.1.2.gem
|
636
646
|
location: https://rubygems.org/gems/pubnub
|
637
647
|
requires:
|
638
648
|
- name: addressable
|
@@ -737,8 +747,8 @@ sdks:
|
|
737
747
|
- x86-64
|
738
748
|
- distribution-type: library
|
739
749
|
distribution-repository: GitHub release
|
740
|
-
package-name: pubnub-5.1.
|
741
|
-
location: https://github.com/pubnub/ruby/releases/download/v5.1.
|
750
|
+
package-name: pubnub-5.1.2.gem
|
751
|
+
location: https://github.com/pubnub/ruby/releases/download/v5.1.2/pubnub-5.1.2.gem
|
742
752
|
requires:
|
743
753
|
- name: addressable
|
744
754
|
min-version: 2.0.0
|
data/.tool-versions
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
ruby 3.0.0
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,15 @@
|
|
1
|
+
## v5.1.2
|
2
|
+
November 23 2022
|
3
|
+
|
4
|
+
#### Fixed
|
5
|
+
- Fix issue because of which channel hasn't been encoded properly with endpoint call.
|
6
|
+
|
7
|
+
## v5.1.1
|
8
|
+
October 26 2022
|
9
|
+
|
10
|
+
#### Fixed
|
11
|
+
- Fix issue because of which `callback` and `http_sync` provided during client configuration not used when missing in method call.
|
12
|
+
|
1
13
|
## v5.1.0
|
2
14
|
July 26 2022
|
3
15
|
|
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
pubnub (5.1.
|
4
|
+
pubnub (5.1.2)
|
5
5
|
addressable (>= 2.0.0)
|
6
6
|
concurrent-ruby (~> 1.1.5)
|
7
7
|
concurrent-ruby-edge (~> 0.5.0)
|
@@ -61,7 +61,7 @@ GEM
|
|
61
61
|
cucumber-messages (~> 17.0, >= 17.0.1)
|
62
62
|
debug_inspector (0.0.3)
|
63
63
|
diff-lcs (1.4.4)
|
64
|
-
docile (1.
|
64
|
+
docile (1.4.0)
|
65
65
|
dry-configurable (0.11.6)
|
66
66
|
concurrent-ruby (~> 1.0)
|
67
67
|
dry-core (~> 0.4, >= 0.4.7)
|
@@ -161,10 +161,12 @@ GEM
|
|
161
161
|
parser (>= 2.7.1.4)
|
162
162
|
ruby-progressbar (1.10.1)
|
163
163
|
safe_yaml (1.0.5)
|
164
|
-
simplecov (0.
|
164
|
+
simplecov (0.21.2)
|
165
165
|
docile (~> 1.1)
|
166
166
|
simplecov-html (~> 0.11)
|
167
|
-
|
167
|
+
simplecov_json_formatter (~> 0.1)
|
168
|
+
simplecov-html (0.12.3)
|
169
|
+
simplecov_json_formatter (0.1.4)
|
168
170
|
spoon (0.0.6)
|
169
171
|
ffi
|
170
172
|
sys-uname (1.2.2)
|
@@ -194,7 +196,7 @@ DEPENDENCIES
|
|
194
196
|
rspec-expectations
|
195
197
|
rspec-retry
|
196
198
|
rubocop
|
197
|
-
simplecov (>= 0.
|
199
|
+
simplecov (>= 0.21.2)
|
198
200
|
vcr
|
199
201
|
webmock
|
200
202
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
5.1.
|
1
|
+
5.1.2
|
data/lib/pubnub/client/events.rb
CHANGED
@@ -15,11 +15,13 @@ module Pubnub
|
|
15
15
|
EVENTS.each do |event_name|
|
16
16
|
define_method event_name do |options = {}, &block|
|
17
17
|
options[:callback] = block if options[:callback].nil?
|
18
|
+
# Use constructor-provided :callback if nothing passed to method call.
|
19
|
+
options[:callback] = self.env[:callback] if options[:callback].nil?
|
18
20
|
event = Pubnub.const_get(
|
19
21
|
Formatter.classify_method(event_name)
|
20
22
|
).new(options, self)
|
21
23
|
|
22
|
-
if
|
24
|
+
if event.sync?
|
23
25
|
event.fire
|
24
26
|
elsif event.is_a? SubscribeEvent
|
25
27
|
@subscriber.add_subscription(event)
|
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.1.
|
4
|
+
version: 5.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- PubNub
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-11-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: addressable
|
@@ -139,6 +139,7 @@ files:
|
|
139
139
|
- ".gitignore"
|
140
140
|
- ".pubnub.yml"
|
141
141
|
- ".rubocop.yml"
|
142
|
+
- ".tool-versions"
|
142
143
|
- ".travis.yml"
|
143
144
|
- ".yardopts"
|
144
145
|
- CHANGELOG.md
|
@@ -295,7 +296,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
295
296
|
- !ruby/object:Gem::Version
|
296
297
|
version: '0'
|
297
298
|
requirements: []
|
298
|
-
rubygems_version: 3.
|
299
|
+
rubygems_version: 3.3.5
|
299
300
|
signing_key:
|
300
301
|
specification_version: 4
|
301
302
|
summary: PubNub Official Ruby gem.
|