house.rb 0.1.0 → 0.1.1

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
  SHA1:
3
- metadata.gz: 41dcd54282645a745f5b855f7111a3ddf949fd06
4
- data.tar.gz: 4f6855032ffc21bf783bd4408e04ebc688374503
3
+ metadata.gz: 07eed8e970550696e364ddef1921e88e37c6e3f1
4
+ data.tar.gz: d0fd2d9f0770c4ce8f7851224ab60a98fc67ae6c
5
5
  SHA512:
6
- metadata.gz: bb58d8eea06e28b155b1905f5c6cd233674ff3c74dea45ebe35b7db6ad1ebd95a4c84d795d96953850b40c227f8efd15b59a34501a7b3d7f30672e851c3a9814
7
- data.tar.gz: 3e688830b4978ce290f94b73c0f00b1f8c2d5c239a2182456e4bb70d7fda942f04789a789765d9eaaf3aa5a15b6816c979efb64df8985839393732b894ed1fd6
6
+ metadata.gz: 1a6268adf09e3cfcb5e2ba65af8a9f52b2574fb0e43a57e91afe5389cbfb56e79b07093d5f3e1d2bc3a1a147ab40566f461002fcca872e159f57344e168cf80d
7
+ data.tar.gz: 854106a5246d1c1cb4beb8a80cd0f66665711ed31a6cbf5fbc5d1c05654a5e50c9025c3e7c6e2bcd3922265a09790daee36d422d6401e108299b6d3361d7ec26
@@ -70,6 +70,8 @@ module House
70
70
  node.attr(attribute).value
71
71
  end
72
72
  end
73
+ rescue Nokogiri::XML::XPath::SyntaxError => e
74
+ nil
73
75
  end
74
76
  end
75
77
  end
@@ -75,6 +75,8 @@ module House
75
75
  else
76
76
  node.text
77
77
  end
78
+ rescue Nokogiri::XML::XPath::SyntaxError => e
79
+ nil
78
80
  end
79
81
  end
80
82
  end
@@ -1,3 +1,3 @@
1
1
  module House
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: house.rb
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Marcelo Boeira