hostelify 0.7.0 → 0.7.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -13,7 +13,7 @@ class Hostelworld < Nibbler
13
13
  element 'td span[@style="display:none;"]' => :title, :with => lambda { |node| node.inner_text.lstrip.rstrip }
14
14
  end
15
15
 
16
- elements 'table.availability tr' => :beds do
16
+ elements '//table[@class="availability"]//tr[position() > 1]' => :beds do
17
17
  elements 'td' => :nights do
18
18
  element '.currency' => :price, :with => lambda { |node| node.inner_text.to_f }
19
19
  element '@title' => :spots, :with => lambda { |node| node.inner_text.match(/\d{1,}$/).to_s.to_i }
@@ -1,3 +1,3 @@
1
1
  module Hostelify
2
- VERSION = "0.7.0"
2
+ VERSION = "0.7.1"
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.0
5
+ version: 0.7.1
6
6
  platform: ruby
7
7
  authors:
8
8
  - Holden Thomas