Coveralls logob
Coveralls logo
  • Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

scrapy / scrapy

Build:
LAST BUILD BRANCH: f-allow-setting-of-custom-log-config-file
DEFAULT BRANCH: master
Repo Added 29 Oct 2013 05:17PM UTC
Files 5
Badge
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

LAST BUILD ON BRANCH singleton_removal
branch: singleton_removal
CHANGE BRANCH
x
Reset
  • singleton_removal
  • master
  • 0.16
  • codecov
  • feature-1371-download-prios
  • py3-fixes
  • py3-linkextractors
  • py3-middlewares
  • twisted-15.4
  • dupefilter-persist

7 Nov 2013 - 10:22 coverage: ?%. First build
37

push

travis-ci

129b742538b68c9dd00e3850a29ba1aa?size=18&default=identiconpablohoffman
Removed signals/stats singletons

This change removes singletons for stats collection and signal
dispatching facilities, by making them a member of the Crawler class.

Here are some examples to illustrates the old and new API:

Signals - before:

    from scrapy import signals
    from scrapy.xlib.pydispatch import dispatcher
    dispatcher.connect(self.spider_opened, signals.spider_opened)

Signals - now:

    from scrapy import signals
    crawler.signals.connect(self.spider.opened, signals.spider_opened)

Stats collection - before:

    from scrapy.stats import stats
    stats.inc_value('foo')

Stats collection - now:

    crawler.stats.inc_value('foo')

Backwards compatibility was retained as much as possible and the old API
has been properly flagged with deprecation warnings.
Relevant lines Covered
NO TREND HISTORY
Source Files on singleton_removal
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Builds

Builds Branch Commit Type Ran Committer Via Coverage
37 singleton_removal Removed signals/stats singletons This change removes singletons for stats collection and signal dispatching facilities, by making them a member of the Crawler class. Here are some examples to illustrates the old and new API: Signals - before: ... push 07 Nov 2013 10:22AM UTC 129b742538b68c9dd00e3850a29ba1aa?size=18&default=identiconpablohoffman travis-ci
See All Builds (248)
Notice exc

Badge your Repo: scrapy

We detected this repo isn’t badged! Grab the embed code to the right, add it to your repo to show off your code coverage, and when the badge is live hit the refresh button to remove this message.

Could not find badge in README.

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

Loading Refresh
  • Repo on GitHub
Troubleshooting · Open an Issue · Sales · Support · ENTERPRISE · CAREERS · STATUS
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2023 Coveralls, Inc