Skip to content

Commit 05f9b7c

Browse files
authored
Fix paged history (#125)
feat(history): add 'all_history_messages' Add new method `all_history_messages` which return messages from requested interval or since / before date in single object. fix(history): fix paged history Fix exception raised when optional start / end not passed to `paged_history`.
1 parent 734d938 commit 05f9b7c

File tree

14 files changed

+1070
-37
lines changed

14 files changed

+1070
-37
lines changed

.pubnub.yml

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,13 @@
11
---
2-
version: "4.7.0"
2+
version: "4.7.1"
33
changelog:
4+
- date: 2021-11-24
5+
version: v4.7.1
6+
changes:
7+
- type: feature
8+
text: "Add new method `all_history_messages` which return messages from requested interval or `since` / `before` date in single object."
9+
- type: bug
10+
text: "Fix exception raised when optional start / end not passed to `paged_history`."
411
- date: 2021-11-09
512
version: v4.7.0
613
changes:
@@ -605,7 +612,7 @@ sdks:
605612
- x86-64
606613
- distribution-type: package
607614
distribution-repository: RubyGems
608-
package-name: pubnub-4.7.0.gem
615+
package-name: pubnub-4.7.1.gem
609616
location: https://rubygems.org/gems/pubnub
610617
requires:
611618
- name: addressable
@@ -710,8 +717,8 @@ sdks:
710717
- x86-64
711718
- distribution-type: library
712719
distribution-repository: GitHub release
713-
package-name: pubnub-v4.7.0.gem
714-
location: https://github.com/pubnub/ruby/releases/download/v4.7.0/pubnub-4.7.0.gem
720+
package-name: pubnub-4.7.1.gem
721+
location: https://github.com/pubnub/ruby/releases/download/v4.7.1/pubnub-4.7.1.gem
715722
requires:
716723
- name: addressable
717724
min-version: 2.0.0

CHANGELOG.md

Lines changed: 21 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,28 @@
1-
## v4.7.0
2-
November 09 2021
1+
## v4.7.1
2+
November 24 2021
33

44
#### Added
5-
- Grant_token allows generation of signed token with permissions for channels, channel groups and uuids.
5+
- Add new method `all_history_messages` which return messages from requested interval or `since` / `before` date in single object.
66

7-
##### v4.6.2
8-
9-
- Add new `sdks` section to `.pubnub.yml` with information about available artifacts and distribution variants.
10-
11-
##### v4.6.1
12-
13-
- Exclude `spec` and `fixtures` from built gem file.
14-
- Fix Ruby SDK repository location under `sdks` section in `.pubnub.yml`.
15-
- Add new section to `.pubnub.yml` file with information about SDK and destribution types.
7+
#### Fixed
8+
- Fix exception raised when optional start / end not passed to `paged_history`.
169

10+
## v4.7.0
11+
November 09 2021
12+
13+
#### Added
14+
- Grant_token allows generation of signed token with permissions for channels, channel groups and uuids.
15+
16+
##### v4.6.2
17+
18+
- Add new `sdks` section to `.pubnub.yml` with information about available artifacts and distribution variants.
19+
20+
##### v4.6.1
21+
22+
- Exclude `spec` and `fixtures` from built gem file.
23+
- Fix Ruby SDK repository location under `sdks` section in `.pubnub.yml`.
24+
- Add new section to `.pubnub.yml` file with information about SDK and destribution types.
25+
1726
##### v4.6.0
1827

1928
- BREAKING CHANGE: Add randomized initialization vector usage by default for data encryption / decryption in publish / subscribe / history API calls.

Gemfile.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
PATH
22
remote: .
33
specs:
4-
pubnub (4.7.0)
4+
pubnub (4.7.1)
55
addressable (>= 2.0.0)
66
concurrent-ruby (~> 1.1.5)
77
concurrent-ruby-edge (~> 0.5.0)

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
4.7.0
1+
4.7.1

fixtures/vcr_cassettes/examples/history/all_history_messages_1.yml

Lines changed: 133 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

fixtures/vcr_cassettes/examples/history/all_history_messages_2.yml

Lines changed: 133 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)