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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6bf4dc5114c043fc32d886eb98d630f24bfff9d3ccefbdd3a92b006c3cb967d4
4
- data.tar.gz: c81742bdf7d0d35c5dc23b2584ad10d47b370a1de6e564e08233ed9db7b21538
3
+ metadata.gz: '027882423797fb41dbf5b61cdf99e94656445b0028a8b9b71aed0f372b927a65'
4
+ data.tar.gz: c7b6123557b33879dce6088866076feb600edfca9e689e1e1d4ec623a15f504c
5
5
  SHA512:
6
- metadata.gz: 801e52c62bdac13fcc9338496e47d866bb8392cf7b988b2535596963c5030bc90a5400ce7ad173d71e4a7cac61a89c0a196f0d064115431219fe5301167b9f2e
7
- data.tar.gz: ad2da5dfc46c674e85bc310312f6e30feb65f19df3036ce0ba91ee16bd5676c30fe1e5d75241a2e0bbaf7fcd79d67034360455cd00f95ebcf3f31294feff0d94
6
+ metadata.gz: a90cecc900f1b755674878cadd0eaec6cf635407df8ccebfac8110886c55e1912f9e70e8ae18da6dab7e9725dd2f49be5b54d0eb5e71eb398273bbe767740015
7
+ data.tar.gz: 07a8772d62aa98fc6802201fb98ac85f369b00dcc2164e20ae4a8eaa5c44d80199781afaaf14ca0584edf0bab1de9e8d278dc691a258e3aab9ea805d3758ecfc
@@ -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:),
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module NSAStorage
4
- VERSION = '0.2.0'
4
+ VERSION = '0.3.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.2.0
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kevin Sylvestre