scrapy/scrapy
Pablo Hoffman e3fe0ef297 Some changes to newitem API and implementation:
- Dropped support for wildcard importing from newitem package (must now import
  from newitem.fields and don't use wildcard)
- Removed assign() method from Fields as it was apparently redundant (with
  to_python() method) and I couldn't find any reason for keeping it (neither in
  the docs nor in the tests)
- Moved deiter() method of Field to StringField, as its both its purpose and
  implementation was specific for strings. if it's really needed as a general
  purpose method, it could be restored. Also, no unittest was broken because of
  this change, which sort-of reinforces my point.
- Renamed (previously mentioned) StringField.deiter() method to
  StringField.to_single(), for better consistency with to_python() method
- Removed Field class as it was useless without the deiter() functionality (now
  belonging to StringField class)
- Moved ansi_date_re module variable to DateField class attribute
- Simplified implementation of DecimalField, FloatField and IntegerField to one
  line of code (using tests to make sure not to break any functionality)
- Renamed ItemMeta class (in models.py) to _ItemMeta to highlight its protected
  state (should not be externally imported)
- Added support for instantiating new items with dicts, to support
  deserializing items with their repr() string
- Added unittests for new functionality introduced
2009-07-11 22:19:56 -03:00
..
command remove xlib hack that appends scrapy/xlib to sys.path 2009-07-09 14:37:59 -03:00
conf removed old setting from default_settings.py, updated doc of CONCURRENT_ITEMS setting 2009-07-09 10:56:15 -03:00
contrib removed unused lines 2009-07-11 16:42:32 -03:00
contrib_exp Some changes to newitem API and implementation: 2009-07-11 22:19:56 -03:00
core simplified implementation of spider manager by removing knowledge of enabled spiders 2009-07-10 16:41:02 -03:00
extension mv scrapy/trunk to root as part of svn2hg migration 2009-05-06 15:55:17 -03:00
fetcher mv scrapy/trunk to root as part of svn2hg migration 2009-05-06 15:55:17 -03:00
http remove xlib hack that appends scrapy/xlib to sys.path 2009-07-09 14:37:59 -03:00
item Added new ItemProcessor component to Scraper component 2009-07-08 23:48:06 -03:00
link removed code from scrapy.link to avoid cyclic imports from scrapy.contrib.linkextractors.sgml 2009-05-18 19:27:51 -03:00
log remove xlib hack that appends scrapy/xlib to sys.path 2009-07-09 14:37:59 -03:00
mail mv scrapy/trunk to root as part of svn2hg migration 2009-05-06 15:55:17 -03:00
management remove xlib hack that appends scrapy/xlib to sys.path 2009-07-09 14:37:59 -03:00
patches mv scrapy/trunk to root as part of svn2hg migration 2009-05-06 15:55:17 -03:00
spider simplified implementation of spider manager by removing knowledge of enabled spiders 2009-07-10 16:41:02 -03:00
stats remove xlib hack that appends scrapy/xlib to sys.path 2009-07-09 14:37:59 -03:00
store mv scrapy/trunk to root as part of svn2hg migration 2009-05-06 15:55:17 -03:00
templates/project mv scrapy/trunk to root as part of svn2hg migration 2009-05-06 15:55:17 -03:00
tests Some changes to newitem API and implementation: 2009-07-11 22:19:56 -03:00
utils improved usage of urljoin_rfc function, adding unittests and encoding where needed 2009-07-09 18:45:40 -03:00
xlib remove xlib hack that appends scrapy/xlib to sys.path 2009-07-09 14:37:59 -03:00
xpath improved invalid xpath exception message in xpath selectors, and added unittests 2009-07-11 17:19:20 -03:00
__init__.py remove xlib hack that appends scrapy/xlib to sys.path 2009-07-09 14:37:59 -03:00