boteco 0.0.1
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/boteco.rb +20 -0
- data/lib/boteco/actions.rb +16 -0
- data/lib/boteco/greetings.rb +14 -0
- data/lib/boteco/names.rb +152 -0
- metadata +47 -0
checksums.yaml
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
---
|
|
2
|
+
SHA256:
|
|
3
|
+
metadata.gz: 0b7573eecad4ea02a640c59f8694492e0b9cc5dbb5b58b4c73276452bff38d25
|
|
4
|
+
data.tar.gz: 630dbf3dfbfd471cb9b1434143fdc949d2ccea816e96a5cb1bf16435a010de94
|
|
5
|
+
SHA512:
|
|
6
|
+
metadata.gz: 037bb7de85280e4dfa4ccb5ea970ef9fe93b2f89fe197df92e68f54b1ab2bc362843a45cf22d20b35451641dfaeacd8080f631597e1e450dc7346c76193cbbd8
|
|
7
|
+
data.tar.gz: 7cefdf4a951abde48a0b2a5e16aa4dc225c2b040e898913ca9f956b1b6bca47a7c3924a6976e5bf8a739d7012d4bb84b19cb5b66a68c3fe15e13ec6093ed5839
|
data/boteco.rb
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
class Boteco
|
|
2
|
+
# Chamar garçom
|
|
3
|
+
def self.call
|
|
4
|
+
action = Actions.action
|
|
5
|
+
greetings = Greetings.greeting
|
|
6
|
+
names = Names.name
|
|
7
|
+
return "#{greetings} meu #{names.downcase}! #{action}!"
|
|
8
|
+
end
|
|
9
|
+
|
|
10
|
+
def self. drunk
|
|
11
|
+
action = Actions.action
|
|
12
|
+
greetings = Greetings.greeting
|
|
13
|
+
names = Names.name
|
|
14
|
+
return "#{"#{greetings} meu #{names.downcase.reverse} hic! #{action.downcase.reverse} hic!"}"
|
|
15
|
+
end
|
|
16
|
+
end
|
|
17
|
+
|
|
18
|
+
require_relative 'lib/boteco/actions'
|
|
19
|
+
require_relative 'lib/boteco/greetings'
|
|
20
|
+
require_relative 'lib/boteco/names'
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
class Boteco::Actions
|
|
2
|
+
def self.action
|
|
3
|
+
return [
|
|
4
|
+
"Desce mais uma rodada!",
|
|
5
|
+
"Desce mais uma",
|
|
6
|
+
"Traz a saidêrá",
|
|
7
|
+
"Me vê o supra-sumo",
|
|
8
|
+
"Solta a gelada",
|
|
9
|
+
"Traz um refil",
|
|
10
|
+
"Me dá uma benção!",
|
|
11
|
+
"Conceda sua graça",
|
|
12
|
+
"Manda aquela",
|
|
13
|
+
"Solta já trincando"
|
|
14
|
+
].sample
|
|
15
|
+
end
|
|
16
|
+
end
|
data/lib/boteco/names.rb
ADDED
|
@@ -0,0 +1,152 @@
|
|
|
1
|
+
class Boteco::Names
|
|
2
|
+
def self.name
|
|
3
|
+
return [
|
|
4
|
+
"Abençoado",
|
|
5
|
+
"Acionista",
|
|
6
|
+
"Afortunado",
|
|
7
|
+
"Afrontoso",
|
|
8
|
+
"Almirante",
|
|
9
|
+
"Ameríndio",
|
|
10
|
+
"Amigão",
|
|
11
|
+
"Amigo Charlie Brown",
|
|
12
|
+
"Amoroso",
|
|
13
|
+
"Antagonista",
|
|
14
|
+
"Antropófago",
|
|
15
|
+
"Arduíno",
|
|
16
|
+
"Aristocrata",
|
|
17
|
+
"Arrojado",
|
|
18
|
+
"Artilheiro",
|
|
19
|
+
"Associado",
|
|
20
|
+
"Avassalador",
|
|
21
|
+
"Bacana",
|
|
22
|
+
"Bacano",
|
|
23
|
+
"Bacharel",
|
|
24
|
+
"Balaústre",
|
|
25
|
+
"Baluarte",
|
|
26
|
+
"Barroco",
|
|
27
|
+
"Benevolente",
|
|
28
|
+
"Bigode",
|
|
29
|
+
"Bolivariano",
|
|
30
|
+
"Bon Vivant",
|
|
31
|
+
"Bona Fé",
|
|
32
|
+
"Bonachão",
|
|
33
|
+
"Brother",
|
|
34
|
+
"Cabriolet",
|
|
35
|
+
"Camarada",
|
|
36
|
+
"Camisa 10",
|
|
37
|
+
"Campeão",
|
|
38
|
+
"Camponês",
|
|
39
|
+
"Cantochão",
|
|
40
|
+
"Capitão",
|
|
41
|
+
"Carnavalesco",
|
|
42
|
+
"Celibatário",
|
|
43
|
+
"Chanceler",
|
|
44
|
+
"Chapa",
|
|
45
|
+
"Charmoso",
|
|
46
|
+
"Chefia",
|
|
47
|
+
"Comandante",
|
|
48
|
+
"Combatente",
|
|
49
|
+
"Comediante",
|
|
50
|
+
"Companheiro",
|
|
51
|
+
"Comtemporâneo",
|
|
52
|
+
"Coronel",
|
|
53
|
+
"Correligionário",
|
|
54
|
+
"Cosmopolita",
|
|
55
|
+
"Delator",
|
|
56
|
+
"Dementador",
|
|
57
|
+
"Democrata",
|
|
58
|
+
"Desbravador",
|
|
59
|
+
"Diamante",
|
|
60
|
+
"Diplomata",
|
|
61
|
+
"Dramaturgo",
|
|
62
|
+
"Ébano",
|
|
63
|
+
"Eclesiasta",
|
|
64
|
+
"Eloquente",
|
|
65
|
+
"Emancipado",
|
|
66
|
+
"Emissário",
|
|
67
|
+
"Encantador",
|
|
68
|
+
"Enquirídio",
|
|
69
|
+
"Entrepeneur",
|
|
70
|
+
"Escrivão",
|
|
71
|
+
"Estrategista",
|
|
72
|
+
"Estruturalista",
|
|
73
|
+
"Estupendo",
|
|
74
|
+
"Extravagancia",
|
|
75
|
+
"Extravagante",
|
|
76
|
+
"Famigerado",
|
|
77
|
+
"Fashionista",
|
|
78
|
+
"Federado",
|
|
79
|
+
"Fera",
|
|
80
|
+
"Fidedigno",
|
|
81
|
+
"Filantropo",
|
|
82
|
+
"Formoso",
|
|
83
|
+
"Garanhão",
|
|
84
|
+
"Generoso",
|
|
85
|
+
"Gerente",
|
|
86
|
+
"Grã-Fino",
|
|
87
|
+
"Guardião",
|
|
88
|
+
"Historiador",
|
|
89
|
+
"Homologado",
|
|
90
|
+
"Humorista",
|
|
91
|
+
"Iluminado",
|
|
92
|
+
"Ilusionista",
|
|
93
|
+
"Ilustre",
|
|
94
|
+
"Imaculado",
|
|
95
|
+
"Inadimplente",
|
|
96
|
+
"Influencer",
|
|
97
|
+
"Inoxidável",
|
|
98
|
+
"Inquisitor",
|
|
99
|
+
"Jesuíta",
|
|
100
|
+
"Legatário",
|
|
101
|
+
"Litorâneo",
|
|
102
|
+
"Maestro",
|
|
103
|
+
"Magnata",
|
|
104
|
+
"Mascarado",
|
|
105
|
+
"Messias",
|
|
106
|
+
"Mestre",
|
|
107
|
+
"Mionzera",
|
|
108
|
+
"Monarca",
|
|
109
|
+
"Navegante",
|
|
110
|
+
"Nego Fera",
|
|
111
|
+
"Nórdico",
|
|
112
|
+
"Palestrinha",
|
|
113
|
+
"Patrão",
|
|
114
|
+
"Pecado",
|
|
115
|
+
"Peregrino",
|
|
116
|
+
"Persuasivo",
|
|
117
|
+
"Pierrot",
|
|
118
|
+
"Piloto",
|
|
119
|
+
"Politeísta",
|
|
120
|
+
"Pós-moderno",
|
|
121
|
+
"Pragmático",
|
|
122
|
+
"Procarionte",
|
|
123
|
+
"Promotor",
|
|
124
|
+
"Protagonista",
|
|
125
|
+
"Queridão",
|
|
126
|
+
"Quirografário",
|
|
127
|
+
"Renacentista",
|
|
128
|
+
"Resplandecente",
|
|
129
|
+
"Reverendo",
|
|
130
|
+
"Roshan",
|
|
131
|
+
"Saboteur",
|
|
132
|
+
"Sambarilove",
|
|
133
|
+
"Secular",
|
|
134
|
+
"Sensei",
|
|
135
|
+
"Soberbo",
|
|
136
|
+
"Sócio",
|
|
137
|
+
"Socrático",
|
|
138
|
+
"Soturno",
|
|
139
|
+
"Talentoso",
|
|
140
|
+
"Tórrido",
|
|
141
|
+
"Trequartista",
|
|
142
|
+
"Tributarista",
|
|
143
|
+
"Tupã",
|
|
144
|
+
"Tupi-Guarani",
|
|
145
|
+
"Valoroso",
|
|
146
|
+
"Vanguardista",
|
|
147
|
+
"Xamã",
|
|
148
|
+
"Xará",
|
|
149
|
+
"Zagueiro",
|
|
150
|
+
].sample
|
|
151
|
+
end
|
|
152
|
+
end
|
metadata
ADDED
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
|
2
|
+
name: boteco
|
|
3
|
+
version: !ruby/object:Gem::Version
|
|
4
|
+
version: 0.0.1
|
|
5
|
+
platform: ruby
|
|
6
|
+
authors:
|
|
7
|
+
- Gabriel Schiavo
|
|
8
|
+
autorequire:
|
|
9
|
+
bindir: bin
|
|
10
|
+
cert_chain: []
|
|
11
|
+
date: 2019-08-19 00:00:00.000000000 Z
|
|
12
|
+
dependencies: []
|
|
13
|
+
description: Dificuldades em chamar um garçom? Chame o seu garçom favorito do jeito
|
|
14
|
+
mais criativo!
|
|
15
|
+
email: gabriel.smpenha@fco.net.br
|
|
16
|
+
executables: []
|
|
17
|
+
extensions: []
|
|
18
|
+
extra_rdoc_files: []
|
|
19
|
+
files:
|
|
20
|
+
- boteco.rb
|
|
21
|
+
- lib/boteco/actions.rb
|
|
22
|
+
- lib/boteco/greetings.rb
|
|
23
|
+
- lib/boteco/names.rb
|
|
24
|
+
homepage: https://github.com/gbs0/boteco_gem
|
|
25
|
+
licenses:
|
|
26
|
+
- MIT
|
|
27
|
+
metadata: {}
|
|
28
|
+
post_install_message:
|
|
29
|
+
rdoc_options: []
|
|
30
|
+
require_paths:
|
|
31
|
+
- lib
|
|
32
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
|
33
|
+
requirements:
|
|
34
|
+
- - ">="
|
|
35
|
+
- !ruby/object:Gem::Version
|
|
36
|
+
version: '0'
|
|
37
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
38
|
+
requirements:
|
|
39
|
+
- - ">="
|
|
40
|
+
- !ruby/object:Gem::Version
|
|
41
|
+
version: '0'
|
|
42
|
+
requirements: []
|
|
43
|
+
rubygems_version: 3.0.4
|
|
44
|
+
signing_key:
|
|
45
|
+
specification_version: 4
|
|
46
|
+
summary: ''
|
|
47
|
+
test_files: []
|