• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

sferik / twitter / 1698
99%
master: 3%

Build:
Build:
LAST BUILD BRANCH: patch-2
DEFAULT BRANCH: master
Ran 09 Nov 2017 12:21AM UTC
Jobs 7
Files 87
Run time 21min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
1698

Pull #842

travis-ci

web-flow
Support closing stream

In this version, we can close stream as following:

```ruby
client = Twitter::Streaming::Client.new do |config|
  # Set up configuration
end

t = Thread.new do
  client.filter(track: keyword) do |object|
    # process object
  end
end

Signal.trap(:TERM) do
  # terminate process silently
  client.close
  exit true
end
```
Pull Request #842: Support closing stream

13 of 13 new or added lines in 2 files covered. (100.0%)

2066 of 2087 relevant lines covered (98.99%)

213.82 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
100.0
lib/twitter/streaming/client.rb
9
100.0
lib/twitter/streaming/connection.rb

Uncovered Existing Lines

Lines Coverage ∆ File
1
100.0
lib/twitter/streaming/connection.rb
Jobs
ID Job ID Ran Files Coverage
1 1698.1 (2.0.0) 09 Nov 2017 12:21AM UTC 0
99.17
Travis Job 1698.1
2 1698.2 (2.1) 09 Nov 2017 12:21AM UTC 0
99.17
Travis Job 1698.2
3 1698.3 (2.2) 09 Nov 2017 12:21AM UTC 0
99.17
Travis Job 1698.3
4 1698.4 (2.3.3) 09 Nov 2017 12:21AM UTC 0
99.17
Travis Job 1698.4
5 1698.5 (jruby-9.1.6.0) 09 Nov 2017 12:24AM UTC 0
99.17
Travis Job 1698.5
6 1698.6 (jruby-head) 09 Nov 2017 12:42AM UTC 0
98.78
Travis Job 1698.6
8 1698.8 (ruby-head) 09 Nov 2017 12:22AM UTC 0
99.17
Travis Job 1698.8
Source Files on build 1698
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #1698
  • Pull Request #842
  • PR Base - 6-stable (#1693)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc