Skip to content

Commit

Permalink
Update spec file
Browse files Browse the repository at this point in the history
  • Loading branch information
funkyboy committed Jun 18, 2018
1 parent 16b6a8a commit a2d3164
Showing 1 changed file with 36 additions and 2 deletions.
38 changes: 36 additions & 2 deletions SPEC.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Ably Realtime & REST Client Library 1.0.6 Specification
# Ably Realtime & REST Client Library 1.0.7 Specification

### Ably::Realtime::Auth
_(see [spec/acceptance/realtime/auth_spec.rb](./spec/acceptance/realtime/auth_spec.rb))_
Expand Down Expand Up @@ -143,6 +143,32 @@ _(see [spec/acceptance/realtime/auth_spec.rb](./spec/acceptance/realtime/auth_sp
* deprecated #authorise
* [logs a deprecation warning (#RSA10l)](./spec/acceptance/realtime/auth_spec.rb#L1021)
* [returns a valid token (#RSA10l)](./spec/acceptance/realtime/auth_spec.rb#L1027)
* when using JWT
* when using auth_url
* when credentials are valid
* [client successfully fetches a channel and publishes a message](./spec/acceptance/realtime/auth_spec.rb#L1046)
* when credentials are wrong
* [disconnected includes and invalid signature message](./spec/acceptance/realtime/auth_spec.rb#L1059)
* when token is expired
* [receives a 40142 error from the server](./spec/acceptance/realtime/auth_spec.rb#L1072)
* when using auth_callback
* when credentials are valid
* [authentication succeeds and client can post a message](./spec/acceptance/realtime/auth_spec.rb#L1097)
* when credentials are invalid
* [authentication fails and reason for disconnection is invalid signature](./spec/acceptance/realtime/auth_spec.rb#L1112)
* when the client is initialized with ClientOptions and the token is a JWT token
* when credentials are valid
* [posts successfully to a channel](./spec/acceptance/realtime/auth_spec.rb#L1129)
* when credentials are invalid
* [fails with an invalid signature error](./spec/acceptance/realtime/auth_spec.rb#L1143)
* when JWT token expires
* [client disconnects, a new token is requested via auth_callback and the client gets reconnected](./spec/acceptance/realtime/auth_spec.rb#L1170)
* and an AUTH procol message is received
* [client reauths correctly without going through a disconnection](./spec/acceptance/realtime/auth_spec.rb#L1198)
* when the JWT token request includes a client_id
* [the client_id is the same that was specified in the auth_callback that generated the JWT token](./spec/acceptance/realtime/auth_spec.rb#L1226)
* when the JWT token request includes a subscribe-only capability
* [client fails to publish to a channel with subscribe-only capability and publishes successfully on a channel with permissions](./spec/acceptance/realtime/auth_spec.rb#L1244)

### Ably::Realtime::Channel#history
_(see [spec/acceptance/realtime/channel_history_spec.rb](./spec/acceptance/realtime/channel_history_spec.rb))_
Expand Down Expand Up @@ -1748,6 +1774,14 @@ _(see [spec/acceptance/rest/auth_spec.rb](./spec/acceptance/rest/auth_spec.rb))_
* deprecated #authorise
* [logs a deprecation warning (#RSA10l)](./spec/acceptance/rest/auth_spec.rb#L1331)
* [returns a valid token (#RSA10l)](./spec/acceptance/rest/auth_spec.rb#L1336)
* when using JWT
* [authenticates correctly using the JWT token generated by the echo server](./spec/acceptance/rest/auth_spec.rb#L1348)
* when the JWT embeds an Ably token
* [authenticates correctly using the embedded token](./spec/acceptance/rest/auth_spec.rb#L1355)
* and the requested token is encrypted
* [authenticates correctly using the embedded token](./spec/acceptance/rest/auth_spec.rb#L1362)
* when the token requested is returned with application/jwt content type
* [authenticates correctly and pulls stats](./spec/acceptance/rest/auth_spec.rb#L1373)

### Ably::Rest
_(see [spec/acceptance/rest/base_spec.rb](./spec/acceptance/rest/base_spec.rb))_
Expand Down Expand Up @@ -3726,6 +3760,6 @@ _(see [spec/unit/util/pub_sub_spec.rb](./spec/unit/util/pub_sub_spec.rb))_

## Test summary

* Passing tests: 1837
* Passing tests: 1852
* Pending tests: 6
* Failing tests: 0

0 comments on commit a2d3164

Please sign in to comment.