gss 0.0.5 → 0.0.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +8 -8
  2. data/README.md +15 -2
  3. data/gss.gemspec +1 -1
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- NDUwMjY3NzhkY2ZlMmQ4NTUwYmJhM2UxYzVlNmY3MjYzMWJmZjAxMQ==
4
+ MTYwMzFmNWU5OTRhMjM4YjdmNDBlZjg4ZWI2NGZhMzk1OTJhNjIyNw==
5
5
  data.tar.gz: !binary |-
6
- YzA0MDUzOTAxODEyNWQzYjlhYTBmNWE4MGRmZGY1YmE4OGM3YjllZA==
6
+ ODEyNGUzODJhZDgxMmI3YjI4MmEzMGZhODA0ZmQwNTFmNmQxYTNiZg==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- NTM2NmY5NTQxZTU4MjJjYjQwYWM2NDk3M2M2YWFkYjlkOGY1MzAxNjNlY2Vh
10
- ZGQ0YTE2MjhlZWU1MzE4M2VmYmUxZmQ4YTUxYjYwMDZiN2E4ZDgwOWU3Y2I0
11
- NjQwOTRmM2EwNjhhZjJmNDdmOTUwZTk4YjY4YjkwNzc2MzkwY2M=
9
+ ZWE4YTA0MTVlMWQ4NzJjOWJmNzc2NTE5NmZhMTJiODdkNDM5OWY5NDhjYjk2
10
+ YzVmMDg1NGM3ODM2ZGU5NDMzZDdjODdiY2MzMDI5NGE4ZDUyYTJmNjhlODQ1
11
+ NmJhNTc3YTM1NjBjOTgxNDlmNjliOTJlYjJmMjZmYjRmZmZjYTM=
12
12
  data.tar.gz: !binary |-
13
- NDlhN2FjZDllNTgwMjRiNTliYTVjYTViY2Q1NDgxY2FjYzI5ZjM3NTVjZDRl
14
- MWIyNDdlZGRlNzYzNzJhMDZmYjEyOWYzNzBjYThhZmVkOTgyNTE4MTFkODAx
15
- NWM1NzIxOWQ0YmVlYmY2NzhkNzMwNjMxMzFkNzliZjAzZjJjNTk=
13
+ MjdmMTRiNGMxNmNhMDNiZTY3OTExMWU4MTRhMGY3ODI5YmU2YTExNGZiNzJl
14
+ MzQyOTU2YzYyZDExZTA4ZGE4MzMwNTJiNTExYmRhMWZmZjVmYzU5OGI5ZTQ4
15
+ MDgyNWNmMTdlM2QzNTViNDE4ZjZlZTYzM2VlMzkwMjMzNmFkMDY=
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Gss
2
2
 
3
- TODO: Write a gem description
3
+ This module is small but powerful if you like to webscrape. Give Gss a site and a search query and it will return the top results for your search.
4
4
 
5
5
  ## Installation
6
6
 
@@ -18,7 +18,20 @@ Or install it yourself as:
18
18
 
19
19
  ## Usage
20
20
 
21
- TODO: Write usage instructions here
21
+ Here is the one line that you would want it for.
22
+ (top_result, top_results) = Gss.return_results("imdb.com", "Amazing Spiderman")
23
+
24
+ top_result is a Hash object has holds three values:
25
+ name - The name of the link.
26
+ url - The url to go to that site.
27
+ description - The short summary about what the link is about.
28
+
29
+ top_results is an array of Hash objects containing the top ten results
30
+ The hash objects are the same as top_result.
31
+ In fact top_results[0] would be equal top_result.
32
+ To get second link would be top_results[1]
33
+
34
+ That is all that there is to it, but it is very helpful.
22
35
 
23
36
  ## Contributing
24
37
 
data/gss.gemspec CHANGED
@@ -5,7 +5,7 @@ require 'gss/version'
5
5
 
6
6
  Gem::Specification.new do |spec|
7
7
  spec.name = "gss"
8
- spec.version = "0.0.5"
8
+ spec.version = "0.0.6"
9
9
  spec.authors = ["rfitzger"]
10
10
  spec.email = ["ritchiefitz1@gmail.com"]
11
11
  spec.summary = %q{Grabs top google results from a given site with a given string.}
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gss
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - rfitzger