unswear 1.8 → 1.9

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/unswear.rb +43 -38
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8c61480b8c6e9f7f6a37b087416218f254c48909
4
- data.tar.gz: 1504cf798f764211934260e6789c9236985c3b33
3
+ metadata.gz: b08f4f36645e87dabe7fabd83a1caed63211acb8
4
+ data.tar.gz: 4769c426a14389b08b3df6dfd94dfe9259c0016c
5
5
  SHA512:
6
- metadata.gz: 0d717dd56bddc3722bf7f9c000fca11dd554231bbb899d5f019ed3a331b5a69eed14cf1612c710a2d62046b9117257c476947066c60560c291fc7ed67b03e9f5
7
- data.tar.gz: 1022de4f26d80743ead7f978058b19a76c740bb5493a0a849e1939fdeed6684702fbcc14605e1b2b2da1f6006f12a1dffe98a4fb968113dfd718bfc7a2fdbf98
6
+ metadata.gz: 28379881f72ab43c7c6c70c6b219bf02147b67b25b29cbb6f6017fd3cdf8513998420b65f8b87ec21acbb80fd8af0c8e4866b753ffc4039a92c580d634ffef13
7
+ data.tar.gz: b3127bab19386b0b3db049d5fc1aa763bd7a4f1f44747c7cb83703c780810c1081b3095bfe9421c33b33210dddaf5bc9a38b0391ca9d920b036b095354b6ba89
data/lib/unswear.rb CHANGED
@@ -1,48 +1,48 @@
1
1
  class Unswear
2
- def self.censor(input)
3
- new = input
4
2
 
5
- curses = [
6
- "fuck", "fucking", "fucker", "fuckin" "nigger", "nigga", "cunt", "shit",
7
- "ass", "asshole", "bitch", "piss", "dick", "pussy", "pussay", "chink",
8
- "bastard", "fag", "faggot", "cock", "slut", "slutty", "sluttish", "whore",
9
- "whorish", "arse", "arsehole", "ass-jabber", "assjabber", "assbag",
10
- "assclown", "asscracker", "assface", "assfuck", "assfuck", "ass-nigger",
11
- "assfucker", "ass-fucker", "asshat", "ass-hat", "assnigger", "ass-pirate",
12
- "asspirate", "assshit", "ass-shit", "axwound", "beaner", "bitches",
13
- "bitchass", "bitch-ass", "blowjob", "blow-job", "bitchy", "bitchtits",
14
- "bollox", "boner", "brother-fucker", "brotherfucker", "butt-plug", "buttplug",
15
- "bullshit", "bull-shit", "bumblefuck", "buttfucker", "butt-fucker",
16
- "butt-fucka", "buttfucka", "camel-toe", "choad", "clit", "chinc",
17
- "chesticle", "clitface", "clit-face", "clit-fuck", "clitfuck", "cock-muncher".
18
- "cockass", "cock-ass", "cock-fucker", "cockfucker", "cockmuncher",
19
- "cockwaffle", "cock-waffle", "cracker", "cum", "cumguzzler", "cum-guzzler",
20
- "cooter", "cunt-face", "cuntface", "cuntslut", "cunt-slut", "dick-bag", "dickbag",
21
- "dago", "damn", "deggo", "dick-bag", "dickbag", "dickface", "dick-face", "dickhead",
22
- "dick-head", "dick-juice", "dickjuice", "dicks", "dickslap", "dick-slap", "dick-sucker",
23
- "dicksucker", "dickwad", "dick-wad", "douchebag", "dumbass", "dumb-ass", "dumb-fuck",
24
- "dumbfuck", "dumbshit", "dumb-shit", "dyke", "fatass", "flamer", "fuckbrain", "fuck-brain",
25
- "fucked", "fuckface", "fuck-face", "fuckoff", "fuck-off", "fucktard", "fuck-tard",
26
- "jackass", "jack-ass", "jap", "jigaboo", "jizz", "gaylord", "gay-lord", "goddamn",
27
- "goddamn", "goddamnit", "gook", "gooch", "gringo", "guido", "hard-on", "heeb", "hoe",
28
- "honkey", "hump", "humping", "kike", "koocher", "kooch", "kraut", "kunt", "kyke",
29
- "lameass", "lardass", "lame-ass", "lard-ass", "lesbo", "lezzie", "pecker", "pissed",
30
- "poon", "poontang", "poonany", "poonany", "prick", "pussies", "pussylicking", "puto",
31
- "mcfagget", "motherfucker", "motherfucking" "motherfuck", "niglet", "renob", "shitbreath",
32
- "shit-breath", "shitcunt", "shit-cunt", "shithead", "shit-head", "shitting", "shittiest",
33
- "queer", "rimjob", "ruski", "sandnigger", "schlong", "shitbrains", "shit-brains", "shitty",
34
- "skank", "skanky", "skankiest", "slutbag", "cumbag", "slut-bag", "cum-bag", "splooge",
35
- "tard", "retard", "tit", "titfuck", "tit-fuck", "tits", "titties", "twats", "twats", "unclefucker",
36
- "uncle-fucker", "va-j-j", "vag", "vajayjay", "vjayjay", "wank", "wank-job", "wankjob",
37
- "whorebag", "whore-bag", "wetback", "wet-back", "wop"
3
+ @curses = [
4
+ "fuck", "fucking", "fucker", "fuckin" "nigger", "nigga", "cunt", "shit",
5
+ "ass", "asshole", "bitch", "piss", "dick", "pussy", "pussay", "chink",
6
+ "bastard", "fag", "faggot", "cock", "slut", "slutty", "sluttish", "whore",
7
+ "whorish", "arse", "arsehole", "ass-jabber", "assjabber", "assbag",
8
+ "assclown", "asscracker", "assface", "assfuck", "assfuck", "ass-nigger",
9
+ "assfucker", "ass-fucker", "asshat", "ass-hat", "assnigger", "ass-pirate",
10
+ "asspirate", "assshit", "ass-shit", "axwound", "beaner", "bitches",
11
+ "bitchass", "bitch-ass", "blowjob", "blow-job", "bitchy", "bitchtits",
12
+ "bollox", "boner", "brother-fucker", "brotherfucker", "butt-plug", "buttplug",
13
+ "bullshit", "bull-shit", "bumblefuck", "buttfucker", "butt-fucker",
14
+ "butt-fucka", "buttfucka", "camel-toe", "choad", "clit", "chinc",
15
+ "chesticle", "clitface", "clit-face", "clit-fuck", "clitfuck", "cock-muncher",
16
+ "cockass", "cock-ass", "cock-fucker", "cockfucker", "cockmuncher",
17
+ "cockwaffle", "cock-waffle", "cracker", "cum", "cumguzzler", "cum-guzzler",
18
+ "cooter", "cunt-face", "cuntface", "cuntslut", "cunt-slut", "dick-bag", "dickbag",
19
+ "dago", "damn", "deggo", "dick-bag", "dickbag", "dickface", "dick-face", "dickhead",
20
+ "dick-head", "dick-juice", "dickjuice", "dicks", "dickslap", "dick-slap", "dick-sucker",
21
+ "dicksucker", "dickwad", "dick-wad", "douchebag", "dumbass", "dumb-ass", "dumb-fuck",
22
+ "dumbfuck", "dumbshit", "dumb-shit", "dyke", "fatass", "flamer", "fuckbrain", "fuck-brain",
23
+ "fucked", "fuckface", "fuck-face", "fuckoff", "fuck-off", "fucktard", "fuck-tard",
24
+ "jackass", "jack-ass", "jap", "jigaboo", "jizz", "gaylord", "gay-lord", "goddamn",
25
+ "goddamn", "goddamnit", "gook", "gooch", "gringo", "guido", "hard-on", "heeb", "hoe",
26
+ "honkey", "hump", "humping", "kike", "koocher", "kooch", "kraut", "kunt", "kyke",
27
+ "lameass", "lardass", "lame-ass", "lard-ass", "lesbo", "lezzie", "pecker", "pissed",
28
+ "poon", "poontang", "poonany", "poonany", "prick", "pussies", "pussylicking", "puto",
29
+ "mcfagget", "motherfucker", "motherfucking" "motherfuck", "niglet", "renob", "shitbreath",
30
+ "shit-breath", "shitcunt", "shit-cunt", "shithead", "shit-head", "shitting", "shittiest",
31
+ "queer", "rimjob", "ruski", "sandnigger", "schlong", "shitbrains", "shit-brains", "shitty",
32
+ "skank", "skanky", "skankiest", "slutbag", "cumbag", "slut-bag", "cum-bag", "splooge",
33
+ "tard", "retard", "tit", "titfuck", "tit-fuck", "tits", "titties", "twats", "twats", "unclefucker",
34
+ "uncle-fucker", "va-j-j", "vag", "vajayjay", "vjayjay", "wank", "wank-job", "wankjob",
35
+ "whorebag", "whore-bag", "wetback", "wet-back", "wop"
38
36
 
39
- ]
37
+ ]
40
38
 
39
+ def self.censor(input)
40
+ new = input
41
41
  new = new.split " "
42
42
  # do some magic
43
43
  new.count.times do |i|
44
- curses.count.times do |c|
45
- if new[i] == curses[c]
44
+ @curses.count.times do |c|
45
+ if new[i] == @curses[c]
46
46
  new[i].gsub! "a", "*"
47
47
  new[i].gsub! "e", "*"
48
48
  new[i].gsub! "i", "*"
@@ -56,4 +56,9 @@ class Unswear
56
56
  #finally return new
57
57
  puts new
58
58
  end
59
+ def self.list
60
+ @curses.count.times do |m|
61
+ puts @curses[m]
62
+ end
63
+ end
59
64
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: unswear
3
3
  version: !ruby/object:Gem::Version
4
- version: '1.8'
4
+ version: '1.9'
5
5
  platform: ruby
6
6
  authors:
7
7
  - Josh