lib/syncano/sync_connection.rb in syncano-3.1.3 vs lib/syncano/sync_connection.rb in syncano-3.1.4

- old
+ new

@@ -24,10 +24,11 @@ # Eventmachine callback invoked after completing ssl handshake def ssl_handshake_completed auth_data = { api_key: client.api_key, - instance: client.instance_name + instance: client.instance_name, + 'user-agent' => "syncano-ruby-#{Syncano::VERSION}" } auth_data[:auth_key] = client.auth_key if client.auth_key.present? client.connection = self \ No newline at end of file