Compatibility with older servers that support #rewind.
This PR is an experiment to make slack-ruby-client able to be used with Webrick via rackup gem.
The "rewind-read-rewind" used here:
https://github.com/slack-ruby/slack-ruby-client/blob/9e6d1171aecfb89d11ce55fb010cc3370666cd01/lib/slack/events/request.rb#L39-L47
...is no longer supported.
This change is about making the code compatible with older servers that offered rewind.
| 1 Warning | |
|---|---|
| :warning: | There're library changes, but not tests. That's OK as long as you're refactoring existing code. |
Generated by :no_entry_sign: Danger
Pull Request Test Coverage Report for Build 9776811795
Details
- 2 of 2 (100.0%) changed or added relevant lines in 1 file are covered.
- 30 unchanged lines in 3 files lost coverage.
- Overall coverage decreased (-0.08%) to 89.161%
| Files with Coverage Reduction | New Missed Lines | % |
|---|---|---|
| spec/slack/real_time/concurrency/clients/async_spec.rb | 1 | 87.5% |
| spec/slack/real_time/concurrency/with_concurrency_spec.rb | 1 | 80.0% |
| lib/slack/real_time/concurrency/async.rb | 28 | 1.39% |
| <!-- | Total: | 30 |
| Totals | |
|---|---|
| Change from base Build 7789505062: | -0.08% |
| Covered Lines: | 5092 |
| Relevant Lines: | 5711 |
💛 - Coveralls
Pull Request Test Coverage Report for Build 9776811795
Details
- 2 of 2 (100.0%) changed or added relevant lines in 1 file are covered.
- 30 unchanged lines in 3 files lost coverage.
- Overall coverage increased (+0.002%) to 89.239%
| Files with Coverage Reduction | New Missed Lines | % |
|---|---|---|
| spec/slack/real_time/concurrency/clients/async_spec.rb | 1 | 87.5% |
| spec/slack/real_time/concurrency/with_concurrency_spec.rb | 1 | 80.0% |
| lib/slack/real_time/concurrency/async.rb | 28 | 1.39% |
| <!-- | Total: | 30 |
| Totals | |
|---|---|
| Change from base Build 7789505062: | 0.002% |
| Covered Lines: | 5100 |
| Relevant Lines: | 5715 |
💛 - Coveralls
Pull Request Test Coverage Report for Build 9777240612
Details
- 2 of 2 (100.0%) changed or added relevant lines in 1 file are covered.
- 28 unchanged lines in 1 file lost coverage.
- Overall coverage decreased (-0.08%) to 89.161%
| Files with Coverage Reduction | New Missed Lines | % |
|---|---|---|
| lib/slack/real_time/concurrency/async.rb | 28 | 1.39% |
| <!-- | Total: | 28 |
| Totals | |
|---|---|
| Change from base Build 7789505062: | -0.08% |
| Covered Lines: | 5092 |
| Relevant Lines: | 5711 |
💛 - Coveralls
Pull Request Test Coverage Report for Build 9777240612
Details
- 2 of 2 (100.0%) changed or added relevant lines in 1 file are covered.
- 28 unchanged lines in 1 file lost coverage.
- Overall coverage increased (+0.002%) to 89.239%
| Files with Coverage Reduction | New Missed Lines | % |
|---|---|---|
| lib/slack/real_time/concurrency/async.rb | 28 | 1.39% |
| <!-- | Total: | 28 |
| Totals | |
|---|---|
| Change from base Build 7789505062: | 0.002% |
| Covered Lines: | 5100 |
| Relevant Lines: | 5715 |
💛 - Coveralls
Pull Request Test Coverage Report for Build 9777379775
Details
- 2 of 2 (100.0%) changed or added relevant lines in 1 file are covered.
- No unchanged relevant lines lost coverage.
- Overall coverage decreased (-0.08%) to 89.161%
| Totals | |
|---|---|
| Change from base Build 7789505062: | -0.08% |
| Covered Lines: | 5092 |
| Relevant Lines: | 5711 |
💛 - Coveralls
Pull Request Test Coverage Report for Build 9777379775
Details
- 2 of 2 (100.0%) changed or added relevant lines in 1 file are covered.
- No unchanged relevant lines lost coverage.
- Overall coverage increased (+0.002%) to 89.239%
| Totals | |
|---|---|
| Change from base Build 7789505062: | 0.002% |
| Covered Lines: | 5100 |
| Relevant Lines: | 5715 |
💛 - Coveralls
Pull Request Test Coverage Report for Build 9777483025
Details
- 2 of 2 (100.0%) changed or added relevant lines in 1 file are covered.
- No unchanged relevant lines lost coverage.
- Overall coverage decreased (-0.08%) to 89.161%
| Totals | |
|---|---|
| Change from base Build 7789505062: | -0.08% |
| Covered Lines: | 5092 |
| Relevant Lines: | 5711 |
💛 - Coveralls
Pull Request Test Coverage Report for Build 9777501826
Details
- 2 of 2 (100.0%) changed or added relevant lines in 1 file are covered.
- 28 unchanged lines in 1 file lost coverage.
- Overall coverage decreased (-0.08%) to 89.161%
| Files with Coverage Reduction | New Missed Lines | % |
|---|---|---|
| lib/slack/real_time/concurrency/async.rb | 28 | 1.39% |
| <!-- | Total: | 28 |
| Totals | |
|---|---|
| Change from base Build 7789505062: | -0.08% |
| Covered Lines: | 5092 |
| Relevant Lines: | 5711 |
💛 - Coveralls
Pull Request Test Coverage Report for Build 9777501826
Details
- 2 of 2 (100.0%) changed or added relevant lines in 1 file are covered.
- 28 unchanged lines in 1 file lost coverage.
- Overall coverage decreased (-0.08%) to 89.161%
| Files with Coverage Reduction | New Missed Lines | % |
|---|---|---|
| lib/slack/real_time/concurrency/async.rb | 28 | 1.39% |
| <!-- | Total: | 28 |
| Totals | |
|---|---|
| Change from base Build 7789505062: | -0.08% |
| Covered Lines: | 5092 |
| Relevant Lines: | 5711 |
💛 - Coveralls
Pull Request Test Coverage Report for Build 9777483025
Details
- 2 of 2 (100.0%) changed or added relevant lines in 1 file are covered.
- No unchanged relevant lines lost coverage.
- Overall coverage increased (+0.002%) to 89.239%
| Totals | |
|---|---|
| Change from base Build 7789505062: | 0.002% |
| Covered Lines: | 5100 |
| Relevant Lines: | 5715 |
💛 - Coveralls
Pull Request Test Coverage Report for Build 9777483025
Details
- 2 of 2 (100.0%) changed or added relevant lines in 1 file are covered.
- No unchanged relevant lines lost coverage.
- Overall coverage increased (+0.002%) to 89.239%
| Totals | |
|---|---|
| Change from base Build 7789505062: | 0.002% |
| Covered Lines: | 5100 |
| Relevant Lines: | 5715 |
💛 - Coveralls
Pull Request Test Coverage Report for Build 9777501826
Details
- 2 of 2 (100.0%) changed or added relevant lines in 1 file are covered.
- 28 unchanged lines in 1 file lost coverage.
- Overall coverage increased (+0.002%) to 89.239%
| Files with Coverage Reduction | New Missed Lines | % |
|---|---|---|
| lib/slack/real_time/concurrency/async.rb | 28 | 1.39% |
| <!-- | Total: | 28 |
| Totals | |
|---|---|
| Change from base Build 7789505062: | 0.002% |
| Covered Lines: | 5100 |
| Relevant Lines: | 5715 |
💛 - Coveralls
Pull Request Test Coverage Report for Build 9777677201
Details
- 2 of 2 (100.0%) changed or added relevant lines in 1 file are covered.
- 30 unchanged lines in 3 files lost coverage.
- Overall coverage decreased (-0.08%) to 89.161%
| Files with Coverage Reduction | New Missed Lines | % |
|---|---|---|
| spec/slack/real_time/concurrency/clients/async_spec.rb | 1 | 87.5% |
| spec/slack/real_time/concurrency/with_concurrency_spec.rb | 1 | 80.0% |
| lib/slack/real_time/concurrency/async.rb | 28 | 1.39% |
| <!-- | Total: | 30 |
| Totals | |
|---|---|
| Change from base Build 7789505062: | -0.08% |
| Covered Lines: | 5092 |
| Relevant Lines: | 5711 |
💛 - Coveralls
Pull Request Test Coverage Report for Build 9777677201
Details
- 2 of 2 (100.0%) changed or added relevant lines in 1 file are covered.
- 30 unchanged lines in 3 files lost coverage.
- Overall coverage decreased (-0.08%) to 89.161%
| Files with Coverage Reduction | New Missed Lines | % |
|---|---|---|
| spec/slack/real_time/concurrency/clients/async_spec.rb | 1 | 87.5% |
| spec/slack/real_time/concurrency/with_concurrency_spec.rb | 1 | 80.0% |
| lib/slack/real_time/concurrency/async.rb | 28 | 1.39% |
| <!-- | Total: | 30 |
| Totals | |
|---|---|
| Change from base Build 7789505062: | -0.08% |
| Covered Lines: | 5092 |
| Relevant Lines: | 5711 |
💛 - Coveralls
Pull Request Test Coverage Report for Build 9777677201
Details
- 2 of 2 (100.0%) changed or added relevant lines in 1 file are covered.
- 30 unchanged lines in 3 files lost coverage.
- Overall coverage increased (+0.002%) to 89.239%
| Files with Coverage Reduction | New Missed Lines | % |
|---|---|---|
| spec/slack/real_time/concurrency/clients/async_spec.rb | 1 | 87.5% |
| spec/slack/real_time/concurrency/with_concurrency_spec.rb | 1 | 80.0% |
| lib/slack/real_time/concurrency/async.rb | 28 | 1.39% |
| <!-- | Total: | 30 |
| Totals | |
|---|---|
| Change from base Build 7789505062: | 0.002% |
| Covered Lines: | 5100 |
| Relevant Lines: | 5715 |
💛 - Coveralls
If you don't .rewind you end up with incorrect data, don't you? I think we need an integration test for the various servers at the very least before changing this.
Coveralls is being annoying re-running on every commit... maybe you know how to turn this off?