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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 3e09fd1cf5a5b5c5067a19ff9ca6589ec64927a4
4
- data.tar.gz: 1970c40090a4cb1e6efe5e6618bc243ea940bfda
3
+ metadata.gz: 52a42880afa70fc706da3c5f7733b9e838333e05
4
+ data.tar.gz: dd6878ab61e6b5692e50ffbdab434485d217f0ae
5
5
  SHA512:
6
- metadata.gz: e7559922668475625c83d9a249b0afc28567f541402c62fb9e4ebc27bfb4ec4fe6551750b7cd638967adb5c6274a49d1b6d3d3695fb566e6f94c136f1cba3c84
7
- data.tar.gz: e4a5b7ebd5ac6b3ba6c2c184f996dac6fe25cef65a3ae834f82702f1055da3708c16c0e4dc6a943d3081d24dc12be9606329dba99073be87a5e39d134c8266f5
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/[my-github-username]/yee/fork )
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
Binary file
@@ -1,36 +1,43 @@
1
1
  require 'thor'
2
2
 
3
3
  module Yee
4
- class Base < Thor
5
- default_task :output
6
- desc "", "outputting yee image"
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
- end
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
- map %w[--version -v] => :__print_version
31
- desc "--version, -v", "show version"
32
- def __print_version
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
@@ -1,3 +1,3 @@
1
1
  module Yee
2
- VERSION = "1.0.0"
2
+ VERSION = "1.0.1"
3
3
  end
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.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-25 00:00:00.000000000 Z
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