Skip to content

Commit

Permalink
Refactored check.yml, removed unnecessary commands to install ca cert…
Browse files Browse the repository at this point in the history
…ificates
  • Loading branch information
sacOO7 committed May 2, 2024
1 parent db1ffe9 commit ff686cb
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,6 @@ jobs:
TEST_TYPE: ${{ matrix.type }}
RUBY_VERSION: ${{ matrix.ruby }}
run: |
sudo apt-get update
sudo apt-get install ca-certificates
mkdir junit
bundle exec parallel_rspec --prefix-output-with-test-env-number --first-is-1 -- spec/${{ matrix.type }}
- uses: actions/upload-artifact@v3
Expand Down
1 change: 1 addition & 0 deletions lib/ably/realtime/channel.rb
Original file line number Diff line number Diff line change
Expand Up @@ -332,6 +332,7 @@ def presence
# @return [Ably::Util::SafeDeferrable]
#
def history(options = {}, &callback)
# RTL10b
if options.delete(:until_attach)
unless attached?
error = Ably::Exceptions::InvalidRequest.new('option :until_attach is invalid as the channel is not attached' )
Expand Down

0 comments on commit ff686cb

Please sign in to comment.