google 1.0.9 → 1.0.10
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +8 -3
- data/bin/google +2 -2
- data/google.gemspec +1 -1
- metadata +1 -1
data/README.md
CHANGED
@@ -7,6 +7,8 @@ The CLI displays results from the [Google Web Search API](https://developers.goo
|
|
7
7
|
|
8
8
|
[Hosted on RubyGems](https://rubygems.org/gems/google).
|
9
9
|
|
10
|
+
[![Screenshot of `google` in action!](https://github.com/Kerrick/google/raw/master/screenshots/example_01.gif)](https://github.com/Kerrick/google/raw/master/screenshots/example_01.gif "Click to view full size")
|
11
|
+
|
10
12
|
## Installation
|
11
13
|
|
12
14
|
gem install google # Requires Ruby 1.9
|
@@ -54,7 +56,10 @@ Typing `google --help` will list all the available commands. They are also liste
|
|
54
56
|
|
55
57
|
* You can pipe a result into another unix command! At the prompt, type the number of the result, followed by a pipe as normal. Note that utilities such as `less` and `more` that need to control the display don't work.
|
56
58
|
|
57
|
-
|
59
|
+
For example,
|
60
|
+
|
61
|
+
Enter N or P for pagination, E or Q to quit, or a number to see that result.
|
62
|
+
> 3 | espeak -a 200 -v en-us
|
58
63
|
|
59
64
|
## Supported Ruby Versions
|
60
65
|
|
@@ -70,6 +75,8 @@ Copyright (c) 2012 Kerrick Long. See [LICENSE](https://github.com/Kerrick/google
|
|
70
75
|
|
71
76
|
### Dependencies
|
72
77
|
|
78
|
+
* [Trollop](http://trollop.rubyforge.org/) (gem)
|
79
|
+
|
73
80
|
* [Ruby Readability](https://github.com/iterationlabs/ruby-readability) (gem)
|
74
81
|
|
75
82
|
* [Nokogiri](http://nokogiri.org/)
|
@@ -83,5 +90,3 @@ Copyright (c) 2012 Kerrick Long. See [LICENSE](https://github.com/Kerrick/google
|
|
83
90
|
* [HTML Entities for Ruby](http://htmlentities.rubyforge.org/) (gem)
|
84
91
|
|
85
92
|
* [Reverse Markdown](https://github.com/xijo/reverse_markdown) (lib)
|
86
|
-
|
87
|
-
* [Trollop](http://trollop.rubyforge.org/) (lib)
|
data/bin/google
CHANGED
@@ -1,9 +1,9 @@
|
|
1
1
|
#!/usr/bin/env ruby
|
2
2
|
|
3
|
-
|
3
|
+
require 'google'
|
4
4
|
|
5
5
|
opts = Trollop::options do
|
6
|
-
version "google v1.0.
|
6
|
+
version "google v1.0.10 (c) 2012 Kerrick Long http://kerrick.github.com/google"
|
7
7
|
banner <<-EOM
|
8
8
|
The google gem is a simple tool to search Gooogle with via a CLI.
|
9
9
|
Usage:
|
data/google.gemspec
CHANGED