ppe-dbpediafinder 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = "ppe-dbpediafinder"
3
- s.version = "0.0.2"
3
+ s.version = "0.0.3"
4
4
  s.date = "2010-03-30"
5
5
  s.summary = "DBpedia finder"
6
6
  s.email = "yves@dbtune.org"
@@ -40,7 +40,7 @@ module DbpediaFinder
40
40
  query = "\"#{label}\" site:en.wikipedia.org"
41
41
  end
42
42
  query = URI.encode(query)
43
- google_url_s = "http://ajax.googleapis.com/ajax/services/search/web?v=1.0&q=#{query}"
43
+ google_url_s = "http://ajax.googleapis.com/ajax/services/search/web?v=1.0&key=ABQIAAAAdc829JdHWtQwsQprwWSx5xS3Ndh9OqKhjcL5Rj0GT3CtgkzZLRQSROHz2l0G6XpYssegQwHlH8Jseg&q=#{query}"
44
44
  url = URI.parse(google_url_s)
45
45
  if @proxy
46
46
  h = Net::HTTP::Proxy(@proxy.host, @proxy.port).new(url.host, url.port)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ppe-dbpediafinder
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yves Raimond