hostelify 0.7.1 → 0.7.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -5,8 +5,8 @@ class Hostelworld < Nibbler
5
5
  element 'div#directions p' => :directions, :with => lambda { |node| node.inner_text.gsub(/(DIRECTIONS):.*$/,'').lstrip }
6
6
  elements '//script[14]' => :geo, :with => lambda { |node| node.inner_text.scan(/-{0,1}\d{1,3}\.\d{7}/).uniq! }
7
7
  elements 'div.links ul.column li' => :features, :with => lambda { |node| node.inner_text.first }
8
- elements '.cboxElement img //@src' => :photos
9
- elements '.rating-values li' => :ratings, :with => lambda { |node| node.inner_text.to_i }
8
+ elements '#gallery-imagelist li a //@href' => :photos
9
+ elements '.microratingpanel li span' => :ratings, :with => lambda { |node| node.inner_text.to_i }
10
10
  element 'script[19]' => :base_currency, :with => lambda { |node| node.inner_text.scan(/\$\.Microsite\.propertyCurrency = \'(.*)\';/).to_s }
11
11
 
12
12
  elements '//table[@class="roomtype"]//tr[position() > 1]' => :rooms do
@@ -1,3 +1,3 @@
1
1
  module Hostelify
2
- VERSION = "0.7.1"
2
+ VERSION = "0.7.2"
3
3
  end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: hostelify
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.7.1
5
+ version: 0.7.2
6
6
  platform: ruby
7
7
  authors:
8
8
  - Holden Thomas
@@ -10,7 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2011-04-28 00:00:00 +02:00
13
+ date: 2011-04-29 00:00:00 +02:00
14
14
  default_executable:
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency