duck-duck-go 1.1.2 → 1.1.3

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGES CHANGED
@@ -1,3 +1,6 @@
1
+ 1.1.3 02-07-2012
2
+ - Fix live tests after DDG results changed
3
+
1
4
  1.1.2 03-05-2012
2
5
  - Fix for URI parsing exceptions InvalidURIError [Chris Nicola - https://github.com/lucisferre]
3
6
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.1.2
1
+ 1.1.3
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{duck-duck-go}
8
- s.version = "1.1.2"
8
+ s.version = "1.1.3"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["andrewrjones"]
12
- s.date = %q{2012-05-03}
12
+ s.date = %q{2012-07-02}
13
13
  s.description = %q{A Ruby library to access the DuckDuckGo Zero Click Info API.}
14
14
  s.email = %q{andrew@arjones.co.uk}
15
15
  s.extra_rdoc_files = [
@@ -6,14 +6,14 @@ require 'duck_duck_go/zero_click_info'
6
6
 
7
7
  class TestLive < Test::Unit::TestCase
8
8
 
9
- # test a live search for 'stephen fry'
9
+ # test a live search for 'jack wilshere'
10
10
  def test_live
11
11
 
12
12
  ddg = DuckDuckGo.new(nil, false)
13
- zci = ddg.zci('kelly jones')
13
+ zci = ddg.zci('jack wilshere')
14
14
 
15
15
  assert_instance_of(DuckDuckGo::ZeroClickInfo, zci)
16
- assert_equal("Kelly Jones", zci.heading)
16
+ assert_equal("Jack Wilshere", zci.heading)
17
17
  assert_equal("Wikipedia", zci.abstract_source)
18
18
  assert_equal("A", zci.type)
19
19
  end
@@ -22,10 +22,10 @@ class TestLive < Test::Unit::TestCase
22
22
  def test_live_http
23
23
 
24
24
  ddg = DuckDuckGo.new(nil, true)
25
- zci = ddg.zci('kelly jones')
25
+ zci = ddg.zci('jack wilshere')
26
26
 
27
27
  assert_instance_of(DuckDuckGo::ZeroClickInfo, zci)
28
- assert_equal("Kelly Jones", zci.heading)
28
+ assert_equal("Jack Wilshere", zci.heading)
29
29
  assert_equal("Wikipedia", zci.abstract_source)
30
30
  assert_equal("A", zci.type)
31
31
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: duck-duck-go
3
3
  version: !ruby/object:Gem::Version
4
- hash: 23
4
+ hash: 21
5
5
  prerelease:
6
6
  segments:
7
7
  - 1
8
8
  - 1
9
- - 2
10
- version: 1.1.2
9
+ - 3
10
+ version: 1.1.3
11
11
  platform: ruby
12
12
  authors:
13
13
  - andrewrjones
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2012-05-03 00:00:00 +01:00
18
+ date: 2012-07-02 00:00:00 +01:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency