unswear 2.2 → 3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/unswear.rb +67 -56
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7794dbde85b47f403e7201f21871b47e68cee3b0
|
4
|
+
data.tar.gz: bb2bef63faf7004bb7b6ee8624afd008565e7e9d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c13bf59b4d0930d8094b8a48c0b1deb2e56c174052ae306207d8a51f9b51d526d7d2c26de7086fb35ab8be3d280e07273935f5022e56eb7057d4c969fdb343ab
|
7
|
+
data.tar.gz: 9d37e82dd991bb948fc78a5cbe2fc2677bcf997cfec30f75cd53fd8acbb02f7a8f352d23b3cb5763464151df0015754372bb4d656e5cff4f8a934ea996a183f7
|
data/lib/unswear.rb
CHANGED
@@ -1,70 +1,81 @@
|
|
1
|
-
|
1
|
+
VERSION = '3.0'
|
2
2
|
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
3
|
+
$curses = %w(
|
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
|
36
|
+
)
|
37
37
|
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
38
|
+
|
39
|
+
class String
|
40
|
+
|
41
|
+
def censor
|
42
|
+
new = self
|
43
|
+
new = new.split " "
|
44
|
+
# do some magic
|
45
|
+
new.count.times do |i|
|
46
|
+
$curses.count.times do |c|
|
47
|
+
if new[i] == $curses[c]
|
48
|
+
new[i].gsub! "a", "*"
|
49
|
+
new[i].gsub! "e", "*"
|
50
|
+
new[i].gsub! "i", "*"
|
51
|
+
new[i].gsub! "o", "*"
|
52
|
+
new[i].gsub! "u", "*"
|
51
53
|
end
|
52
54
|
end
|
53
|
-
new = new.join(",")
|
54
|
-
new.gsub! ",", " "
|
55
|
-
#finally return new
|
56
|
-
puts new
|
57
55
|
end
|
56
|
+
new = new.join(",")
|
57
|
+
new.gsub! ",", " "
|
58
|
+
#finally return new
|
59
|
+
puts new
|
60
|
+
end
|
61
|
+
end
|
62
|
+
|
63
|
+
class Unswear
|
58
64
|
|
59
65
|
def self.list(x=0)
|
60
66
|
unless x != 0
|
61
|
-
puts
|
67
|
+
puts $curses.sort_by(&:downcase).uniq
|
62
68
|
else
|
63
|
-
|
64
|
-
if
|
65
|
-
puts
|
69
|
+
$curses.count.times do |m|
|
70
|
+
if $curses[m][0] == x
|
71
|
+
puts $curses[m]
|
66
72
|
end
|
67
73
|
end
|
68
74
|
end
|
69
75
|
end
|
76
|
+
|
77
|
+
def self.version
|
78
|
+
puts "unswear v#{VERSION}"
|
79
|
+
end
|
80
|
+
|
70
81
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: unswear
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: '
|
4
|
+
version: '3.0'
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Josh
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-04
|
11
|
+
date: 2014-05-04 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: Censor swear words in a string
|
14
14
|
email: joshception@icloud.com
|