hedbergism 1.0.3 → 1.0.4
Sign up to get free protection for your applications and to get access to all the features.
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: hedbergism
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.4
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -27,27 +27,14 @@ dependencies:
|
|
27
27
|
- - ! '>='
|
28
28
|
- !ruby/object:Gem::Version
|
29
29
|
version: '0'
|
30
|
-
description: ! "
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
[options] are:\n\t\t\t\t --file, -f: Alternate file to get quotes from. File
|
39
|
-
must be \"~~\" delimited\n \t\t\t\t--version, -v: Print version and exit\n \t\t\t
|
40
|
-
\ --help, -h: Show this message\n## Examples\n\nWith no parameters:\n\n\t\t >
|
41
|
-
hedbergism\n\t\t################################################################################\n\t\t#
|
42
|
-
\ #\n\t\t#
|
43
|
-
A burrito is a sleeping bag for ground beef. #\n\t\t#
|
44
|
-
\ #\n\t\t################################################################################\n\nWith
|
45
|
-
parameter passing a custom file:\n\n\t\t> hedbergism -f /Users/dmbrooking/Dev/hedbergism/bin/quotes.csv\n\t\t################################################################################\n\t\t#
|
46
|
-
\ #\n\t\t#
|
47
|
-
I was walking down the street the other day when this guy asked if I #\n\t\t#
|
48
|
-
wanted a frozen banana...I said 'no' but then thought I might want a #\n\t\t#
|
49
|
-
regular banana later, so...yeah. #\n\t\t#
|
50
|
-
\ #\n\t\t################################################################################\n\t\t\n"
|
30
|
+
description: ! "This is just a REALLY simple RubyGem that will return a random Mitch
|
31
|
+
Hedberg quote. I decided to do this after taking a course on Ruby - I thought I
|
32
|
+
could force it into being a little more complicated to test some of what I learned....
|
33
|
+
but this is about as simple as it gets.\n\n From a pure OO standpoint, there probably
|
34
|
+
are some issues with this implementation, regardless of how simple it is. The Quote
|
35
|
+
object probably shouldn't handle printing to the screen. But that's how I did it...
|
36
|
+
maybe I'll enhance it that. Maybe make a Printable mix-in that handle outputting
|
37
|
+
in different format?"
|
51
38
|
email: dmbrooking@gmail.com
|
52
39
|
executables:
|
53
40
|
- hedbergism
|