unswear 1.2 → 1.4

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 +8 -3
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 087626971b8dd4f42ac46f5d17229241c1cb1c35
4
- data.tar.gz: 2f22c1d22aad0a0e7130515c4ebda54b2a9d333a
3
+ metadata.gz: 993350ff3fefb68e1ff41f7735ca5b748e53abc3
4
+ data.tar.gz: 9c955e36480230e4bbff1cfa0a6a6779d124cf34
5
5
  SHA512:
6
- metadata.gz: 799f87a0a2ad5410a792e6885bcc047005b82359db68e306154119330207fd1b1f8e2a5d064b1d54ecbe04134376aae7e9959d6678c138a734c0969017984950
7
- data.tar.gz: e0c50f63d56d2264d59e5c4c11d331bcf1e687166b15a24a27c8dfa3b24e539f6cd76b8adc0584ce464590c385e408869da2b82a10bf12018bdb02283549352d
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.gsub("fuck", "f*ck")
4
- new.gsub!"cunt", "c*nt")
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
- puts "\"#{new}\""
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
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.2'
4
+ version: '1.4'
5
5
  platform: ruby
6
6
  authors:
7
7
  - Josh