hostelify 0.6.9 → 0.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -9,7 +9,7 @@ class Hostelworld < Nibbler
9
9
  elements '.rating-values li' => :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
- elements 'table.roomtype tr' => :rooms do
12
+ elements '//table[@class="roomtype"]//tr[position() > 1]' => :rooms do
13
13
  element 'td span[@style="display:none;"]' => :title, :with => lambda { |node| node.inner_text.lstrip.rstrip }
14
14
  end
15
15
 
@@ -1,3 +1,3 @@
1
1
  module Hostelify
2
- VERSION = "0.6.9"
2
+ VERSION = "0.7.0"
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.6.9
5
+ version: 0.7.0
6
6
  platform: ruby
7
7
  authors:
8
8
  - Holden Thomas