hiptionary 0.1.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 ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 43e6943c1631a485c5045d0eb62b82ce0ee846ab
4
+ data.tar.gz: 3aec4e80c223a7d9103d16d80e1cfa2b3c301154
5
+ SHA512:
6
+ metadata.gz: 1b7fafe9e113e2edb5ca17132d16d910c467c53d8c1c436c9787b4c6eedda1279d57cc6ff8e7664b1969e504933876972336bdbe00bd4d58720519b5d54a8c09
7
+ data.tar.gz: 89c715ae03ac5ae7c10776b410bd7923c9d2cdcbadb2ce450b84dcbe32b7db824014b8cc199914e157c3d6b88025776a16692183150b29e03fab497b2e1cfc33
data/bin/hiptionary ADDED
@@ -0,0 +1,3 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require 'hiptionary'
@@ -0,0 +1,3 @@
1
+ module Hiptionary
2
+ VERSION = "0.1.0"
3
+ end
@@ -0,0 +1,26 @@
1
+ require_relative 'words'
2
+
3
+ module Hiptionary
4
+ module WordRandomizer
5
+ include HipsterWords
6
+
7
+ def self.get_random_number
8
+ rand(0..@@hiptionary.size - 1)
9
+ end
10
+
11
+ def self.get_word_count
12
+ puts "--------------------------------------------------"
13
+ puts "There is #{@@hiptionary.size} hipster words ready to be learned!"
14
+ puts "--------------------------------------------------"
15
+ end
16
+
17
+ def self.get_word
18
+ number = get_random_number
19
+ puts "--------------------------------------------------"
20
+ puts @@hiptionary[number][:name]
21
+ puts "Meaning: #{@@hiptionary[number][:meaning]}"
22
+ puts "Example: #{@@hiptionary[number][:example]}"
23
+ puts "--------------------------------------------------"
24
+ end
25
+ end
26
+ end
@@ -0,0 +1,192 @@
1
+ module Hiptionary
2
+ module HipsterWords
3
+ @@hiptionary = [
4
+ {
5
+ name: "Amazeballs",
6
+ meaning: "A douchy/hollywoody way to say amazing",
7
+ example: "Your shoes are amazeballs!"
8
+ },
9
+ {
10
+ name: "Totes",
11
+ meaning: "A shorter way to say totally",
12
+ example: "I totes need this shirt!"
13
+ },
14
+ {
15
+ name: "Awks",
16
+ meaning: "A way to describe something as awkward",
17
+ example: "My conversation with Eric was awks!"
18
+ },
19
+ {
20
+ name: "Devo",
21
+ meaning: "A term that is short for devastated",
22
+ example: "I was so devo last night!"
23
+ },
24
+ {
25
+ name: "Grill",
26
+ meaning: "One's personal business",
27
+ example: "Bro, you're all up in my grill"
28
+ },
29
+ {
30
+ name: "Povo",
31
+ meaning: "Short for poverty (being broke)",
32
+ example: "I really want that coffee but I'm povo"
33
+ },
34
+ {
35
+ name: "Shizz",
36
+ meaning: "A cooler way to say shit",
37
+ example: "That shizz was amazing!"
38
+ },
39
+ {
40
+ name: "Shizzle",
41
+ meaning: "It can mean 'Sure' or 'Shit', depending on the way you say it!",
42
+ example: "That's the shizzle"
43
+ },
44
+ {
45
+ name: "Chillax",
46
+ meaning: "A mixture beetween 'chill out' and 'relax'",
47
+ example: "Chillax dude, you're going to be okay!"
48
+ },
49
+ {
50
+ name: "Whatevs",
51
+ meaning: "A way to say whatever if you're cool",
52
+ example: "Whatevs"
53
+ },
54
+ {
55
+ name: "FOMO",
56
+ meaning: "Fear Of Missing Out",
57
+ example: "Peter has a huge FOMO"
58
+ },
59
+ {
60
+ name: "Cray Cray",
61
+ meaning: "When something is really crazy",
62
+ example: "That party was cray cray"
63
+ },
64
+ {
65
+ name: "Flexitarian",
66
+ meaning: "An occasional meat eater",
67
+ example: "I'm a flexitarian, it's like being vegetarian, except I eat meat too."
68
+ },
69
+ {
70
+ name: "Ganic",
71
+ meaning: "Short for organic, sometimes used to describe something extremely cool",
72
+ example: "Damn, your pants look ganic bro!"
73
+ },
74
+ {
75
+ name: "Li-fi",
76
+ meaning: "When you see a free wi-fi connection, join the network but it makes you sign up to some bullshit or tries to charge you.",
77
+ example: "This place has free wi-fi... Nevermind it's just li-fi!"
78
+ },
79
+ {
80
+ name: "Icicle Fingers",
81
+ meaning: "When your fingers are so cold, texting is almost impossible",
82
+ example: "I can't write back because of my icicle fingers!"
83
+ },
84
+ {
85
+ name: "I fuz",
86
+ meaning: "I'm totally down/I'm cool with that",
87
+ example: "Yeah, I fuz!"
88
+ },
89
+ {
90
+ name: "lol'd irl",
91
+ meaning: "When you actually laugh in real life",
92
+ example: "I lol'd irl when I saw your text!"
93
+ },
94
+ {
95
+ name: "Drake face",
96
+ meaning: "When you're sadder than sad",
97
+ example: "I've had drake face all day, because I failed my exam!"
98
+ },
99
+ {
100
+ name: "Luckfully",
101
+ meaning: "A mixture of thankfully and lucky",
102
+ example: "Luckfully I got the last item in the store"
103
+ },
104
+ {
105
+ name: "Insta-lerking",
106
+ meaning: "When you're going more than 25 weeks into someone that you fantasize about's instagram page, without liking any pictures.",
107
+ example: "I was Insta-lerking Julia last night!"
108
+ },
109
+ {
110
+ name: "Rekt",
111
+ meaning: "When someone gets completely destroyed",
112
+ example: "Holy shit brother, you just got REKT!"
113
+ },
114
+ {
115
+ name: "Handufactured",
116
+ meaning: "When something handcrated, handmade",
117
+ example: "I just handufactured my own sweater!"
118
+ },
119
+ {
120
+ name: "Scativism",
121
+ meaning: "Shitting on peoples property as a form of protest.",
122
+ example: "People used scativism to protest against their neighbours!"
123
+ },
124
+ {
125
+ name: "Name Shame",
126
+ meaning: "The point at which it's too late to ask for someone's name because you've spent so much time around them that you should already know it.",
127
+ example: "I have name shame, I've known my co-worker for 2 months and I still don't know his name!"
128
+ },
129
+ {
130
+ name: "DNB",
131
+ meaning: "A 'Do Noting Bitch', a girl that just want someone to take care of her.",
132
+ example: "This girl is just a DNB!"
133
+ },
134
+ {
135
+ name: "Selfiecidal",
136
+ meaning: "A person that takes selfies in dangerous situations or circumstances.",
137
+ example: "Holy shit, this guy is selfiecidal!"
138
+ },
139
+ {
140
+ name: "Thesaurus Rex",
141
+ meaning: "A person who uses a synonym word program or internet thesaurus, in order to make their papers appear smarter.",
142
+ example: "I can't even understand this Thesaurus Rex's paper, there is so many uncommon words."
143
+ },
144
+ {
145
+ name: "Emergenturd",
146
+ meaning: "A poop that comes so suddenly that one fears they may not be able to make it to the toilet.",
147
+ example: "I'm so happy I made it to the bathroom, I've got a major emergenturd!"
148
+ },
149
+ {
150
+ name: "Nomophobia",
151
+ meaning: "Fear of being away from your mobile phone.",
152
+ example: "I have a serious case of nomophobia!"
153
+ },
154
+ {
155
+ name: "Faceremorse",
156
+ meaning: "The moment after posting something inflammatory or militant on Facebook that you immediately regret. No matter how quickly it is deleted, people have screenshots.",
157
+ example: "She deleted her post in a fit or faceremorse, but don't worry I have a screenshot!"
158
+ },
159
+ {
160
+ name: "Narcisexual",
161
+ meaning: "That you are sexually attracted to yourself.",
162
+ example: "I think this guy is narcisexual!"
163
+ },
164
+ {
165
+ name: "Lumbersexual",
166
+ meaning: "A Metro-sexual who has the need to hold on to some outdoor based rugged-ness, thus opting to keep a finely trimmed beard. \n \n OR \n \n
167
+ A gen y or later man whom is trying desperately to be masculine by looking the part instead of being the part, eg, dressing up like a lumberjack. This is done primarily to capture lost or missing masculinity due to being emasculated by things such as his childhood environment (effeminate father, overbearing soccer mom mother, play dates, trophies for losing.... etc.), feminism, modern urban culture, and 'Sex In The City' reruns. He tries to achieve this masculinity by mimicking real men, and in this particular case a lumberjack due to their connection to blue collar work and an outdoor workplace. To distinguish between the two a number of markers serve as convincing evidence to determine between the real man and the poser. 1. Look at their hands. A lumberjack will have leather for skin, many scars, and sometimes (more often than not) crooked fingers from broken bones not properly set and treated with twigs and duct tape.... a lumbersexual will have smooth, soft hands that smell like lotion. 2. Look at their face. The lumberjack will have weathered skin and probably some scars attributed to flying debris, cable burrs, falling branches, and a number of scenarios involving axes and chain saws. 3. Offer to buy them coffee. The lumberjack will have straight up coffee, maybe with a little cream. The lumbersexual will have some sort of latte or some other fancy schmancy french shit",
168
+ example: "This guy is lumbersexual!"
169
+ },
170
+ {
171
+ name: "FOGO",
172
+ meaning: "It means 'Fear Of Going Out', opposite of FOMO (Fear of Missing Out).",
173
+ example: "I'm have a big FOGO"
174
+ },
175
+ {
176
+ name: "Poptical Illusion",
177
+ meaning: "Certain patterns on baggy pants that make a girls butt look larger or even in massive tense.",
178
+ example: "That girls pants are a poptical illusion."
179
+ },
180
+ {
181
+ name: "Bore",
182
+ meaning: "Something that's boring, and just plain yawn-inducing.",
183
+ example: "This paper is so bore!"
184
+ },
185
+ {
186
+ name: "Man date",
187
+ meaning: "Two 'straight' guys doing something that would be your standard date, like going out for a meal or dinner.",
188
+ example: "Hey Steven, do you want to go on a man date with me. We can go eat dinner!"
189
+ }
190
+ ]
191
+ end
192
+ end
data/lib/hiptionary.rb ADDED
@@ -0,0 +1,25 @@
1
+ require "hiptionary/version"
2
+ require "hiptionary/wordRandomizer"
3
+ require "optparse"
4
+
5
+ module Hiptionary
6
+ parser = OptionParser.new do |opts|
7
+ opts.banner = "Help with the hiptionary"
8
+
9
+ opts.on('-w', '--words', 'Displays new hipster word') do
10
+ puts WordRandomizer.get_word
11
+ end
12
+
13
+ opts.on('-c', '--count', 'Displays hipster word count') do
14
+ puts WordRandomizer.get_word_count
15
+ end
16
+
17
+ opts.on('-h', '--help', 'Displays help') do
18
+ puts opts
19
+ exit
20
+ end
21
+ end
22
+
23
+
24
+ parser.parse!
25
+ end
metadata ADDED
@@ -0,0 +1,78 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: hiptionary
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - LudvigSoerensen
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2016-04-29 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: bundler
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '1.9'
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '1.9'
27
+ - !ruby/object:Gem::Dependency
28
+ name: rake
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '10.0'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '10.0'
41
+ description: A simple hipster word explainer gem (Get to know those hipsterish words)
42
+ email:
43
+ - ludvigsoerensen@gmail.com
44
+ executables:
45
+ - hiptionary
46
+ extensions: []
47
+ extra_rdoc_files: []
48
+ files:
49
+ - bin/hiptionary
50
+ - lib/hiptionary.rb
51
+ - lib/hiptionary/version.rb
52
+ - lib/hiptionary/wordRandomizer.rb
53
+ - lib/hiptionary/words.rb
54
+ homepage: https://github.com/Lutski/hiptionary
55
+ licenses:
56
+ - MIT
57
+ metadata: {}
58
+ post_install_message:
59
+ rdoc_options: []
60
+ require_paths:
61
+ - lib
62
+ required_ruby_version: !ruby/object:Gem::Requirement
63
+ requirements:
64
+ - - ">="
65
+ - !ruby/object:Gem::Version
66
+ version: '0'
67
+ required_rubygems_version: !ruby/object:Gem::Requirement
68
+ requirements:
69
+ - - ">="
70
+ - !ruby/object:Gem::Version
71
+ version: '0'
72
+ requirements: []
73
+ rubyforge_project:
74
+ rubygems_version: 2.4.8
75
+ signing_key:
76
+ specification_version: 4
77
+ summary: A simple hipster word explainer gem (Get to know those hipsterish words)
78
+ test_files: []