bwroulette 1.0.0
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/bin/bwroulette +5 -0
- data/lib/bwroulette.rb +30 -0
- metadata +47 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 35ed3ff63f5216b7d2849a5e0569a510003be9c0
|
4
|
+
data.tar.gz: 188225c9b3ccf154521503f9b30a5bf55d4741f4
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 2a51939eaeca42e18d10edccb986f92383f2595fbeb339d0111a01444841eadf46f9ba20e2813f8cc7c40c6440d1578d21ce640569017d25a03dbb060306095a
|
7
|
+
data.tar.gz: 862f64cd5854de22d4d78ec2aa4ad0bcbb623ac779bceed2ba772fc9d00046e7c966e73eab9af9d9f60cdbc589733808685caf0800289054dfdad4532726e77c
|
data/bin/bwroulette
ADDED
data/lib/bwroulette.rb
ADDED
@@ -0,0 +1,30 @@
|
|
1
|
+
class BWRoulette
|
2
|
+
def self.excuse
|
3
|
+
nouns = [
|
4
|
+
"my cat",
|
5
|
+
"the boiler",
|
6
|
+
"my car",
|
7
|
+
"the neighbours",
|
8
|
+
"my teacher",
|
9
|
+
"the computer",
|
10
|
+
"my friend's mother",
|
11
|
+
"that guy I met last week"
|
12
|
+
]
|
13
|
+
|
14
|
+
actions = [
|
15
|
+
"is giving birth",
|
16
|
+
"is getting robbed",
|
17
|
+
"is spilling water everywhere",
|
18
|
+
"is on fire",
|
19
|
+
"just fell over outside",
|
20
|
+
"got lost on the way and I have to pick them up",
|
21
|
+
"just broke down",
|
22
|
+
"needs to be fixed",
|
23
|
+
"lost a lot of blood",
|
24
|
+
"is taking way too long, I have to see what the problem is",
|
25
|
+
"is taking on water!",
|
26
|
+
]
|
27
|
+
|
28
|
+
"Sorry guys, #{nouns.sample} #{actions.sample}"
|
29
|
+
end
|
30
|
+
end
|
metadata
ADDED
@@ -0,0 +1,47 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: bwroulette
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 1.0.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Tom Cowling
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2017-08-02 00:00:00.000000000 Z
|
12
|
+
dependencies: []
|
13
|
+
description:
|
14
|
+
email:
|
15
|
+
- tom.cowling@gmail.com
|
16
|
+
executables:
|
17
|
+
- bwroulette
|
18
|
+
extensions: []
|
19
|
+
extra_rdoc_files: []
|
20
|
+
files:
|
21
|
+
- bin/bwroulette
|
22
|
+
- lib/bwroulette.rb
|
23
|
+
homepage: https://www.tomcowling.com
|
24
|
+
licenses:
|
25
|
+
- MIT
|
26
|
+
metadata: {}
|
27
|
+
post_install_message:
|
28
|
+
rdoc_options: []
|
29
|
+
require_paths:
|
30
|
+
- lib
|
31
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
32
|
+
requirements:
|
33
|
+
- - ">="
|
34
|
+
- !ruby/object:Gem::Version
|
35
|
+
version: '0'
|
36
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - ">="
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '0'
|
41
|
+
requirements: []
|
42
|
+
rubyforge_project:
|
43
|
+
rubygems_version: 2.5.2
|
44
|
+
signing_key:
|
45
|
+
specification_version: 4
|
46
|
+
summary: This is bwroulette
|
47
|
+
test_files: []
|