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 +4 -4
- data/lib/nsastorage/price.rb +1 -1
- data/lib/nsastorage/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a4d918b2110c0e1df2d740c64403576da6c632ff1f69d112a891827a0b5aacfc
|
4
|
+
data.tar.gz: 858a338369573c4b01386d3b6503073d50ec9df7425674194c87d0b85b4712f0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c12176571244e306c3080fc8047e846232c2592caf1be2ddd575ead1f908bba93d7b5bb77adfbd471145fa01619d497b9f0458e27d99af2c9598664a7674b937
|
7
|
+
data.tar.gz: 36fdf5ba24f0957a001de782db1f55032a86784e2a0efea156db463ab56d2efa13353a9f6d0d64d61b9ef8ab91db4468d2ea6394dd5a7f81f39a0deb8ba1d501
|
data/lib/nsastorage/price.rb
CHANGED
@@ -62,7 +62,7 @@ module NSAStorage
|
|
62
62
|
#
|
63
63
|
# @return [Price]
|
64
64
|
def self.parse(element:)
|
65
|
-
link = element.at_xpath("
|
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:),
|
data/lib/nsastorage/version.rb
CHANGED