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

sferik / twitter / 1604
3%

Build:
DEFAULT BRANCH: master
Ran 06 Dec 2016 05:50AM UTC
Jobs 5
Files 81
Run time 4min
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
1604

push

travis-ci

sferik
Use addressable for building query string (#758)

As URI component of Ruby standard library only conform RFC3986 and
it doesn't encode '*' character and that leads to errors. It seems Addressable
library conforms RFC3986, RFC3987 and RFC6570 and it encodes '*' character
as well.

Following test case will be failed in the current version and it returns
'Twitter::Error::Unauthorized' exception.

require 'twitter'

client = Twitter::Streaming::Client.new do |config|
  config.consumer_key        = 'YOUR_CONSUMER_KEY'
  config.consumer_secret     = 'YOUR_CONSUMER_SECRET'
  config.access_token        = 'YOUR_ACCESS_TOKEN'
  config.access_token_secret = 'YOUR_ACCESS_SECRET'
end

filter_params = {
  :track => '(*^0^*)',
  :language => 'es'
}
client.filter(filter_params) do |object|
  puts object.text if object.is_a?(Twitter::Tweet)
end

5 of 5 new or added lines in 1 file covered. (100.0%)

1928 of 1933 relevant lines covered (99.74%)

1518.46 hits per line

Jobs
ID Job ID Ran Files Coverage
1 1604.1 (2.0.0) 06 Dec 2016 05:50AM UTC 0
99.74
Travis Job 1604.1
2 1604.2 (2.1) 06 Dec 2016 05:51AM UTC 0
99.74
Travis Job 1604.2
3 1604.3 (2.2) 06 Dec 2016 05:51AM UTC 0
99.74
Travis Job 1604.3
4 1604.4 (2.3.3) 06 Dec 2016 05:52AM UTC 0
99.74
Travis Job 1604.4
5 1604.5 (jruby-9.1.6.0) 06 Dec 2016 05:55AM UTC 0
99.74
Travis Job 1604.5
Source Files on build 1604
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #1604
  • d11707ed on github
  • Prev Build on master (#1603)
  • Next Build on master (#1644)
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