cowblame 0.0.4
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.
- checksums.yaml +7 -0
- data/lib/CowBlame.rb +20 -0
- data/lib/names.txt +28 -0
- metadata +44 -0
checksums.yaml
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
---
|
|
2
|
+
SHA1:
|
|
3
|
+
metadata.gz: ec0c7fb57b42f9d488b41178251efd55a0059bca
|
|
4
|
+
data.tar.gz: 88a1d5c7192b71be8c92a243a797df2f19c33bc5
|
|
5
|
+
SHA512:
|
|
6
|
+
metadata.gz: 63a20413fc60a6e0fcba481c799ea400be319f300ef0d52b853a8da0abb4b860c916fa7e04b1e861c18b999bd08708a69b183e2cd3366e58b71a02fa05538ddf
|
|
7
|
+
data.tar.gz: 1987a0a8b5540c945703b3bfa2e47f99b44f7eae02b5a4c9e3beef5064b07c7899404ff414c02487fbaf4fdac42cdc242542192fcf7be69bbf3c4da1af8dcf9b
|
data/lib/CowBlame.rb
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
class CowBlame
|
|
2
|
+
def self.cow
|
|
3
|
+
name = File.join(File.dirname(__FILE__), '/names.txt')
|
|
4
|
+
random_line = File.readlines(name).sample
|
|
5
|
+
random_line.gsub!(/\r\n?/, "")
|
|
6
|
+
|
|
7
|
+
cow = "
|
|
8
|
+
IT WAS #{random_line.upcase.chomp}
|
|
9
|
+
I SWEAR!
|
|
10
|
+
THAT PERSON BROKE IT!
|
|
11
|
+
\\ ^__^
|
|
12
|
+
\\ (oo)\\_______
|
|
13
|
+
\\ (__)\\ 0 0 )\\ *
|
|
14
|
+
||----w | \\/
|
|
15
|
+
|| ||
|
|
16
|
+
"
|
|
17
|
+
end
|
|
18
|
+
puts cow
|
|
19
|
+
|
|
20
|
+
end
|
data/lib/names.txt
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
Nate
|
|
2
|
+
Jason
|
|
3
|
+
Jason
|
|
4
|
+
Jason
|
|
5
|
+
Nathan
|
|
6
|
+
Mark
|
|
7
|
+
Amy
|
|
8
|
+
Chris
|
|
9
|
+
Fonzi
|
|
10
|
+
James
|
|
11
|
+
David
|
|
12
|
+
Ali
|
|
13
|
+
Monica
|
|
14
|
+
Travis
|
|
15
|
+
Tom
|
|
16
|
+
John
|
|
17
|
+
Scott
|
|
18
|
+
Scott
|
|
19
|
+
Scott
|
|
20
|
+
Matty
|
|
21
|
+
Perry
|
|
22
|
+
Jeremy
|
|
23
|
+
Blair
|
|
24
|
+
Mike
|
|
25
|
+
Paul
|
|
26
|
+
Stephen
|
|
27
|
+
Jake
|
|
28
|
+
Alek
|
metadata
ADDED
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
|
2
|
+
name: cowblame
|
|
3
|
+
version: !ruby/object:Gem::Version
|
|
4
|
+
version: 0.0.4
|
|
5
|
+
platform: ruby
|
|
6
|
+
authors:
|
|
7
|
+
- Alfonso Vazquez
|
|
8
|
+
autorequire:
|
|
9
|
+
bindir: bin
|
|
10
|
+
cert_chain: []
|
|
11
|
+
date: 2018-11-23 00:00:00.000000000 Z
|
|
12
|
+
dependencies: []
|
|
13
|
+
description: A cow that blames people
|
|
14
|
+
email: alfonso.vazquez@protonmail.com
|
|
15
|
+
executables: []
|
|
16
|
+
extensions: []
|
|
17
|
+
extra_rdoc_files: []
|
|
18
|
+
files:
|
|
19
|
+
- lib/CowBlame.rb
|
|
20
|
+
- lib/names.txt
|
|
21
|
+
homepage: https://github.com/fonzi/CowBlame
|
|
22
|
+
licenses: []
|
|
23
|
+
metadata: {}
|
|
24
|
+
post_install_message:
|
|
25
|
+
rdoc_options: []
|
|
26
|
+
require_paths:
|
|
27
|
+
- lib
|
|
28
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
|
29
|
+
requirements:
|
|
30
|
+
- - ">="
|
|
31
|
+
- !ruby/object:Gem::Version
|
|
32
|
+
version: '0'
|
|
33
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
34
|
+
requirements:
|
|
35
|
+
- - ">="
|
|
36
|
+
- !ruby/object:Gem::Version
|
|
37
|
+
version: '0'
|
|
38
|
+
requirements: []
|
|
39
|
+
rubyforge_project:
|
|
40
|
+
rubygems_version: 2.6.14
|
|
41
|
+
signing_key:
|
|
42
|
+
specification_version: 4
|
|
43
|
+
summary: All your Cows
|
|
44
|
+
test_files: []
|