simple_google_custom_search 0.0.1 → 0.0.2

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.
@@ -12,7 +12,7 @@ module SimpleGoogleCustomSearch
12
12
 
13
13
  def search(query, offset=0)
14
14
  config = SimpleGoogleCustomSearch::SgcsConfig.new
15
- site = config.domain + ' -"tagged with" -"posts by date" -page'
15
+ site = config.domain
16
16
  uri = url(site, CGI.escape(query), offset)
17
17
  return nil unless resp = fetch(uri)
18
18
 
@@ -1,3 +1,3 @@
1
1
  module SimpleGoogleCustomSearch
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: simple_google_custom_search
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-02-03 00:00:00.000000000 Z
12
+ date: 2013-03-14 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: hpricot
16
- requirement: !ruby/object:Gem::Requirement
16
+ requirement: &2153129080 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,12 +21,7 @@ dependencies:
21
21
  version: '0'
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
- requirements:
27
- - - ! '>='
28
- - !ruby/object:Gem::Version
29
- version: '0'
24
+ version_requirements: *2153129080
30
25
  description: With Simple Google Custom Search, add a search box to your homepage to
31
26
  help people find what they need on your website
32
27
  email:
@@ -66,7 +61,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
66
61
  version: '0'
67
62
  requirements: []
68
63
  rubyforge_project:
69
- rubygems_version: 1.8.25
64
+ rubygems_version: 1.8.15
70
65
  signing_key:
71
66
  specification_version: 3
72
67
  summary: Simple Google Query Search API