binger 0.1.0 → 1.0.0
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/lib/binger.rb +2 -2
- metadata +4 -3
data/lib/binger.rb
CHANGED
|
@@ -15,7 +15,7 @@ require 'uri'
|
|
|
15
15
|
#
|
|
16
16
|
# Example:
|
|
17
17
|
#
|
|
18
|
-
# >> require '
|
|
18
|
+
# >> require 'binger'
|
|
19
19
|
# => true
|
|
20
20
|
# >> bing = Bing.new('your-api-key')
|
|
21
21
|
# => #<Bing:0x1af10 @api_key="your-api-key">
|
|
@@ -27,7 +27,7 @@ require 'uri'
|
|
|
27
27
|
@api_key = api_key
|
|
28
28
|
end
|
|
29
29
|
|
|
30
|
-
# Sending a request HTTP GET
|
|
30
|
+
# Sending a request HTTP GET to the Endpoint.
|
|
31
31
|
#
|
|
32
32
|
# A request to the HTTP endpoint consists of a HTTP GET request to the approriate URI. There are two URLs, one for XML results and one for JSON results.
|
|
33
33
|
# These are http://api.bing.com/xml.aspx and and http://api.bing.com/json.aspx, respectively.
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: binger
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version:
|
|
4
|
+
version: 1.0.0
|
|
5
5
|
prerelease:
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
@@ -11,14 +11,15 @@ bindir: bin
|
|
|
11
11
|
cert_chain: []
|
|
12
12
|
date: 2013-03-14 00:00:00.000000000 Z
|
|
13
13
|
dependencies: []
|
|
14
|
-
description: A simple
|
|
14
|
+
description: A simple gem that provides a client to Microsoft's Bing Search API Endpoint
|
|
15
|
+
using HTTP GET
|
|
15
16
|
email: mergesortv@gmail.com
|
|
16
17
|
executables: []
|
|
17
18
|
extensions: []
|
|
18
19
|
extra_rdoc_files: []
|
|
19
20
|
files:
|
|
20
21
|
- lib/binger.rb
|
|
21
|
-
homepage:
|
|
22
|
+
homepage: https://github.com/thinkphp/binger
|
|
22
23
|
licenses: []
|
|
23
24
|
post_install_message:
|
|
24
25
|
rdoc_options: []
|