nsastorage 0.5.0 → 0.6.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ce9d4882c5eff9fafb6acf3e973cb3e48a56a7f81d32a2409ec5420db465b0e9
4
- data.tar.gz: d743ca5567e457d70989e375a625cc40b9f90139d3d3389681b5e85d56d96b69
3
+ metadata.gz: a4d918b2110c0e1df2d740c64403576da6c632ff1f69d112a891827a0b5aacfc
4
+ data.tar.gz: 858a338369573c4b01386d3b6503073d50ec9df7425674194c87d0b85b4712f0
5
5
  SHA512:
6
- metadata.gz: deef28780dff57b43af1eefa9c83f3beecc3a225eb208f522b8c9652fdd768224024c3b20e321b35bcfd74f0770dbb3b42c8b6b644578ddd43f95f4e573d990c
7
- data.tar.gz: 004ebc2fb6f5aadc8e9f919db17b409e0064aa5ccd7a38ba519637107a930d6a6aa4a0527abd56535a9d5a31bd4738f9426218b15c1c300ec501a1550f78d070
6
+ metadata.gz: c12176571244e306c3080fc8047e846232c2592caf1be2ddd575ead1f908bba93d7b5bb77adfbd471145fa01619d497b9f0458e27d99af2c9598664a7674b937
7
+ data.tar.gz: 36fdf5ba24f0957a001de782db1f55032a86784e2a0efea156db463ab56d2efa13353a9f6d0d64d61b9ef8ab91db4468d2ea6394dd5a7f81f39a0deb8ba1d501
@@ -62,7 +62,7 @@ module NSAStorage
62
62
  #
63
63
  # @return [Price]
64
64
  def self.parse(element:)
65
- link = element.at_xpath("//a[contains(text(), 'Rent')]|//a[contains(text(), 'Reserve')]")
65
+ link = element.at_xpath(".//a[contains(text(), 'Rent')]|//a[contains(text(), 'Reserve')]")
66
66
  new(
67
67
  id: ID_REGEX.match(link['href'])[:id],
68
68
  dimensions: Dimensions.parse(element:),
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module NSAStorage
4
- VERSION = '0.5.0'
4
+ VERSION = '0.6.0'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nsastorage
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.6.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kevin Sylvestre