fillerama 0.1.0 → 0.1.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.
- data/README.md +1 -1
- data/lib/fillerama/cli.rb +1 -1
- data/lib/fillerama/version.rb +1 -1
- metadata +1 -1
data/README.md
CHANGED
@@ -21,7 +21,7 @@ Or install it yourself as:
|
|
21
21
|
Fillerama: A Filler Text Generator
|
22
22
|
|
23
23
|
Usage: fillerama [options]
|
24
|
-
-c, --count COUNT Number of quotes to retrieve (default is
|
24
|
+
-c, --count COUNT Number of quotes to retrieve (default is 1)
|
25
25
|
-d, --dexter Dexter
|
26
26
|
-D, --doctorwho Doctor Who
|
27
27
|
-f, --futurama Futurama (default)
|
data/lib/fillerama/cli.rb
CHANGED
@@ -8,7 +8,7 @@ module Fillerama
|
|
8
8
|
opts = ::OptionParser.new do |opts|
|
9
9
|
opts.banner = "\033[1m\033[32mFillerama\033[0m\033[0m: A Filler Text Generator\n\nUsage: fillerama [options]"
|
10
10
|
|
11
|
-
opts.on('-c', '--count COUNT', 'Number of quotes to retrieve (default is
|
11
|
+
opts.on('-c', '--count COUNT', 'Number of quotes to retrieve (default is 1)') {|c| options[:count] = c.to_i}
|
12
12
|
opts.on('-d', '--dexter', 'Dexter') {options[:source] = 'dexter'}
|
13
13
|
opts.on('-D', '--doctorwho', 'Doctor Who') {options[:source] = 'doctorwho'}
|
14
14
|
opts.on('-f', '--futurama', 'Futurama (default)') {options[:source] = 'futurama'}
|
data/lib/fillerama/version.rb
CHANGED