ably-rest 1.2.6 → 1.2.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +8 -5
- data/ably-rest.gemspec +7 -10
- data/lib/submodules/ably-ruby/.github/workflows/check.yml +5 -3
- data/lib/submodules/ably-ruby/CHANGELOG.md +21 -0
- data/lib/submodules/ably-ruby/SPEC.md +294 -294
- data/lib/submodules/ably-ruby/ably.gemspec +3 -2
- data/lib/submodules/ably-ruby/lib/ably/models/protocol_message.rb +0 -1
- data/lib/submodules/ably-ruby/lib/ably/realtime/connection/websocket_transport.rb +1 -1
- data/lib/submodules/ably-ruby/lib/ably/realtime/connection.rb +30 -2
- data/lib/submodules/ably-ruby/lib/ably/version.rb +1 -1
- data/lib/submodules/ably-ruby/spec/acceptance/realtime/auth_spec.rb +0 -7
- data/lib/submodules/ably-ruby/spec/acceptance/realtime/client_spec.rb +1 -1
- data/lib/submodules/ably-ruby/spec/acceptance/realtime/connection_failures_spec.rb +7 -7
- data/lib/submodules/ably-ruby/spec/acceptance/realtime/message_spec.rb +1 -1
- data/lib/submodules/ably-ruby/spec/acceptance/rest/base_spec.rb +4 -5
- data/lib/submodules/ably-ruby/spec/acceptance/rest/client_spec.rb +3 -3
- data/lib/submodules/ably-ruby/spec/unit/models/protocol_message_spec.rb +0 -8
- metadata +19 -53
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c34f77f0e3e6c5f4f7e30cc93ae8d1a53e9e217d7f73adb6fb90d3f099a74452
|
4
|
+
data.tar.gz: 4ece3c4eed50aeb3ea1e17095570ff8fc66dba7fd5a7ead9d69aa8b5e58c7afb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4ae3b30de33e2cf4b21b84a60c6ce5dcce35b97499fcf8c81abadd6998f8288c0d148a922eadba31ca6204eceff7336741970211036c12505e7490e2327a14a3
|
7
|
+
data.tar.gz: 7e2e7843df13707d766ad9629062c8e6c862e2d7dbcde25c05478f621bd91ac2386e8f0528bf1cf9109bcb9e4d00689800c1d3b4ce6343d46ba14541b027685b
|
data/README.md
CHANGED
@@ -151,6 +151,8 @@ To see what has changed in recent versions of Bundler, see the [CHANGELOG](CHANG
|
|
151
151
|
|
152
152
|
Please note that the bulk of this repo is in fact a submodule of the [Ably Ruby REST & Realtime library](https://github.com/ably/ably-ruby). If you want to issue a PR, it is likely you should be looking in that repo to add features or make contributions.
|
153
153
|
|
154
|
+
The dependencies in [`ably-rest.gemspec`](./ably-rest.gemspec) must be manually kept in sync with those in [`lib/submodules/ably-ruby/ably.gemspec`](./lib/submodules/ably-ruby/ably.gemspec).
|
155
|
+
|
154
156
|
1. Fork it
|
155
157
|
2. When pulling to local, make sure to also pull submodules (git submodule init && git submodule update)
|
156
158
|
3. Create your feature branch (`git checkout -b my-new-feature`)
|
@@ -167,11 +169,12 @@ Please note that the bulk of this repo is in fact a submodule of the [Ably Ruby
|
|
167
169
|
4. Ensure submodules of this submodule are up to date using `git submodule update`
|
168
170
|
5. Change dir back to root / `ably-ruby-rest`
|
169
171
|
6. Stage changes made at submodule file `git add lib/submodules/ably-ruby`
|
170
|
-
7.
|
171
|
-
8.
|
172
|
-
9.
|
173
|
-
10.
|
174
|
-
11.
|
172
|
+
7. Bring dependency versions in [`ably-rest.gemspec`](./ably-rest.gemspec) in line with [`lib/submodules/ably-ruby/ably.gemspec`](./lib/submodules/ably-ruby/ably.gemspec)
|
173
|
+
8. Commit the change `git commit -m "Version upgrade to v1.2.3"` and push the changes.
|
174
|
+
9. Make a PR against `main`. Once the PR is approved, merge it into `main`
|
175
|
+
10. Add a tag to the new `main` head commit and push to origin such as `git tag v1.2.3 && git push origin v1.2.3`
|
176
|
+
11. Visit [https://github.com/ably/ably-ruby/tags](https://github.com/ably/ably-ruby/tags) and `Add release notes` for the release including links to the changelog entry.
|
177
|
+
12. Run `rake release` to publish the gem to [Rubygems](https://rubygems.org/gems/ably-rest)
|
175
178
|
|
176
179
|
See the [Ably Ruby release process notes](https://github.com/ably/ably-ruby#release-process).
|
177
180
|
|
data/ably-rest.gemspec
CHANGED
@@ -32,25 +32,22 @@ Gem::Specification.new do |spec|
|
|
32
32
|
spec.require_paths = ['lib']
|
33
33
|
|
34
34
|
spec.add_runtime_dependency 'faraday', '~> 2.2'
|
35
|
-
spec.add_runtime_dependency 'excon', '~> 0.55'
|
36
35
|
spec.add_runtime_dependency 'typhoeus', '~> 1.4'
|
37
|
-
spec.add_runtime_dependency 'faraday-typhoeus', '~>
|
36
|
+
spec.add_runtime_dependency 'faraday-typhoeus', '~> 1.1.0'
|
38
37
|
|
39
38
|
spec.add_runtime_dependency 'json'
|
40
|
-
spec.add_runtime_dependency 'msgpack', '>= 1.
|
39
|
+
spec.add_runtime_dependency 'msgpack', '>= 1.3.0'
|
41
40
|
spec.add_runtime_dependency 'addressable', '>= 2.0.0'
|
42
41
|
|
43
42
|
spec.add_development_dependency 'bundler', '>= 1.3.0'
|
44
|
-
spec.add_development_dependency 'rake', '~> 13.0
|
43
|
+
spec.add_development_dependency 'rake', '~> 13.0'
|
45
44
|
spec.add_development_dependency 'redcarpet', '~> 3.3'
|
46
|
-
spec.add_development_dependency 'rspec', '~> 3.11'
|
47
|
-
spec.add_development_dependency 'rspec-retry', '~> 0.6
|
45
|
+
spec.add_development_dependency 'rspec', '~> 3.11.0'
|
46
|
+
spec.add_development_dependency 'rspec-retry', '~> 0.6'
|
48
47
|
spec.add_development_dependency 'yard', '~> 0.9'
|
49
|
-
|
50
|
-
spec.add_development_dependency 'webmock', '~> 3.14.0'
|
51
|
-
spec.add_development_dependency 'coveralls'
|
48
|
+
spec.add_development_dependency 'webmock', '~> 3.11'
|
52
49
|
spec.add_development_dependency 'pry', '~> 0.14.1'
|
53
|
-
spec.add_development_dependency 'pry-byebug'
|
50
|
+
spec.add_development_dependency 'pry-byebug', '~> 3.8.0'
|
54
51
|
|
55
52
|
if RUBY_VERSION.match(/^3\./)
|
56
53
|
spec.add_development_dependency 'webrick', '~> 1.7.0'
|
@@ -1,4 +1,5 @@
|
|
1
1
|
on:
|
2
|
+
workflow_dispatch:
|
2
3
|
pull_request:
|
3
4
|
push:
|
4
5
|
branches:
|
@@ -31,8 +32,9 @@ jobs:
|
|
31
32
|
run: |
|
32
33
|
mkdir junit
|
33
34
|
bundle exec parallel_rspec --prefix-output-with-test-env-number --first-is-1 -- spec/${{ matrix.type }}
|
34
|
-
- uses: actions/upload-artifact@
|
35
|
+
- uses: actions/upload-artifact@v4
|
35
36
|
with:
|
37
|
+
name: test-results-ruby-${{ matrix.ruby }}-${{ matrix.protocol }}-${{ matrix.type }}
|
36
38
|
path: |
|
37
39
|
junit/
|
38
40
|
coverage/
|
@@ -44,7 +46,7 @@ jobs:
|
|
44
46
|
server-url: 'https://test-observability.herokuapp.com'
|
45
47
|
server-auth: ${{ secrets.TEST_OBSERVABILITY_SERVER_AUTH_KEY }}
|
46
48
|
path: 'junit/'
|
47
|
-
- uses: coverallsapp/github-action@
|
49
|
+
- uses: coverallsapp/github-action@v2
|
48
50
|
with:
|
49
51
|
github-token: ${{ secrets.GITHUB_TOKEN }}
|
50
52
|
flag-name: ruby-${{ matrix.ruby }}-${{ matrix.protocol }}-${{ matrix.type }}
|
@@ -54,7 +56,7 @@ jobs:
|
|
54
56
|
runs-on: ubuntu-latest
|
55
57
|
steps:
|
56
58
|
- name: Coveralls Finished
|
57
|
-
uses: coverallsapp/github-action@
|
59
|
+
uses: coverallsapp/github-action@v2
|
58
60
|
with:
|
59
61
|
github-token: ${{ secrets.github_token }}
|
60
62
|
parallel-finished: true
|
@@ -1,5 +1,26 @@
|
|
1
1
|
# Change Log
|
2
2
|
|
3
|
+
## [v1.2.8](https://github.com/ably/ably-ruby/tree/v1.2.8)
|
4
|
+
|
5
|
+
[Full Changelog](https://github.com/ably/ably-ruby/compare/v1.2.7...v1.2.8)
|
6
|
+
|
7
|
+
**Fixed bugs:**
|
8
|
+
|
9
|
+
* Fix incompatibility with `websocket-driver` 0.8 (#443)
|
10
|
+
* Do not use fallback hosts as a result of a token error (#443)
|
11
|
+
|
12
|
+
**Updated dependencies:**
|
13
|
+
|
14
|
+
* Bump `faraday-typhoeus` to 1.1.0 (#442)
|
15
|
+
|
16
|
+
## [v1.2.7](https://github.com/ably/ably-ruby/tree/v1.2.7)
|
17
|
+
|
18
|
+
[Full Changelog](https://github.com/ably/ably-ruby/compare/v1.2.6...v1.2.7)
|
19
|
+
|
20
|
+
**Fixed bugs:**
|
21
|
+
|
22
|
+
- Fix crash when logging an incoming message with debug-level logging enabled [\#436](https://github.com/ably/ably-ruby/issues/436)
|
23
|
+
|
3
24
|
## [v1.2.6](https://github.com/ably/ably-ruby/tree/v1.2.6)
|
4
25
|
|
5
26
|
[Full Changelog](https://github.com/ably/ably-ruby/compare/v1.2.5...v1.2.6)
|