unswear 1.2 → 1.4
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 -3
- 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: 993350ff3fefb68e1ff41f7735ca5b748e53abc3
|
4
|
+
data.tar.gz: 9c955e36480230e4bbff1cfa0a6a6779d124cf34
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fc5113a0b4d37ad2213892297f8c96ff23ea52ecd500f64a0f61284c80c9a5d90873b71152fba6844d9a8d71d5aaed184c7e9e68be02ebb32d5672652cef5698
|
7
|
+
data.tar.gz: 3e7952b561bf057642af2ca98507473728569ce3df09fe30faee5ada22449a71b122b27bfd75c63fdebb0debc944862224414920d59a6bafeecb3a7ebed4abc0
|
data/lib/unswear.rb
CHANGED
@@ -1,7 +1,8 @@
|
|
1
1
|
class Unswear
|
2
2
|
def self.remove(input)
|
3
|
-
new = input
|
4
|
-
new.gsub!"
|
3
|
+
new = input
|
4
|
+
new.gsub!("fuck", "f*ck")
|
5
|
+
new.gsub!("cunt", "c*nt")
|
5
6
|
new.gsub!("shit", "sh*t")
|
6
7
|
new.gsub!("ass", "a*s")
|
7
8
|
new.gsub!("bitch", "b*tch")
|
@@ -11,6 +12,10 @@ class Unswear
|
|
11
12
|
new.gsub!("cock", "c*ck")
|
12
13
|
new.gsub!("slut", "sl*t")
|
13
14
|
new.gsub!("pussy", "p*ssy")
|
14
|
-
|
15
|
+
new.gsub!("dick", "d*ck")
|
16
|
+
new.gsub!("nigger", "n*gger")
|
17
|
+
new.gsub!("nigga", "n*gga")
|
18
|
+
#finally return new
|
19
|
+
new
|
15
20
|
end
|
16
21
|
end
|