olek-libcraigscrape 1.1.0.5 → 1.1.0.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/posting.rb +1 -5
  2. metadata +1 -1
@@ -17,12 +17,8 @@ class CraigScrape::Posting < CraigScrape::Scraper
17
17
  HEADER_LOCATION = /^.+[ ]*\-[ ]*[\$]?[\d]+[ ]*\((.+)\)$/
18
18
  POSTING_ID = /PostingID\:[ ]*([\d]+)/
19
19
  REPLY_TO = /(.+)/
20
- <<<<<<< HEAD
21
- PRICE = /((?:^\$[\d]+(?:\.[\d]{2})?)|(?:\$[\d]+(?:\.[\d]{2})?$))/
22
-
23
- =======
24
20
  PRICE = /((?:^\$[\d]+(?:\.[\d]{2})?)|(?:\$[\d]+(?:\.[\d]{2})?))/
25
- >>>>>>> bded128... Removed end of line ($) in price regex, and switched price method to use header. Fixes Real Estate listings.
21
+
26
22
  # NOTE: we implement the (?:) to first check the 'old' style format, and then the 'new style'
27
23
  # (As of 12/03's parse changes)
28
24
  USERBODY_PARTS = /^(.+)\<div id\=\"userbody\">(.+)\<br[ ]*[\/]?\>\<br[ ]*[\/]?\>(.+)\<\/div\>(.+)$/m
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: olek-libcraigscrape
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0.5
4
+ version: 1.1.0.6
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: