kokomo 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +11 -2
- data/exe/kokomo +8 -3
- data/lib/kokomo/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a312636f75f915083ffd87d2c2bccc7853278951
|
4
|
+
data.tar.gz: 354c09231a9b968028ce176f60ca54fbf9d06cef
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5885a39bc8e79e53d114e3e73c4b68a2126eaff5edd07719a8c5c24230002360411677da515bcfd6f6749685301bb8b26f98329e237b4c1a417321bd1c2a8758
|
7
|
+
data.tar.gz: 3b546faa648100f91d54ac2b67c271801675c30a7179aff0573073eaebc899912188d6f473146b1bff65f196ea1eee865d952a059fd090e9733ebe6077dbc04c
|
data/README.md
CHANGED
@@ -30,20 +30,29 @@ $ kokomo
|
|
30
30
|
|
31
31
|
Then...WHAMMO!
|
32
32
|
|
33
|
+
![A still from the kokomo video](./resources/kokomo.png)
|
34
|
+
|
33
35
|
## Advanced Usage
|
36
|
+
|
34
37
|
Advanced users can take advantage of `kokomo`'s powerful command line interface.
|
35
38
|
|
36
39
|
```sh
|
37
|
-
$ kokomo -h
|
38
40
|
Usage: kokomo [options]
|
39
41
|
-c, --classic Classic Kokomo. Default.
|
40
42
|
-m, --muppets kokomo by the muppets.wmv
|
41
43
|
-k, --karaoke Kokomo for Karaoke with friends
|
44
|
+
-l, --lyrics Kokomo lyrics
|
42
45
|
-r, --random DANGER!!! Random Kokomo
|
43
46
|
-h, --help Show this help message
|
44
47
|
```
|
45
48
|
|
46
|
-
|
49
|
+
### Fun With `--lyrics`
|
50
|
+
|
51
|
+
```sh
|
52
|
+
$ kokomo -l | say
|
53
|
+
$ kokomo -l | say -v Fred
|
54
|
+
$ kokomo -l | say -v "Bad News"
|
55
|
+
```
|
47
56
|
|
48
57
|
## Development
|
49
58
|
|
data/exe/kokomo
CHANGED
@@ -24,10 +24,15 @@ OptionParser.new do |parser|
|
|
24
24
|
parser.on('-c', '--classic', 'Classic Kokomo. Default.') {}
|
25
25
|
parser.on('-m', '--muppets', 'kokomo by the muppets.wmv') { current_kokomo = KOKOMOS[:muppets] }
|
26
26
|
parser.on('-k', '--karaoke', 'Kokomo for Karaoke with friends') { current_kokomo = KOKOMOS[:karaoke] }
|
27
|
-
parser.on('-
|
28
|
-
parser.on('-
|
27
|
+
parser.on('-l', '--lyrics', 'Kokomo lyrics') { current_kokomo = KOKOMOS[:lyrics] }
|
28
|
+
parser.on('-r', '--random', 'DANGER!!! Random Kokomo') { current_kokomo = KOKOMOS[KOKOMOS.keys.sample] }
|
29
|
+
parser.on('-h', '--help', 'Show this help message') { puts parser; exit 0; }
|
29
30
|
end.parse!
|
30
31
|
|
31
|
-
|
32
|
+
if current_kokomo == :lyrics
|
32
33
|
print_to_screen
|
34
|
+
else
|
35
|
+
Launchy.open(current_kokomo, options = {}) do |exception|
|
36
|
+
print_to_screen
|
37
|
+
end
|
33
38
|
end
|
data/lib/kokomo/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: kokomo
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- nodanaonlyzuul
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-09-
|
11
|
+
date: 2018-09-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: launchy
|