Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/ably/version.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module Ably
VERSION = '1.1.8'
PROTOCOL_VERSION = '1.1'
PROTOCOL_VERSION = '1.2'

# @api private
def self.major_minor_version_numeric
Expand Down
2 changes: 1 addition & 1 deletion spec/acceptance/realtime/connection_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2083,7 +2083,7 @@ def self.available_states
it 'sends the protocol version param v (#G4, #RTN2f)' do
expect(EventMachine).to receive(:connect) do |host, port, transport, object, url|
uri = URI.parse(url)
expect(CGI::parse(uri.query)['v'][0]).to eql('1.1')
expect(CGI::parse(uri.query)['v'][0]).to eql('1.2')
stop_reactor
end
client
Expand Down
4 changes: 2 additions & 2 deletions spec/acceptance/rest/client_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -1097,7 +1097,7 @@ def encode64(text)
it 'sends a protocol version and lib version header (#G4, #RSC7a, #RSC7b)' do
client.channels.get('foo').publish("event")
expect(publish_message_stub).to have_been_requested
expect(Ably::PROTOCOL_VERSION).to eql('1.1')
expect(Ably::PROTOCOL_VERSION).to eql('1.2')
end
end
end
Expand Down Expand Up @@ -1231,7 +1231,7 @@ def encode64(text)
end
end

context 'request_id generation' do
context 'request_id generation (#RSC7c)' do
context 'Timeout error' do
context 'with option add_request_ids: true and no fallback hosts', :webmock, :prevent_log_stubbing do
let(:custom_logger_object) { TestLogger.new }
Expand Down