rapsum 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/lib/rapsum.rb +112 -0
- metadata +44 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 1c67ddd0f39b91f4e9793ed243d45bb772214e47
|
4
|
+
data.tar.gz: 36a449ac124f13a0d9f52d5841f8c02e794514ac
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 41afd0a36ded439eb4b7b1f26dfc32908e24a3534a32cc2d86b26d63c79f69c7a6dd587beb7cbec2b71112a3918a557ae55ee7cec4ded764e0ad86011890046c
|
7
|
+
data.tar.gz: 20f6f558558424229b3daa45e43a01e9f8c188725a22a53b74975e03718d3e7ab56d0e0d9d3453fb43b288c40645bc8390b8704b5d7ea9b0139b6cb6df9cb1d3
|
data/lib/rapsum.rb
ADDED
@@ -0,0 +1,112 @@
|
|
1
|
+
module Rapsum # rap lyric faker!
|
2
|
+
|
3
|
+
@short_sentence_samples = [
|
4
|
+
|
5
|
+
# 7-11 - Beyonce
|
6
|
+
"Smack it in the air.",
|
7
|
+
"Spinnin' while my hands up.",
|
8
|
+
"Hold that cup like alcohol.",
|
9
|
+
# "This here like rolling dice.",
|
10
|
+
|
11
|
+
# Flawless - Beyonce
|
12
|
+
"#flawless.",
|
13
|
+
"I woke up like this.",
|
14
|
+
|
15
|
+
# Throw Sum Mo - Rae Srummond
|
16
|
+
"It's raining hunnids.",
|
17
|
+
"Throw some more.",
|
18
|
+
|
19
|
+
# Burial - Yogi
|
20
|
+
"Let's turn this bitch into a burial.",
|
21
|
+
"I came, I saw, I conquered, I balled.",
|
22
|
+
|
23
|
+
# Truffle Butter - Nicki Minaj
|
24
|
+
"I must a quarter milli on me right now.",
|
25
|
+
"New flow I got a dozen of them.",
|
26
|
+
"Talkin filets with the truffle butter.",
|
27
|
+
"I ain't gotta compete with a single soul.",
|
28
|
+
|
29
|
+
# Mercy - Kanye West
|
30
|
+
"Lamborghini mercy.",
|
31
|
+
|
32
|
+
# I Don't Fuck With You - Big Sean
|
33
|
+
"I don't fuck with you.",
|
34
|
+
"I just dodged a bullet from a crazy bitch.",
|
35
|
+
"She got a bird brain.",
|
36
|
+
|
37
|
+
# Started From The Bottom - Drake
|
38
|
+
"Started from the bottom now we here.",
|
39
|
+
|
40
|
+
# Who Do You Love - YG
|
41
|
+
"Better run like athletes.",
|
42
|
+
"I call my homies, not 911.",
|
43
|
+
"Bitch, who do you love?",
|
44
|
+
"We turnt up in the studio late night.",
|
45
|
+
|
46
|
+
# Swimming Pools - Kendrick Lamar
|
47
|
+
"Drank.",
|
48
|
+
"Some people like the way it feels.",
|
49
|
+
"Some people want to kill their sorrows.",
|
50
|
+
"Ima show you how to turn it up a notch.",
|
51
|
+
"Pool full of liquor and you dive in it.",
|
52
|
+
|
53
|
+
# Left Right - YG
|
54
|
+
"Left, left right.",
|
55
|
+
"Right",
|
56
|
+
|
57
|
+
]
|
58
|
+
|
59
|
+
@long_sentence_samples = [
|
60
|
+
|
61
|
+
# Ms. Holy Water - Luke Christopher
|
62
|
+
"Not to mention that the booty's almost better than the face.",
|
63
|
+
|
64
|
+
# I Don't Fuck With You - Big Sean
|
65
|
+
"I got a million trillion things I'd rather fucking do.",
|
66
|
+
"I got a bitch who text me she ain't got no clothes on.",
|
67
|
+
"I could be broke and keep a million dollar smile.",
|
68
|
+
|
69
|
+
# Started From The Bottom - Drake
|
70
|
+
"Story stay the same through the money and the fame.",
|
71
|
+
"Started from the bottom now the whole team here.",
|
72
|
+
|
73
|
+
# Who Do You Love - YG
|
74
|
+
"We turnt up in the studio late night, that's why the songs that you hear coming real tight.",
|
75
|
+
"A lot of fools putting salt in the game til these women get the notion that they running the game.",
|
76
|
+
"They got money that they jumping on the pole to make.",
|
77
|
+
"But I'm big on the west like I'm big in the south.",
|
78
|
+
"I would pinky swear but my pinky ring too big.",
|
79
|
+
|
80
|
+
|
81
|
+
]
|
82
|
+
|
83
|
+
|
84
|
+
# generate short sentences
|
85
|
+
def self.short_sentence
|
86
|
+
@short_sentence_samples.sample
|
87
|
+
end
|
88
|
+
|
89
|
+
|
90
|
+
# generate long sentences
|
91
|
+
def self.long_sentence
|
92
|
+
@long_sentence_samples.sample
|
93
|
+
end
|
94
|
+
|
95
|
+
|
96
|
+
# generate paragraphs
|
97
|
+
# between 7 and 15 sentences - rand short and long sentences
|
98
|
+
def self.paragraph
|
99
|
+
paragraph = []
|
100
|
+
rand(7..15).times do
|
101
|
+
paragraph << (@short_sentence_samples + @long_sentence_samples).sample
|
102
|
+
end
|
103
|
+
paragraph.join(' ')
|
104
|
+
end
|
105
|
+
|
106
|
+
end
|
107
|
+
|
108
|
+
puts Rapsum.short_sentence
|
109
|
+
puts '---'
|
110
|
+
puts Rapsum.long_sentence
|
111
|
+
puts '---'
|
112
|
+
puts Rapsum.paragraph
|
metadata
ADDED
@@ -0,0 +1,44 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: rapsum
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.1
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Victoria Chuang
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2015-03-10 00:00:00.000000000 Z
|
12
|
+
dependencies: []
|
13
|
+
description: A rap lyric faker
|
14
|
+
email: victoriachuang@gmail.com
|
15
|
+
executables: []
|
16
|
+
extensions: []
|
17
|
+
extra_rdoc_files: []
|
18
|
+
files:
|
19
|
+
- lib/rapsum.rb
|
20
|
+
homepage:
|
21
|
+
licenses:
|
22
|
+
- MIT
|
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.0.14
|
41
|
+
signing_key:
|
42
|
+
specification_version: 4
|
43
|
+
summary: Populate your files with rap lyrics
|
44
|
+
test_files: []
|