googling 0.2.5 → 0.2.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4ebca13451796d4723ff0729bb443ecf4d2f705d
4
- data.tar.gz: 9cbc78b61777ac8cbaf94b3fbc7cd01e0141c4aa
3
+ metadata.gz: 56eddf03fa5ec391ee1e39486c2c9b093e175c78
4
+ data.tar.gz: cf4f3766bc2de1d10cfb77dfbfe80fac6945944f
5
5
  SHA512:
6
- metadata.gz: 0df26938b4f00225808c492156636a73870d11810bcbba8c2990b6153336906b8ee762cc778c03919d77868f5c37d33cf92aeaa0948c4bb6964570da9f98e9c9
7
- data.tar.gz: bd90d16a43a119a8760bae2a1572fe16dec4350fda26811962b11cd5444d250da1e189dbb0d5d1aa3b298345522866d16f30d3275229c0d9e4437002792d7f7a
6
+ metadata.gz: c347bb114ee916cf9632e736864539f6c0253f3fde66d4ca283bed0d1a32dd1670be58d780272a3cda71bdc08a8315492a7e70b6efe2d0274cb9a94f0de4b640
7
+ data.tar.gz: b42e258a0dc6dc1a25be4bea6f1b5298becf1208f02bdb8b8903561ad847b21769550f254d31ef06983ff94a3759675643057e16ab9977e54b12402cf77ff9f5
@@ -33,7 +33,7 @@ module Googling
33
33
  nodes = nodes.select { |r| r.css('table').empty? }
34
34
  nodes.map do |r|
35
35
  title = r.css('h3 a').text
36
- link = r.css('h3 a')['data-href']
36
+ link = r.css('h3 a')['data-href'].to_s
37
37
  description = r.css('div.s span.st').text
38
38
  Result.new(title: title, link: link, description: description)
39
39
  end
@@ -1,3 +1,3 @@
1
1
  module Googling
2
- VERSION = "0.2.5"
2
+ VERSION = "0.2.6"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: googling
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.5
4
+ version: 0.2.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Imyuan