yee 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +17 -1
- data/bin/yee +0 -0
- data/data/yee.mp3 +0 -0
- data/lib/yee/base.rb +38 -31
- data/lib/yee/version.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 52a42880afa70fc706da3c5f7733b9e838333e05
|
4
|
+
data.tar.gz: dd6878ab61e6b5692e50ffbdab434485d217f0ae
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cf127f47ea24490fea2a087b43e9363d8ddb778ea6443476c1d9034e5d503d23384309a8d59a7441111dd5fe9de745cfa8873efd2c1ff883f221083fd7ff01c0
|
7
|
+
data.tar.gz: 61cf7818a0fe0942d73e65adb40cd17c06ea66d441b0bbf18a2e0737ff544f6af8e8c839b96dd50f0e1cd93185a0e0c6fa3475c89d2e4e86835c8d275db9ad31
|
data/README.md
CHANGED
@@ -4,6 +4,22 @@ It does only one thing:
|
|
4
4
|
|
5
5
|
![](http://i.imgur.com/oPapSla.png)
|
6
6
|
|
7
|
+
## What is Yee?
|
8
|
+
|
9
|
+
In case you don't know what it is, Yee comes from a cartoon called 'Dinosauri antropomorfi'.
|
10
|
+
|
11
|
+
Original clip:
|
12
|
+
|
13
|
+
https://www.youtube.com/watch?v=Y52Vpjhr4MU
|
14
|
+
|
15
|
+
and someone edited and made it a song:
|
16
|
+
|
17
|
+
https://www.youtube.com/watch?v=q6EoRBvdVPQ
|
18
|
+
|
19
|
+
and hence it went viral.
|
20
|
+
|
21
|
+
Search 'Yee' on Google or Youtube and you'll find hundreds of them.
|
22
|
+
|
7
23
|
## Installation
|
8
24
|
|
9
25
|
Either puts:
|
@@ -30,7 +46,7 @@ and you see the yee output.
|
|
30
46
|
|
31
47
|
## Contributing
|
32
48
|
|
33
|
-
1. Fork it ( https://github.com/
|
49
|
+
1. Fork it ( https://github.com/nkj20932/yee/fork )
|
34
50
|
2. Create your feature branch (`git checkout -b my-new-feature`)
|
35
51
|
3. Commit your changes (`git commit -am 'Add some feature'`)
|
36
52
|
4. Push to the branch (`git push origin my-new-feature`)
|
data/bin/yee
CHANGED
File without changes
|
data/data/yee.mp3
ADDED
Binary file
|
data/lib/yee/base.rb
CHANGED
@@ -1,36 +1,43 @@
|
|
1
1
|
require 'thor'
|
2
2
|
|
3
3
|
module Yee
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
4
|
+
class Base < Thor
|
5
|
+
default_task :output
|
6
|
+
desc "", "outputting yee image and play music"
|
7
|
+
def output
|
8
|
+
puts "
|
9
|
+
░░░░░░░░░░░░░░░░░░░░░░░░░░
|
10
|
+
░░░░░░░░░░░░░▄███▄▄▄░░░░░░
|
11
|
+
░░░░░░░░░▄▄▄██▀▀▀▀███▄░░░░
|
12
|
+
░░░░░░░▄▀▀░░░░░░░░░░░▀█░░░
|
13
|
+
░░░░▄▄▀░░░░░░░░░░░░░░░▀█░░ ░ ░ ░░░░░ ░░░░░░
|
14
|
+
░░░█░░░░░▀▄░░▄▀░░░░░░░░█░░ ░ ░ ░ ░
|
15
|
+
░░░▐██▄░░▀▄▀▀▄▀░░▄██▀░▐▌░░ ░ ░░░░ ░░░░░
|
16
|
+
░░░█▀█░▀░░░▀▀░░░▀░█▀░░▐▌░░ ░ ░ ░
|
17
|
+
░░░█░░▀▐░░░░░░░░▌▀░░░░░█░░ ░ ░░░░░ ░░░░░░
|
18
|
+
░░░█░░░░░░░░░░░░░░░░░░░█░░
|
19
|
+
░░░░█░░▀▄░░░░▄▀░░░░░░░░█░░
|
20
|
+
░░░░█░░░░░░░░░░░▄▄░░░░█░░░
|
21
|
+
░░░░░█▀██▀▀▀▀██▀░░░░░░█░░░
|
22
|
+
░░░░░█░░▀████▀░░░░░░░█░░░░
|
23
|
+
░░░░░░█░░░░░░░░░░░░▄█░░░░░
|
24
|
+
░░░░░░░██░░░░░█▄▄▀▀░█░░░░░
|
25
|
+
░░░░░░░░▀▀█▀▀▀▀░░░░░░█░░░░
|
26
|
+
░░░░░░░░░█░░░░░░░░░░░░█░░░
|
27
|
+
"
|
28
|
+
`afplay #{mp3}`
|
29
|
+
end
|
30
|
+
|
31
|
+
map %w[--version -v] => :__print_version
|
32
|
+
desc "--version, -v", "show version"
|
33
|
+
def __print_version
|
34
|
+
puts Yee::VERSION
|
35
|
+
end
|
36
|
+
|
37
|
+
private
|
29
38
|
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
puts Yee::VERSION
|
34
|
-
end
|
39
|
+
def mp3
|
40
|
+
File.expand_path('../../../data/yee.mp3', __FILE__)
|
41
|
+
end
|
35
42
|
end
|
36
|
-
end
|
43
|
+
end
|
data/lib/yee/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: yee
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Adler
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-08-
|
11
|
+
date: 2015-08-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -52,6 +52,7 @@ files:
|
|
52
52
|
- README.md
|
53
53
|
- Rakefile
|
54
54
|
- bin/yee
|
55
|
+
- data/yee.mp3
|
55
56
|
- lib/yee.rb
|
56
57
|
- lib/yee/base.rb
|
57
58
|
- lib/yee/version.rb
|