nsastorage 0.2.0 → 0.3.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: '027882423797fb41dbf5b61cdf99e94656445b0028a8b9b71aed0f372b927a65'
|
4
|
+
data.tar.gz: c7b6123557b33879dce6088866076feb600edfca9e689e1e1d4ec623a15f504c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a90cecc900f1b755674878cadd0eaec6cf635407df8ccebfac8110886c55e1912f9e70e8ae18da6dab7e9725dd2f49be5b54d0eb5e71eb398273bbe767740015
|
7
|
+
data.tar.gz: 07a8772d62aa98fc6802201fb98ac85f369b00dcc2164e20ae4a8eaa5c44d80199781afaaf14ca0584edf0bab1de9e8d278dc691a258e3aab9ea805d3758ecfc
|
data/lib/nsastorage/price.rb
CHANGED
@@ -60,7 +60,7 @@ module NSAStorage
|
|
60
60
|
#
|
61
61
|
# @return [Price]
|
62
62
|
def self.parse(element:)
|
63
|
-
link = element.at_xpath("//a[contains(text(), 'Rent')]")
|
63
|
+
link = element.at_xpath("//a[contains(text(), 'Rent')]|//a[contains(text(), 'Reserve')]")
|
64
64
|
new(
|
65
65
|
id: ID_REGEX.match(link['href'])[:id],
|
66
66
|
dimensions: Dimensions.parse(element:),
|
data/lib/nsastorage/version.rb
CHANGED