gsearch-parser 0.3.3 → 0.3.4

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.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.3.3
1
+ 0.3.4
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "gsearch-parser"
8
- s.version = "0.3.3"
8
+ s.version = "0.3.4"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Diego Netto"]
@@ -27,6 +27,9 @@ class GoogleWebSearch
27
27
 
28
28
  # Update the results list: (Fetch, Store, and Parse)
29
29
  updateResults("http://google.com/search?sourceid=chrome&q=#{query}")
30
+
31
+ # Update next URI
32
+ updateNextURI
30
33
  end
31
34
 
32
35
  # Update the nextURI attribute
@@ -86,11 +89,11 @@ class GoogleWebSearch
86
89
 
87
90
  # Parse the results from the next page and append to results list
88
91
  def nextResults
89
- # Update nextURI
90
- updateNextURI
91
-
92
92
  # Update results
93
93
  updateResults(@nextURI)
94
+
95
+ # Update nextURI
96
+ updateNextURI
94
97
  end
95
98
 
96
99
  # Iterator over results
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gsearch-parser
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.3
4
+ version: 0.3.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: