google 1.0.9 → 1.0.10

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/README.md +8 -3
  2. data/bin/google +2 -2
  3. data/google.gemspec +1 -1
  4. 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
- \> 3 | espeak -a 200 -v en-us
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
- require_relative '../lib/google'
3
+ require 'google'
4
4
 
5
5
  opts = Trollop::options do
6
- version "google v1.0.9 (c) 2012 Kerrick Long http://kerrick.github.com/google"
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:
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = "google"
3
- s.version = "1.0.9"
3
+ s.version = "1.0.10"
4
4
  s.executables << 'google'
5
5
  s.add_runtime_dependency "trollop", ["~> 1"]
6
6
  s.add_runtime_dependency "json", ["~> 1"]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.9
4
+ version: 1.0.10
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: