unswear 1.1 → 1.2
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 +8 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 087626971b8dd4f42ac46f5d17229241c1cb1c35
|
4
|
+
data.tar.gz: 2f22c1d22aad0a0e7130515c4ebda54b2a9d333a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 799f87a0a2ad5410a792e6885bcc047005b82359db68e306154119330207fd1b1f8e2a5d064b1d54ecbe04134376aae7e9959d6678c138a734c0969017984950
|
7
|
+
data.tar.gz: e0c50f63d56d2264d59e5c4c11d331bcf1e687166b15a24a27c8dfa3b24e539f6cd76b8adc0584ce464590c385e408869da2b82a10bf12018bdb02283549352d
|
data/lib/unswear.rb
CHANGED
@@ -1,9 +1,16 @@
|
|
1
1
|
class Unswear
|
2
2
|
def self.remove(input)
|
3
3
|
new = input.gsub("fuck", "f*ck")
|
4
|
-
new.gsub!
|
4
|
+
new.gsub!"cunt", "c*nt")
|
5
5
|
new.gsub!("shit", "sh*t")
|
6
6
|
new.gsub!("ass", "a*s")
|
7
|
+
new.gsub!("bitch", "b*tch")
|
8
|
+
new.gsub!("piss", "p*ss")
|
9
|
+
new.gsub!("bastard", "b*stard")
|
10
|
+
new.gsub!("fag", "f*g")
|
11
|
+
new.gsub!("cock", "c*ck")
|
12
|
+
new.gsub!("slut", "sl*t")
|
13
|
+
new.gsub!("pussy", "p*ssy")
|
7
14
|
puts "\"#{new}\""
|
8
15
|
end
|
9
16
|
end
|