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

cantino / huginn / 3846
92%

Build:
DEFAULT BRANCH: master
Ran 23 Apr 2017 10:48PM UTC
Jobs 6
Files 150
Run time 7min
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
3846

push

travis-ci

cantino
Rss agent dynamic cleanup (#1733)

* Remove fixed limit of 500 IDs used to figure out which entries are new.
Instead each ID that is checked against the seen_ids gets moved to the top of the list.
IDs that are no longer used in the RSS Feed will end up at the bottom of the seen_ids list end will be removed.

* remove uncommented code line

* fix undefined method `count' for nil:NilClass, in case the first fetch of an rss feed failed or fetched empty rss feed.

changed spec to verify the deletion of old ids by keeping all current ones, not by fixed limit

* revert changes for dynamic cleanup.
Instead made the limit of stored ids configurable. (key: max_ids)
Default limit will remain 500.

* fixed error message.
replaced repeated function call with single call specifying amount.
using options['max_ids'] instead of interpolated['max_ids'] to retrieve setting.

* Rename to remembered_id_count and fix spec

* Update rss_agent.rb

fixed indentation

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

6532 of 7127 relevant lines covered (91.65%)

423.96 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
100.0
app/models/agents/rss_agent.rb
Jobs
ID Job ID Ran Files Coverage
1 3846.1 (2.2, DATABASE_ADAPTER=mysql2) 23 Apr 2017 10:48PM UTC 0
90.81
Travis Job 3846.1
2 3846.2 (2.3.1, DATABASE_ADAPTER=mysql2) 23 Apr 2017 10:48PM UTC 0
90.81
Travis Job 3846.2
3 3846.3 (2.2, DATABASE_ADAPTER=postgresql DATABASE_USERNAME=postgres) 23 Apr 2017 10:48PM UTC 0
90.81
Travis Job 3846.3
4 3846.4 (2.3.1, DATABASE_ADAPTER=postgresql DATABASE_USERNAME=postgres) 23 Apr 2017 10:48PM UTC 0
90.81
Travis Job 3846.4
7 3846.7 (2.3.1, RSPEC_TASK=spec:features DATABASE_ADAPTER=mysql2) 23 Apr 2017 10:55PM UTC 0
47.02
Travis Job 3846.7
8 3846.8 (2.3.1, RSPEC_TASK=spec:features DATABASE_ADAPTER=postgresql DATABASE_USERNAME=postgres) 23 Apr 2017 10:55PM UTC 0
47.02
Travis Job 3846.8
Source Files on build 3846
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #3846
  • e3f79bf8 on github
  • Prev Build on master (#3844)
  • Next Build on master (#3857)
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