-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[ECO-4687]Feature/resume recover #402
Closed
Closed
Changes from all commits
Commits
Show all changes
36 commits
Select commit
Hold shift + click to select a range
1d0f959
Added a separate class for recoveryKeyContext
sacOO7 07c053f
Added test for recovery key context
sacOO7 2bdf984
Added methods to encode and decode recovery key context
sacOO7 631b1f8
Updated recovery key context tests for decoding recovery key
sacOO7 5d82e87
Refactored lib version usage across sdk
sacOO7 ab10caa
Added channel_serial attribute to channel properties
sacOO7 ffda7c6
Added method to set channel serial to given channel
sacOO7 ed6e32b
Added a method to get channel serial
sacOO7 34bfde6
bumped up protocol version to 2
sacOO7 c729a5a
refactored and renamed provided clientOptions as a part of client
sacOO7 373e723
refactored code for recovery key encode / decode
sacOO7 ec41c0d
refactored code for retrieving recovery key
sacOO7 2883118
Merge branch 'fix/tests' into feature/resume-recover
sacOO7 718a0c7
refactored comments on the helper methods
sacOO7 d654665
Added test for invalid recovery key
sacOO7 148ba15
removed all unnecessary references related to connection serial
sacOO7 7df5ef5
Added separate method for creating a recovery key
sacOO7 0ad4f8c
Added deprecation warning for recovery key, updated method for
sacOO7 aae4a71
updated tests and recovery key related code base
sacOO7 ad66ec6
Supplied logger as a param while decoding recovery key
sacOO7 997256c
Setting connection resume/recover based on message received
sacOO7 cd96769
refactored string check for either nil or empty string
sacOO7 13fee33
Setting channel serial as per changed state to detached, failed or su…
sacOO7 ce45cbc
Added documentation for channel serial as a part of channel properties
sacOO7 37ed012
Setting channel serial from received protocolmessage
sacOO7 d36aafb
Updated implementation for has_message_serial
sacOO7 e8e7ec7
Added spec comment and logging message while setting channel serial
sacOO7 fceb558
Added code to set channel serial as per spec
sacOO7 fffad06
refactored code for rest clientOptions
sacOO7 79de8ed
update method to retrive channel serial of only attached channels
sacOO7 3cb643f
Added right spec annotations to implemented code, fixed protocol vers…
sacOO7 1b67120
Added channel serial specific changes marked with corresponding spec ids
sacOO7 51661d0
updated tests for idempotent rest publishing
sacOO7 599b840
Updated rest test for checking agent headers
sacOO7 9b25716
Reset connection key and id when it closes or fails (RTN8c and RTN9c)
sacOO7 e4b51b7
implemented reattach on channels irrespective of resume success or fa…
sacOO7 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,7 @@ require 'ably/version' | |
|
||
Gem::Specification.new do |spec| | ||
spec.name = 'ably' | ||
spec.version = Ably::VERSION | ||
spec.version = Ably::LIB_VERSION | ||
spec.authors = ['Lewis Marshall', "Matthew O'Riordan"] | ||
spec.email = ['[email protected]', '[email protected]'] | ||
spec.description = %q{A Ruby client library for ably.io realtime messaging} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
module Ably | ||
AGENT = "ably-ruby/#{Ably::VERSION} ruby/#{RUBY_VERSION}" | ||
AGENT = "ably-ruby/#{Ably::LIB_VERSION} ruby/#{RUBY_VERSION}" | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why was this changed?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
updated at #409