whos_dated_who 0.2.0 → 0.2.1

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,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- OWI3NGUzODllOThiZjVlYWJmZGE3MmEwYTQxM2VjZjg0MjQyOTM3Nw==
4
+ N2E0Yzg2NDUxM2UxMjliMGY5M2NhMWNlZmRjMjZmZjViN2FjNTQ4NA==
5
5
  data.tar.gz: !binary |-
6
- YWYwZWZhMjIzMGZiZmQ2MzQ5MWMxMmM1YTFjYmNiZGNjZTQxNmNlNw==
6
+ ZDEyNWEwYjMwYjdjZWQwMTM2YmQyOWRjN2QwMzRkYzY0NjI2MzVhYw==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- NjdkN2NjM2NjMDRmNTQxYWZlZmY4MTJlY2U5MTI2MzMzN2RiNDMzYjU0ODEw
10
- ZGY5NTAxYjAwZDlhODBkNmY5ZWRiODMxZjE2NDA1ZGEzM2QyMTZhMTkzNGVh
11
- ZjQxY2U4MDMyZWJlMzAxYzk3YzI5ZTE4MDBiMzBiN2YzM2Y0MDk=
9
+ ZWYxY2YxMzViNDdlYzFhNmZkNDgzMzA0MmUwNDA2NTM4YzAxZjllZDJhMTI0
10
+ Zjc2ZDlhZWNkOWEyMWQ5YzI1MzJlN2VlNzNhOGY5ZDNmNTBlNzQ3ZDNlMTQx
11
+ YzQyZmFmYzA0MTEwYWE3MWM3MDQzZTVmNWE1NjJjOGRmODc3NGM=
12
12
  data.tar.gz: !binary |-
13
- YzhlZmM0Y2YwYmU3NmM1M2UzZGE3OGYzYTZiZmU3YzMzMGQ1MmI3MDE4ZDgy
14
- MzQ4NGJiY2I5NDUxMzhmMDFmYmNkOGY0NjQ4MTcyNzY3NzVhY2UyYzNiMTEx
15
- MGVmMzA0NGJlYjRhMzk4ZjMwN2Q4NmJmNWYyYzIzNDIxYjQzZWI=
13
+ ZTNkNTgwY2JhZDRiMDI0NjMxMWY5MzIyNzY0ZjFlNjYxNTEzYTI2YWVkYWY2
14
+ YTUwNGNlNmFiMjlmZTJiZTJhOGFjOTEzOThiY2QzODU1OGMzMGQ3MTVjZmEy
15
+ NThhMGEwN2RmYmYxYjQ5ZmU5MzRmMWI2NDljZDhhMjAxNmU5YTA=
@@ -4,9 +4,9 @@ module WhosDatedWho
4
4
  API_KEY = ENV['BING_API_KEY'] ||
5
5
  YAML.load_file( File.expand_path('~/.whos_dated_who.yml'))[:bing_api_key]
6
6
 
7
- def initialize(api_key=API_KEY)
7
+ def initialize(api_key=API_KEY, num_results=10, type='Web')
8
8
  @api_key = api_key
9
- @client = Bing.new(@api_key, 10, 'Web')
9
+ @client = Bing.new(@api_key, num_results, type)
10
10
  end
11
11
 
12
12
  def search(query)
@@ -1,3 +1,3 @@
1
1
  module WhosDatedWho
2
- VERSION = "0.2.0"
2
+ VERSION = "0.2.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: whos_dated_who
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Adrian Perez
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-10-14 00:00:00.000000000 Z
11
+ date: 2014-10-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday