what_is 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: 9bc504abaed6b12c498d26d178fba9e8e24578b3
4
- data.tar.gz: 14849216d28710c925694f1d849e04a8773dff72
3
+ metadata.gz: 9347098835245913fdd9bf543c03fdb21b105c9e
4
+ data.tar.gz: 96829346edad9c8b3d446b82cd4fef7bf8651363
5
5
  SHA512:
6
- metadata.gz: 417006d216846f045dd552ceba491da30087d749d7b4f347d656ef99f81fabe1492797da48ea0e6d7fe8930dbc77b3943bed6e44694e41a4b33db0e3c74f9450
7
- data.tar.gz: f9934c46cb7bb17c4c834c60940694c3fdde06d5a4970f9d17c6f9c3fcc8779a4e1648b0a7dc90df839ca448f4fa44d629463cb15f5039c04b8a24e12f91d8d6
6
+ metadata.gz: f8400961bd2636f1236d3fd18a57ef3f70fdb4e4adf9919307bda1deb12638cfd678429a12fad3472f649c8b1d9c3f35480dc7ae7b03e28310ef32ca61296063
7
+ data.tar.gz: be613cb18fb305f2ce3387239f31c330f9dc20f67a9d5977248a25cb411b2e607d640bce1b4219746b88ca40f222daa8617d5b1fcd934ee8ea24d2551a0190fa
@@ -1,3 +1,3 @@
1
1
  module WhatIs
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
data/lib/what_is.rb CHANGED
@@ -19,7 +19,7 @@ module WhatIs
19
19
  response = Net::HTTP.get_response(uri)
20
20
  doc = Nokogiri::XML(response.body)
21
21
 
22
- doc.xpath("//mc").text
22
+ doc.xpath("//mc").first.text
23
23
  rescue Exception => e
24
24
  default_exception_message
25
25
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: what_is
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
  - Mark Chavez